Repository navigation
test(xtask): anchor recommendation calibration fixtures - #2196
EffortlessSteven wants to merge 1 commit into
Conversation
|
Warning Review limit reached
Next review available in: 16 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…llow issues RIPR-PLAN-0062 still named cargo-allow #2119 as the dialect blocker in three places after #2119 closed as not planned on 2026-08-25; an agent following the updated campaign row into this plan would hit the stale blocker again. All three sites now cite the live #2260/#2196 blockers and record the #2119 closure with its date.
…argo-allow issues (#4369) * docs(plan): update the spec-v2 dialect blocker citation to the live cargo-allow issues * docs(plan): point the campaign's dialect blockers at the live cargo-allow issues RIPR-PLAN-0062 still named cargo-allow #2119 as the dialect blocker in three places after #2119 closed as not planned on 2026-08-25; an agent following the updated campaign row into this plan would hit the stale blocker again. All three sites now cite the live #2260/#2196 blockers and record the #2119 closure with its date.
Summary
with_temp_cwdtests from redirecting its relative fixture reads.Swarm / Source Boundary
This PR targets
EffortlessMetrics/ripr-swarm, the normal development trunk for trusted same-reporiprwork.ripr-swarmSource-of-truth Links
Proposal: n/a; this restores existing test behavior.
Spec: n/a; no observable product contract changes.
ADR: n/a.
Plan item: n/a; standalone required-test reliability issue.
Active goal: n/a.
Issue: #2186
Scope
One test fixture-root correction in
xtask/src/reports/recommendation.rs.Scope Classification
This PR is scoped by:
Production delta:
recommendation_calibration_report_counts_fixture_expectationstest now passes an absoluteworkspace_root()to the existing path resolver.Evidence/support delta:
Single acceptance criterion:
xtask/, so cwd-mutating tests cannot redirect its fixture reads.Non-goals:
Support-tier Impact
Claim/proof notes:
Policy Impact
Proof
Result, failures, or skipped proof:
xtask/(1 passed), recommendation suite (8 passed), xtask check, xtask Clippy, formatting, diff check, and precommit.cargo xtask check-prreached the workspace test gate but inherited six TypeScript rerun failures. The same six failures reproduce on an untouchedorigin/mainworktree (28 passed; 6 failedincargo test -p ripr cli::rerun::tests::).Claim Boundary
This PR establishes that the targeted recommendation-calibration test no longer depends on ambient cwd. It does not establish that the full workspace is green; the inherited TypeScript rerun failures remain tracked outside this slice.
Rollback
Revert commit
550a322e31950cdf41dd725e4c73b55e89a0634b; no data or generated artifacts are changed.Spec-Test-Code Traceability
xtask/src/reports/recommendation.rs::recommendation_calibration_report_counts_fixture_expectations.xtask/src/reports/recommendation.rs.Static Language Check
killed,survived,untested,proven, andadequate.CI Economics
Engineering Check
panic,unwrap,expect,todo, orunimplemented.Gates
cargo fmt --checkcargo check -p xtask --all-targetscargo clippy -p xtask --all-targets -- -D warningscargo xtask precommitcargo test --workspace(blocked by inherited TypeScript rerun failures; reproduced onorigin/main)cargo xtask check-pr(blocked by the same inherited failures)