Skip to content

docs(install): make the prebuilt-archive verify step work on stock macOS - #8390

Merged
EffortlessSteven merged 1 commit into
mainfrom
claude/macos-portable-checksum-install-docs
Oct 17, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
claude/macos-portable-checksum-install-docs

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

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 ships shasum, not sha256sum, 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

  • Verify step becomes { sha256sum -c - || shasum -a 256 -c -; } (same fallback shape init_workflow.rs already uses). Checked on Linux: match returns 0 with OK, mismatch returns 1.
  • Both docs name aarch64-apple-darwin / x86_64-apple-darwin.
  • New contract test prebuilt_install_block_verifies_on_macos in xtask/tests/ripr_public_guide_contract.rs. Negative control: base README/QUICKSTART contain 0 occurrences of shasum and apple-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.
  • Not verified: behavior on a real Mac (no mac box).

Generated by Claude Code

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
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 61 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 11cdf18f-f22f-4551-8364-2de488458004
📥 Commits

Reviewing files that changed from the base of the PR and between e2cb5a9 and 2db93b5.

📒 Files selected for processing: 3
  • README.md
  • docs/QUICKSTART.md
  • xtask/tests/ripr_public_guide_contract.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven
EffortlessSteven merged commit 5976599 into main Oct 17, 2026
33 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/macos-portable-checksum-install-docs branch October 17, 2026 06:01
EffortlessSteven pushed a commit that referenced this pull request Oct 17, 2026
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants