Dashboardcraftpublish-issue-title parser --check fres…

publish-issue-title parser --check freshness

Category: gotcha
Confidence: 0.70
ID: 01a04d84-cbe7-7306-b830-81d2c031d0cc
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 1
Source session: 1bwAST7ENFvDRuqqJ
Created: 2026-08-29 09:51:23
Updated: 2026-08-29 12:35:43

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 1 22h ago

Content

Trap: generating publish-issue-title.js before tests looks sufficient because tests execute fresh local code, but production loads the committed generated parser and a stale file can be committed. Fix: scripts/generate-publish-issue-title-parser.js --check regenerates, Prettier-formats, and byte-compares the parser; yarn test must run yarn check:generated first and fail with instructions to run yarn generate. Chose CI-enforced byte comparison over manual worktree inspection because it reliably gates every test run.

Move to: