Repository navigation
perf(dev): use the minimal pinned contributor toolchain - #8220
Conversation
|
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 54 minutes. View limit details
Comment |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Author-posted handoff of an independently performed candidate inspection; not an author approval or merge-readiness attestation.
Reviewed head: 3e764fe03ddb6995d39fb8bf93ae7413467cce13; inspection/proof basis: d08c77d144c016078364fcc1fcf2fa593d21cefc. Independent review completed before branch push and Draft opening. Full three-file diff, #8211, toolchain consumers, contributor docs, changelog and raw setup receipts were inspected. No actionable source or contract finding.
The independent alternate directly generated docs and compiled a tiny unrelated library using the retained minimal toolchain while checking rust-docs and local standard-library HTML were absent. Both commands exited 0. Its raw stdout was not retained; the independent record states the retention limit. Fresh candidate producer-to-consumer controls separately have raw logs: five installed components, required compiler/rustfmt/Clippy retained, documented policy check, one selected test passed/76 filtered, package docs before rust-docs, then explicit standard-library HTML opt-in. All native 0.
Later terminal author verification: exact-head check-fast passed with stable three-path selector; precommit passed, including strict workspace/all-target Clippy, no skips/limitations. Its canonical digest and complete change set were independently recomputed from the actual receipt. Original 796 MiB installed-footprint observation and self-update harness failure remain preserved, without a speedup/network-byte claim.
Publication readback: open Draft, exact head confirmed, mergeable reported true. Observed current main e660a99480dc13a4ed93b131042d11506fd484b6 adds #8161/#8164 after the frozen proof basis. Diff inspection found no change to rust-toolchain.toml, CONTRIBUTING.md, Cargo.toml/Cargo.lock, .cargo/config.toml or precommit_v2. No combined-tree execution is claimed and no behind-only restack was performed.
Disposition: REVIEW_INCOMPLETE for published-head hosted/integration qualification. Source candidate inspection is complete without a blocking finding. Keep Draft; parent owns subsequent qualification and any Ready transition. Initial remote inventory has no submitted reviews or inline threads; a CodeRabbit status is not substantive review or required-check clearance. No manual hosted dispatch, Ready, merge or release action was performed.
Independent record SHA-256 9dfa3b4561a8dc7d7383405db2797e3a93462ae587127292e5fad5408371a49d; restored 95-hash evidence packet SHA-256 8cb2dfa0342a287387ff3ca9c4e26de3f199ecd023bf21d7da3ced88b7122af5. Executor-local artifact paths in the PR body are locators, not uploaded custody.
|
Independent source review and Ready-admission disposition, 2026-10-16. Reviewer: internal agent Reviewed exact head Scope completed: full three-file diff (rust-toolchain.toml, CONTRIBUTING.md, changelog); policy build.rs/source_identity.rs invalidation; precommit_v2 workspace impact/Clippy selection; toolchain-path safety parsing; Cargo input identity; CI/routed Rust/doctest and wheel consumers; separate Zed pin; repository searches for rust-docs, rustup doc, doc/rust, cargo doc and toolchain consumers. No actionable source/contract finding or unresolved substantive requirement within this assignment. The exact 1.95.0 pin and explicit rustfmt/Clippy components are preserved. Minimal supplies compiler/Cargo/std and the components remain additive. Rustdoc belongs to rustc; rust-docs is optional prebuilt HTML, so package docs and doctests retain their executable. The documented online Runtime proof is attributed to the owner and handoff 5543753174: fresh-home five-component installation with rust-docs absent; compiler/policy/scoped test success (1 passed,76 filtered); offline package-doc generation before explicit rust-docs opt-in; exact-head check-fast and precommit including workspace/all-target Clippy. Those controls address this installation-default claim. The 796 MiB observation is installed footprint, with no paired latency/network saving claim. I did not execute these controls or audit the executor-local raw packet; this is independent source review complementing attributed owner execution. Search-index results are not an exhaustive filesystem scan. No Windows/macOS or full workspace runtime claim. Admission readback: unchanged Draft head, no inline review threads, provider quota notices are missing provider review rather than clean reviews, and no existing Routed Rust Small run. No material finding or known applicable required-gate blocker identified. Required context remains |
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- Docs-only + toolchain-config change ships with zero new automated assertions; trust rests on author receipts. CI intentionally does not pin
profile, so a future revert ofprofile = "minimal"(e.g., to default/full) would not be caught by the test suite or precommit. Consider an optional xtask/CI smoke that assertsrustup component list --installedexcludes rust-docs while keeping rustfmt+clippy, or that the resolved toolchain.toml profile isminimal.
Verification questions
- Confirm author's
cargo test --locked --offlineran 1 test in repo-policy with 76 filtered; the new profile=minimal behavior is not covered by any new/updated automated test, so the proof-of-behavior is entirely the author's hand-rolled receipts, not the suite. - Confirm rust-docs opt-in via 'rustup component add rust-docs' is documented; cargo doc still works for package docs.
Refuted
- CONTRIBUTING change could inadvertently remove or replace existing toolchain setup guidance rather than extending it; refuted because: Diff extends the existing step 1 paragraph with additional sentences about the minimal profile, cargo doc availability, and offline rust-docs opt-in. No deletion of prior guidance (rustup, version pin, rustfmt/clippy mention, auto-pickup behavior).
- Switching from default to minimal could break precommit's documented full workspace Clippy, since minimal profile omits clippy at rustup-install time and only the components=[rustfmt,clippy] line keeps it.; refuted because: components=[rustfmt,clippy] pins both components explicitly regardless of profile. Profile only affects which optional components rustup auto-adds; it does not remove explicitly listed ones. Body itself states toolchain file is treated as workspace-wide Rust control surface.
Parked follow-ups
- Proof claim of 'no deliberate prebuilt-HTML consumer found' is asserted but not independently re-verified by this lane. This is an architecture-boundary claim worth a focused grep witness if a merge gate is desired.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
There was a problem hiding this comment.
Confirmed findings
- Author's tooling receipts are single-host, single-OS; no Windows/macOS qualification. Profile=minimal behavior on rustup 1.29.x may differ on older or non-Linux platforms; CI runs only the documented commands, none of which are cross-platform.
- rust-toolchain.toml profile field lacks an in-repo assertion; relies on contributor experience and author receipts. CONTRIBUTING correctly documents rustup component add rust-docs opt-in and that cargo doc still works for package docs, so functional correctness is not at risk, but regression guard is absent.
Verification questions
- Confirm author's claim that 'rustfmt and clippy' retention is verified rests on hand receipt only, not a repo-resident test that future toolchain bumps keep them.
- Confirm author hand-rolled all proof; no automated test pins profile=minimal so a future revert to default is silent regression (matches github-actions[bot] confirmed finding).
- Confirm author receipts are the sole proof-of-behavior; no in-suite assertion covers the minimal-profile behavior. Author's scoped test (1 passed/76 filtered) predates this change and does not exercise profile semantics.
- Confirm no test distinguishes pre-change (default profile installs rust-docs) from post-change (profile=minimal skips rust-docs); CI never pins profile so a future revert to default passes silently.
- Confirm precommit treats rust-toolchain.toml as workspace-wide Rust control surface but does not assert profile field; this is the natural seam for an automated guard.
Refuted
- CONTRIBUTING change could inadvertently remove or replace existing toolchain setup guidance.; refuted because: Diff extends the existing step 1 paragraph with additional sentences about minimal profile and rust-docs opt-in; original guidance about rustup auto-pickup and pinned components is preserved verbatim (only spacing/line-wrap changes).
- The repo-policy test that author ran proves profile=minimal behaves correctly; refuted because: Test name targets workflow_run extraction semantics; it does not read rust-toolchain.toml or invoke rustup. Pass/fail is independent of profile value.
- Diff might duplicate toolchain logic in CONTRIBUTING or scripts rather than centralizing; refuted because: All toolchain selection lives in rust-toolchain.toml; CONTRIBUTING only documents behavior; no helper/script introduced or duplicated the profile decision.
Evidence gaps
- No automated test or CI guard pins profile=minimal; a future revert to default/full would not be caught by suite or precommit (github-actions bot flagged this).
- Model proof intent was rejected by deterministic validation.
|
Merged origin/main (clean, no conflicts) and pushed as fast-forward. Local: cargo fmt --check, check-static-language, check-no-panic-family, check-allow-attributes, check-local-context pass. Remaining precommit gates (check-covered-by onward, clippy) NOT established locally: check-covered-by hit its instrument timeout (cargo artifact-lock starvation on the shared target dir; infrastructure, not source). Review: single-author source read of the full diff, not an independent subagent pass; no findings. Hosted exact-head checks are the remaining proof. Change: rust-toolchain.toml minimal profile + docs. Generated by Claude Code |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm no in-repo test pins profile=minimal; a future revert to default is silent (matches prior review). Behavior proof rests on author hand-rolled receipts.
- Confirm author's scoped test (1 passed/76 filtered) is workflow_tests::workflow_run_extraction_handles_step_shorthand_and_blocks; it predates this PR and does not exercise profile semantics.
- Confirm github-actions[bot] finding that no in-repo assertion pins profile=minimal and a future revert to default/full would be a silent regression is a real source-route gap: the diff creates a behavioral contract enforced only by contributor experience and author receipts, with no public test surface to detect a revert.
Refuted
- The minimal profile could omit rustfmt or clippy by side-effect, breaking the CONTRIBUTING contract and any precommit Clippy pass.; refuted because: rust-toolchain.toml components=[rustfmt,clippy] is unchanged byte-for-byte; profile=minimal only affects optional/extra components (rust-docs, rust-src, etc.), not explicitly-listed components. Author receipt confirms 5 components installed excluding rust-docs, and seeded github-actions[bot] confirms 'rustfmt+clippy' retention is not at risk.
Evidence gaps
- CI and precommit do not assert profile=minimal or installed-component set; future silent revert to default/full would not be caught by automated tests.
- Model proof intent was rejected by deterministic validation.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- CONTRIBUTING.md:11 — CONTRIBUTING step 1 mentions
rustup component add rust-docsfor offline stdlib docs, but does not state the corresponding fresh-toolchain footprint expectation. Optional: note that the minimal profile saves ~796 MiB of prebuilt HTML to align with PR claim.
Verification questions
- Confirm no diff-side test change exists; proof of profile=minimal behavior rests on author hand-rolled receipts only. Future revert to default/full would be a silent regression (no suite guard).
- Confirm profile=minimal + components=[rustfmt,clippy] leaves rustfmt/clippy retention unenforced by any in-repo test; revert-to-default would be silent.
- Confirm silent-revert source-route gap: no in-repo assertion pins profile=minimal; future revert to default is undetected by tests/precommit.
- Confirm author admits alternate reviewer retained only exit codes, not raw stdout, for the independent minimal-toolchain compile check. Hosted exact-head proof is still missing; reviewer cannot independently reproduce receipts.
- Confirm cross-platform qualification gap: author receipts are Linux x86_64 only; profile=minimal behavior on Windows/macOS or different rustup releases is not proven.
Refuted
- Diff removes/replaces existing toolchain setup guidance.; refuted because: Diff extends step 1 paragraph additively; original 'picks it up automatically' wording retained.
- profile=minimal silently removes rustfmt or clippy, breaking precommit Clippy and the CONTRIBUTING contract; refuted because: rust-toolchain.toml
components = ["rustfmt", "clippy"]is byte-for-byte unchanged; rustup semantics guarantee explicitly-listed components are installed regardless of profile (minimal only filters optional/extra components like rust-docs, rust-src). Author receipt confirms 5 components installed including rustfmt/clippy with rust-docs excluded.
Test proof
- Focused HEAD proof failed (exit 101):
cargo test --locked --package repo-policy --test workflow_tests workflow_tests::workflow_run_extraction_handles_step_shorthand_and_blocks. This is a current failure, not a red/green witness.
Evidence gaps
- Author's scoped test (1 passed/76 filtered) is workflow_tests::workflow_run_extraction_handles_step_shorthand_and_blocks; predates this PR and does not exercise profile=minimal. Hand receipts are sole proof-of-behavior.
- Model proof intent was rejected by deterministic validation.
Summary
Fresh contributor toolchain setup installs optional Rust HTML documentation before the first scoped check. Select the minimal installation profile while retaining Rust 1.95.0, rustfmt and Clippy. CONTRIBUTING explains that
cargo docstill generates package documentation and givesrustup component add rust-docsfor offline standard-library HTML.Closes #8211.
Swarm / Source Boundary
EffortlessMetrics/ripr-swarmThree files; no workflow, release/publication, dependency, product-analysis or access change. #8174 fixture preparation and existing first-run help work remain separate.
Source-of-truth Links
Governing claim: #8211. Contributor setup contract: CONTRIBUTING.md. No new product spec, ADR, schema or support tier.
Candidate Relationships
Branch
codex/minimal-toolchain-profile; head3e764fe03ddb6995d39fb8bf93ae7413467cce13, treedb8d780bfc5ec4542f9cc9b7ea8c5a654b3627a1, based08c77d144c016078364fcc1fcf2fa593d21cefc. No stack or replacement. Current-main and all-state issue/PR searches found no equivalent setup-profile owner. Historical #4734 concerns unintended installs by analyzer probes and remains separate.Scope Classification
Production delta:
profile = "minimal"in the existing toolchain pin. Required channel/components are byte-for-byte unchanged. Supporting delta: contributor opt-in explanation andchangelog.d/8211-minimal-contributor-toolchain.md.Acceptance: fresh resolution excludes prebuilt HTML docs, required components still work, package documentation generation remains available, and offline standard-library docs remain an explicit opt-in. Rollback all three files together.
Support-tier / Policy Impact
No analyzer/support-tier change or policy relaxation. Existing precommit correctly treats the toolchain file as a workspace-wide Rust control surface. Toolchain, source/cache identity and setup consumers were inspected; no deliberate prebuilt-HTML consumer was found. Existing
cargo docinventory and CI commands are preserved.Proof
Linux x86_64/Bash; rustup 1.29.1; two Cargo build jobs; task-local homes/targets. Explicit online locked dependency preparation followed by offline candidate Cargo checks. The external rustup proxy path is recorded rather than pretending the bootstrap is fresh.
Fresh candidate controls, all native 0:
cargo --version rustc -vV rustup component list --installed cargo policy check-agent-skills cargo test --locked --offline -p repo-policy --lib \ workflow_tests::workflow_run_extraction_handles_step_shorthand_and_blocks \ -- --exact --test-threads=1 cargo doc --locked --offline -p repo-policy --no-deps rustup component add rust-docs rustup doc --path --stdThe first call resolved 1.95.0 and installed five components, excluding rust-docs; installed-component receipt was captured before adding docs. Test: 1 passed, 76 filtered, none ignored. Package docs generated before rust-docs was installed; the explicit standard-library docs opt-in then resolved an existing local HTML file.
Clean-base worktree doctor, six-gate check-fast floor with independently verified zero-path selector, and
cargo check --locked --offline -p repo-policy --all-targetspassed before editing. Candidate formatting, documented policy check, scoped test, package docs and check-fast passed. Candidate check-fast's stable three-path selector agrees with independent Git enumeration; it ran six gates and reported six inapplicable/not-selected gates, including Clippy. Precommit owns the toolchain-file workspace Clippy impact.cargo xtask precommitpassed on this exact head in 575.67s, including the policy owner and full workspace/all-target Clippy with warnings denied. Its independently verified canonical digest isa30be834844f807c831c16ba326ce9fba5b0d3870e0d3b79c944c5ccb5d04ff0; complete three-path change set, no skips/limitations. No whole-workspace runtime matrix was run.Independent exact-head candidate review found no actionable source/contract defect. Reviewer inspected actual consumers and raw receipts and independently generated docs/compiled a tiny unrelated library using a minimal toolchain with rust-docs absent. That raw alternate stdout was not retained; the review record distinguishes this limit. Disposition remains REVIEW_INCOMPLETE for missing published-head hosted proof. Candidate was independently reviewed before branch/PR publication; no hosted dispatch or Ready transition was requested.
Claim Boundary
Original source
97cc171257fd76a1b3b9e79cc41ad949e0ecc861and current base have identical toolchain-file blob6360c1888da69d2599c73ae7732b64a5b863d011. The original default-profile installation contained 51,921 files / 666,814,093 logical bytes / about 796 MiB allocated of Rust HTML documentation. This is installed footprint, not compressed network bytes. The recorded 27.15s policy check / 30.28s first scoped passing test are single-host observations, not a paired latency speedup. The journey excludes cloning and rustup bootstrap; OS/CDN caches are uncontrolled. No whole-workspace runtime, release or native Windows/macOS qualification is claimed.The original control installed the minimal toolchain then exited 1 because self-update expected rustup inside the isolated Cargo home. Reusing an external proxy required
--no-self-update; both original failure and corrected receipt are preserved. This harness error is not a RIPR failure and is not relabeled as success.Evidence custody and continuation
Original immutable packet SHA-256
03a8818606a762bbb09afd90554e4c907034229875590865e8a2781043d4ab00; retained at/workspace/contributor-journey-evidence.tar.gz. New source identities, commands/native exits, components, base/candidate gate reports and independent review live under/workspace/minimal-toolchain-proof/evidencein the assigned saved environment. These executor paths are local locators, not uploaded artifact custody.Prepublication proof packet
/workspace/minimal-toolchain-evidence.tar.gz, SHA-2568cb2dfa0342a287387ff3ca9c4e26de3f199ecd023bf21d7da3ced88b7122af5, contains the original packet, raw commands/receipts, report snapshots, patch and independent review. Restoring it separately verified every listed hash. Retained build/homes occupy about12GiB; about16GiB remains free. Earlier estimates8/10GiB were corrected to a14GiB envelope while keeping the10GiB free floor. All local drivers are terminal; source/proof/build state retained for parent verification.Keep Draft. Parent owns published-head review, future qualification and any Ready transition. No merge or release acceptance is claimed.
Rollback / Changelog / Traceability
Revert the three-file change together. Fragment
changelog.d/8211-minimal-contributor-toolchain.mdmatches the canonical Internal / CI marker, bullet and trailing issue reference. No analyzer test/golden/traceability mapping changed; runtime setup controls above validate this contributor-only configuration contract.CI Economics
No workflows or gate selection changed. Avoids the optional prebuilt documentation component on a fresh toolchain installation. No measured CI wall-time or local latency benefit is claimed.