You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: the main-process sync-launch ratchet check crashes on main (stale imports after #27788) #28052
Short summary: pnpm run check:main-sync-spawn-ratchet throws on import on current main. That also fails audit:code-quality:native, pnpm lint, and the "Check main-process sync launches" step in pr.yml.
What happened?
$ node config/scripts/check-main-sync-spawn-ratchet.mjs
SyntaxError: The requested module './check-focus-read-ratchet.mjs' does not provide an export named 'diffCounts'
The script (#27756) imports diffCounts, formatBaseline, parseBaseline and parseBaselineNotes from check-focus-read-ratchet.mjs. #27788 had already moved those helpers into ratchet-baseline.mjs (as diffCounts, formatCountBaseline, parseCountBaseline, parseCountNotes) about twelve hours earlier, so the two PRs crossed.
I ran into this while running the PR checks locally for #28044. I have a small fix ready and will open a PR right after this: the imports, the script's own --prune, and the two missing rows in a separate commit in case you'd rather convert those two launches to runProcess instead.
Activity
AmethystLiang commentedon Oct 12, 2026
Thanks for reporting. Looking into it