Repository navigation
test(doctor): retry the transient probe class in the selected-root test (#3073) - #3122
Conversation
…st (#3073) doctor_rustc_probe_uses_selected_root asserted on a probe outcome that, under full-suite load, can be a transient timeout or launch failure (ETXTBSY, #2242) rather than a shim verdict. Every definitive shim verdict contains the shim's own `rustc 1.` version string and no transient outcome does, so retry the transient class (bounded at 5 attempts) and assert only on a definitive verdict, printing the full result on failure.
|
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 reached
Next review available in: 50 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. 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)
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 |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Exact-head review record (review-pr):
reviewed_head_sha: 9de0a13
integration_basis: origin/main 14ba3a4
claim_boundary: test-oracle repair only for doctor_rustc_probe_uses_selected_root (#3073); no production probe-path change
changed_surfaces_and_semantic_owners_inspected: crates/ripr/src/output/doctor.rs tests module (owner: doctor output surface)
blocking_findings: none
non_blocking_suggestions: none
refuted_or_stale_findings: none (no automated findings posted)
proof_and_ci_observed: required check Ripr Rust Small Result PASS on 9de0a13; rust-tests-junit, rust-coverage, ub-review pass; local cargo test -p ripr --lib output::doctor 22/22, full cargo test -p ripr --lib 4156/4156 (pre-fmt head; subsequent diff is cargo-fmt-only), cargo clippy -p ripr --lib -- -D warnings clean
proof_or_review_missing: none material; the retry bound (5 attempts x 5s worst case) is a documented test-side bound
affected_currentness_dimensions: test stimulus, test oracle, candidate head identity (fmt-only head move 25dffc3 -> 9de0a13)
residual_assumptions_and_non_claims: the fix removes the observed transient-class flake (timeout/ETXTBSY); a genuinely slow shim environment beyond 5 attempts x 25ms spacing would still fail, which is the intended fail-closed behavior; codecov/patch FAILURE is advisory-only (test-file diff), not a required discriminator
disposition: REVIEW_READY
* Revert "test(perl): consume one production Perl→domain oracle mapping authority (#3034) (#3126)" This reverts commit c8e3e18. * Revert "docs(agent): align pair-currentness claims with the enforced gates (#3061) (#3121)" This reverts commit f844469. * Revert "test(doctor): retry the transient probe class in the selected-root test (#3073) (#3122)" This reverts commit c425119. * Revert "test(lsp): retain listActionableItems branch/capability mutation receipt (#3032) (#3133)" This reverts commit d9d4630. * Revert "fix(analysis): retract unused SeamKind ↔ ProbeFamily crosswalk (#3039) (#3130)" This reverts commit b8e9d55. * Revert "test(perl): consume one production Perl→domain oracle authority (#3126)" * Revert "docs(agent): align pair-currentness claims with the enforced gates (#3121)" * Revert "test(doctor): retry the transient probe class in the selected-root test (#3122)"
Summary
Fix the load-correlated flake in
output::doctor::tests::doctor_rustc_probe_uses_selected_root(#3073).The test asserted
result.evidence.contains("below the minimum supported Rust version")on a probe outcome that, under full-suite parallelism on a loaded host, can be a transient timeout (rustc timed out after 5s) or a transient launch failure (ETXTBSY class, #2242) rather than a shim verdict. The observed failure signature (status Fail, evidence lacking the MSRV string) matches exactly that transient class.Fix: retry the probe while the outcome carries no shim verdict, bounded at 5 attempts. The oracle is positive, not string-sniffed per transient kind: every definitive shim verdict — pass (
rustc 1.96.0 (caller-root)) or version-gate failure (rustc 1.94.0 is below the minimum supported Rust version ...) — contains the shim's ownrustc 1.version string, while no transient outcome (timeout, not-available, launch failure) does. Both assertions now also print the full result on failure, the issue's first ask.Swarm / Source Boundary
ripr-swarmSource-of-truth Links
Issue: #3073
Proof
cargo test -p ripr --lib output::doctor— 22/22 passcargo test -p ripr --lib(full suite, the issue's reproduction) — 4156/4156 passcargo clippy -p ripr --lib -- -D warnings— cleanNon-goals
probe_published_toolkeeps its deliberate no-timeout-retry policy — there a timeout is a real verdict; here it is not.Candidate head: 25dffc3