Commit bfaa95b
fix(bootstrap): Solaris's digest -a sha256 was missing from the hasher chain
CI run 35535250926, tjs-slow / leg (solaris-amd64, ...) failed: none of
sha256sum/shasum/sha256/openssl/cksum exist there, so pick_hasher refused
and the leg died loudly (correctly — an unverified engine must never be
used). omnios and openindiana, both illumos, passed on the same run, so
this is specific to the Oracle Solaris guest, not illumos generally.
Add try_hasher 'digest -a sha256' to the chain, same KAT as every other
hasher. Solaris's digest -a sha256 <file> prints the bare hex digest with
no filename, which the existing extractor already handles, so no change
to hash_file's parsing was needed.
RED reproduced first: test/bootstrap-engine.test.cjs now shadows all five
already-known hashers with exit-1 stubs and adds a stub digest, proving
the resolver refused before this change (byte-for-byte the CI failure
text) and resolves after it.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BVks4skLBgHSDcjnQ4kHz61 parent ee5c5e3 commit bfaa95b
2 files changed
Lines changed: 32 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| |||
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
255 | | - | |
| 256 | + | |
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
678 | 707 | | |
679 | 708 | | |
680 | 709 | | |
| |||
0 commit comments