feat(parity): reuse verified build artifacts - #7064
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe parity runner now supports ChangesParity artifact reuse
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant Contributor
participant run_parity_tests.sh
participant PrebuiltArtifacts
participant FixtureSuite
Contributor->>run_parity_tests.sh: set PERRY_SKIP_BUILD=1
run_parity_tests.sh->>PrebuiltArtifacts: validate PERRY_BIN and runtime/stdlib archives
run_parity_tests.sh->>FixtureSuite: run parity fixtures without Cargo builds
FixtureSuite-->>Contributor: report parity results
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Changes
run_parity_tests.sh: addPERRY_SKIP_BUILD=1, validatePERRY_BINplus one native runtime/stdlib pair, and force the existing no-auto archive pathtests/test_parity_build_reuse.sh: cover invalid configuration, incomplete artifacts, caller binary preservation, runtime binding, and runner-owned Cargo suppressionCONTRIBUTING.md: document fixture-only reuse and rebuild boundariesRelated issue
Closes #7062
Test plan
bash -n run_parity_tests.sh tests/test_parity_build_reuse.shshellcheck -S warning run_parity_tests.sh tests/test_parity_build_reuse.shtests/test_parity_build_reuse.shgit diff --check./scripts/pre-tag-check.sh --quick— existing main failures remain in workspace architecture, public benchmark freshness, file-size, GC store-site, and address-classification audits; none touch this PR's filesChecklist
Summary by CodeRabbit
New Features
Documentation
Tests