Dashboard › craft › publish-issue-title parser --check fres…
01a04d84-cbe7-7306-b830-81d2c031d0cc| Project | Hits | Last recalled |
|---|---|---|
| opencode-lore | 1 | 22h ago |
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.