Repository navigation
docs(install): make the prebuilt-archive verify step work on stock macOS - #8390
Conversation
The README and QUICKSTART install blocks verify the download with sha256sum -c, which stock macOS does not ship (it has shasum), although both pages tell macOS users the release has their archives. Fall back to shasum -a 256 -c, name the two Darwin target triples, and pin both in the public-guide contract test. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011u7sYkM7nhswMErcpVoBPt
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 21 minutes. View limit details
Comment |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Keep the per-platform snippets; align the unix verify step with the shasum fallback pinned by #8390. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PLWWCB68iQKMdbDBduEnbv
Requested by Steven · project thread
Gap
README.md and docs/QUICKSTART.md tell macOS users the release has their archives, but the copy-paste block verifies with
sha256sum -c -. Stock macOS shipsshasum, notsha256sum, so the block fails before extraction. (The CI macOS runners have GNU coreutils, which is why server-archive-qualification passes there; that does not cover a user's Mac.) The Windows/Linux-only wording also never named the Darwin triples.Change
{ sha256sum -c - || shasum -a 256 -c -; }(same fallback shapeinit_workflow.rsalready uses). Checked on Linux: match returns 0 withOK, mismatch returns 1.aarch64-apple-darwin/x86_64-apple-darwin.prebuilt_install_block_verifies_on_macosinxtask/tests/ripr_public_guide_contract.rs. Negative control: base README/QUICKSTART contain 0 occurrences ofshasumandapple-darwin, so the test fails there.Proof / gaps
cargo test -p xtask --test ripr_public_guide_contract: new test passes (other tests in the file failed only because the shared host disk filled, ENOSPC).cargo xtask precommit: static-language, no-panic-family, allow-attributes, local-context pass; stopped at ENOSPC compiling xtask tests. Infrastructure failure, not source failure; hosted CI is the remaining proof.Generated by Claude Code