improve traditional cv #105
ci.yml
on: pull_request
Build & Lint & TypeCheck & Test
47s
Annotations
5 errors
|
Build & Lint & TypeCheck & Test
Process completed with exit code 1.
|
|
src/routes/cv/traditional/load.test.ts > +page.server.ts load() > maps entry to correct shape (slug, company, role, duration, description, skills):
src/routes/cv/traditional/load.test.ts#L55
AssertionError: expected { slug: 'test-entry', …(6) } to deeply equal { slug: 'test-entry', …(5) }
- Expected
+ Received
@@ -1,9 +1,10 @@
{
"company": "Test Corp",
"description": "Did stuff",
"duration": "1 year",
+ "jobRole": "",
"role": "Engineer",
"skills": [
"TypeScript",
],
"slug": "test-entry",
❯ src/routes/cv/traditional/load.test.ts:55:19
|
|
src/lib/server/prompts.test.ts > prompts > getToolSystemPrompt > macula only matches snapshot:
src/lib/server/prompts.test.ts#L48
Error: Snapshot `prompts > getToolSystemPrompt > macula only matches snapshot 1` mismatched
- Expected
+ Received
@@ -16,11 +16,11 @@
- License search: traverse(from={type:"license", license:"<name>"}, edge="has_license") e.g. cc-by, cc-0.
- Discover: traverse(root→random) random sampling, traverse(root→recent) newest uploads.
- Paginate: pass after cursor from previous response to get next page. after=null = no more.
- Display: rawDataUrl for src. htmlPageUrl for page link. buyPageUrl for purchase.
- Extra metadata: get_file(unifiedId).
- - User avatar is always available on https://u.macula.link/kPT78FuvSm2Y_3BQHPApYg-7?preset=sys_md,
+ - User avatar is always available on https://u.macula.link/@woss/avatar,
CRITICAL — NEVER fabricate URLs or unifiedIds:
- rawDataUrl values MUST come directly from traverse or get_file output. NEVER construct, guess, or generate rawDataUrl values from memory or patterns.
- The rawDataUrl from tool output IS the complete URL. Do NOT decompose it, memorize the URL format pattern, or re-construct a URL from a unifiedId. Using a unifiedId to hand-craft a URL is hallucination and produces broken links.
- CRITICAL — unifiedIds must be real: Every unifiedId used in a response MUST be present verbatim in traverse or get_file output. Never invent, guess, or fabricate a unifiedId — non-existent IDs produce broken image links.
❯ src/lib/server/prompts.test.ts:48:54
|
|
src/lib/server/prompts.test.ts > prompts > getToolSystemPrompt > default (both true) matches snapshot:
src/lib/server/prompts.test.ts#L40
Error: Snapshot `prompts > getToolSystemPrompt > default (both true) matches snapshot 1` mismatched
- Expected
+ Received
@@ -32,11 +32,11 @@
- License search: traverse(from={type:"license", license:"<name>"}, edge="has_license") e.g. cc-by, cc-0.
- Discover: traverse(root→random) random sampling, traverse(root→recent) newest uploads.
- Paginate: pass after cursor from previous response to get next page. after=null = no more.
- Display: rawDataUrl for src. htmlPageUrl for page link. buyPageUrl for purchase.
- Extra metadata: get_file(unifiedId).
- - User avatar is always available on https://u.macula.link/kPT78FuvSm2Y_3BQHPApYg-7?preset=sys_md,
+ - User avatar is always available on https://u.macula.link/@woss/avatar,
CRITICAL — NEVER fabricate URLs or unifiedIds:
- rawDataUrl values MUST come directly from traverse or get_file output. NEVER construct, guess, or generate rawDataUrl values from memory or patterns.
- The rawDataUrl from tool output IS the complete URL. Do NOT decompose it, memorize the URL format pattern, or re-construct a URL from a unifiedId. Using a unifiedId to hand-craft a URL is hallucination and produces broken links.
- CRITICAL — unifiedIds must be real: Every unifiedId used in a response MUST be present verbatim in traverse or get_file output. Never invent, guess, or fabricate a unifiedId — non-existent IDs produce broken image links.
❯ src/lib/server/prompts.test.ts:40:37
|
|
Build & Lint & TypeCheck & Test
test: command (/home/runner/work/woss.io/woss.io/) /home/runner/.local/share/pnpm/store/v11/links/@/pnpm/11.1.2/fb2d62b729a550daca9ff8e4dac61c377022c80197b1fe1efc02760a84d2dce0/bin/pnpm run test exited (1)
|