Fix the gates the #116 commit skipped past
Some checks failed
CD / Build and push images (push) Successful in 2m53s
CD / Deploy to Test (push) Successful in 9s
CD / Smoke tests against Test (push) Successful in 1m11s
CI / Lint, typecheck, test (push) Failing after 4m22s
CI / Auth e2e pack (push) Has been skipped
CI / Import/export fidelity gate (push) Has been skipped
CI / Build container images (push) Has been skipped
CD / Promote to Int (push) Successful in 11s

The asset type lost its name field during the split into path+extension
(tsc error), and the fixture's .obsidian/app.json needed Prettier's
formatting. Lesson from the /srv move repeated within one day: the gate
chain must gate — never '; echo' past a failing typecheck.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Claude Fable 5 2026-07-14 16:53:11 +02:00
parent 09abda3ada
commit 269b36c761
2 changed files with 2 additions and 2 deletions

View File

@ -375,7 +375,7 @@ export function rewriteLinks(markdown: string, resolver: LinkResolver): Rewritte
return `![${alt}](${ASSET_PLACEHOLDER_PREFIX}${asset.path})`; return `![${alt}](${ASSET_PLACEHOLDER_PREFIX}${asset.path})`;
} }
attachmentAssets.add(asset.path); attachmentAssets.add(asset.path);
return `*${alt || asset.name}*`; return `*${alt || asset.path.split('/').pop()!}*`;
}); });
// Plain wikilinks. // Plain wikilinks.
out = out.replace(/\[\[([^[\]\n]+)\]\]/g, (_whole, inner: string) => { out = out.replace(/\[\[([^[\]\n]+)\]\]/g, (_whole, inner: string) => {