pkg/executor/sortexec: stabilize flaky TestInterruptedDuringSpilling#67891
pkg/executor/sortexec: stabilize flaky TestInterruptedDuringSpilling#67891flaky-claw wants to merge 1 commit intopingcap:masterfrom
Conversation
|
@flaky-claw I've received your pull request and will start the review. I'll conduct a thorough review covering code quality, potential issues, and implementation details. ⏳ This process typically takes 10-30 minutes depending on the complexity of the changes. ℹ️ Learn more details on Pantheon AI. |
|
Hi @flaky-claw. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe test Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #67891 +/- ##
================================================
- Coverage 77.7969% 77.4278% -0.3692%
================================================
Files 1983 1966 -17
Lines 548948 549053 +105
================================================
- Hits 427065 425120 -1945
- Misses 120962 123931 +2969
+ Partials 921 2 -919
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
/test check-dev2 |
|
@yinsustart: PRs from untrusted users cannot be marked as trusted with DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wshwsh12 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
/hold |
What problem does this PR solve?
Issue Number: close #50799
Problem Summary:
Flaky test
TestInterruptedDuringSpillinginpkg/executor/sortexecintermittently fails, so this PR stabilizes that path.What changed and how does it work?
Root Cause
The flaky came from a brittle
<1swall-clock assumption in the spill interruption test, which is sensitive to spill checkpoint timing under variable runtime pressure.Fix
Forcing small spill chunks only in this test makes interruption checkpoints dense and deterministic, preserving the original assertion intent without product-code changes.
Verification
Spec:
pkg/executor/sortexec :: TestInterruptedDuringSpillingtidb.go_flaky.defaultBASELINE_ONLYObserved result:
Gate checklist:
Commands:
go test -json ./pkg/executor/sortexec -run '^TestInterruptedDuringSpilling$' -count=1go test -json ./pkg/executor/sortexec -count=1make buildCheck List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.
Fixes #50799
Summary by CodeRabbit