test(drill): retarget two mutations and check they apply in just check - #4358
Conversation
The nightly drill-sensitivity job failed because recent changes to rs/moq-net/src/lite/subscriber.rs moved the context both patches anchor on: AnnouncedRoute::new gained a wake argument and PrefixRun dropped its announce id fields for the AnnounceDecoder. Regenerate both patches against the current tree with the same fault each injects. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
MERGEPositive improvement: yes. Nightly Worth the complexity: yes. Diff is two regenerated patches (+15/−17), same Different approach: regenerating the patches against the current tree is the right fix for mutation tests. Rewriting the drills or stubbing application would hide the same drop-semantics regressions these mutations exist to catch. Checked against head
Author reports 3/3 drills fail when recovery is removed and baselines green. Merge to unstick the nightly. This is an automated review, not the maintainer's decision |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reachedNext included review available in 4 minutes. View limit detailsLimit details: You’ve used all 4 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (7)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 0 remain after this review. WalkthroughThe mutation patches wrap Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to No actionable merge risk is established for these test-only changes; they are mergeable after normal checks. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches✨ Simplify code
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 |
Add --apply-only to sensitivity.sh, which dry-runs each mutation patch against the checkout and builds nothing, and run it from just check whenever Rust or test/drill changes. A change that moves the code a mutation targets now fails its own PR instead of the next nightly. Completes and deletes quest/m1/drill-sensitivity.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merge summary:
(Written by Opus 5.5) |
Completes and deletes
quest/m1/drill-sensitivity.md.What
The nightly
just test drill-sensitivityhas failed on main since 09-26 (run). Two patches intest/drill/mutations/no longer applied after recent changes tors/moq-net/src/lite/subscriber.rs:relay-withdraws-lost-publisherAnnouncedRoute::newgained awakeargument and new fieldsAnnouncedRoute.dynamicwrapped inManuallyDrop, so a route outlives its sessionsubscriber-leaks-broadcastsPrefixRunreplaced its announce id fields withAnnounceDecoderPrefixRun.announcedwrapped inManuallyDrop, so a dead session keeps its routes and sourcesBoth patches are regenerated against the current tree with the same fault. The
subscriber-leaks-broadcastsdescription now says droppingAnnouncedcloses its sources rather than aborting them, matchingSourceGuard.Catching it earlier
sensitivity.sh --apply-onlydry-runs every mutation against the checkout and builds nothing.just checkruns it wheneverrs/ortest/drill/changes (and incheck --all), so a change that moves a mutation's target fails its own PR instead of the next nightly. Verified it fails on the oldsubscriber-leaks-broadcastspatch and passes on the new one.Verification
just test drill-sensitivity: 3 of 3 drills fail when their recovery behavior is removed, all baselines green.just test drill-sensitivity --apply-only: 3 of 3 mutations apply.quest checkandjust checkpass.Public API / wire impact
None. Test and tooling only.
(Written by Opus 5.5)
🤖 Generated with Claude Code