Repository navigation
Commit 32e88de
fix(naude): the self-check must not call a timeout a crash
Seen while proving the new attest gate: on a box merely busy with another
build, `build-naude.mjs`'s own self-check printed
naude self-check FAILED (crashed with SIGTERM): ... did not boot the baked bundle
spawnSync reports a TIMEOUT kill as `signal: 'SIGTERM'` with `error.code
ETIMEDOUT`, and the old wording collapsed the two — sending a reader hunting
for the stripped-node SIGSEGV the very next lines describe, for a binary that
was fine and merely slow. A naude's FIRST boot untars ~12MB of deps and writes
a ~50MB cli.cjs before it can print anything.
Now it names which one happened, and the 120s budget honours
CLODE_TIMEOUT_SCALE — the same knob clode-fuse.cjs's SCALE already reads.
Same class as killed-is-not-exit-zero: a diagnostic that misnames the failure
costs more than no diagnostic.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WMm6zrQy4L7zQYRD1esZko1 parent 41d9831 commit 32e88de
1 file changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
491 | 496 | | |
492 | 497 | | |
493 | 498 | | |
494 | 499 | | |
495 | | - | |
| 500 | + | |
496 | 501 | | |
497 | 502 | | |
498 | 503 | | |
499 | | - | |
500 | | - | |
501 | | - | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
502 | 516 | | |
503 | 517 | | |
504 | 518 | | |
| |||
0 commit comments