Issue 455
bug: The knip check fails at random on Node 20
Back to our planDone
bugcipriority: medium
Summary
The Unused code (knip) check fails at random: on Node 20, which the job uses, knip exits with code 13 (a top-level await that never settled) in about two runs out of three, on code that has no findings. It failed on main at ab599a4 and on #449.
Details
- Reproduced locally on the same tree: Node 20.20.2 gave exit codes 13, 13, 0; Node 22.23.4 gave 0 six times out of six.
- knip 6.43.0 supports both (
engines:^20.19.0 || >=22.12.0), so this is a runtime bug, not our config. - The intelligence job in the same workflow already runs on Node 22.
Acceptance criteria
- Not done: The knip job runs on Node 22.
- Not done: It passes on this PR and on
mainafter the merge.
Generated by Claude Code, opens in a new tab