address flakes in ci - #2797
Conversation
mkocher
commented
Aug 7, 2026
- network tests go back to before each as they're modifying state
- remove event length assertion so we get a better failure message if the extra events show up again
- clean up mysql cmd to not emit a table header
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe changes update test behavior in three areas. The orphaned VM cleanup test no longer requires exactly twice as many scheduler events as deployment instances. The network resolution spec resets its sandbox before each example. The MySQL helper suppresses column headers and returns all query result lines. Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches 💡 1📝 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/spec/shared/shared_support/mysql.rb`:
- Line 64: Remove the unreachable `|| []` fallback from the command output
expression in the shared MySQL support code, leaving `.lines.to_a` as the
explicit array-returning result.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: fe892063-7b44-49e1-ac2b-21e84596e6d3
📒 Files selected for processing (3)
src/spec/integration/director_scheduler_spec.rbsrc/spec/integration/links/network_resolution_spec.rbsrc/spec/shared/shared_support/mysql.rb
💤 Files with no reviewable changes (1)
- src/spec/integration/director_scheduler_spec.rb
- network tests go back to before each as they're modifying state - remove event length assertion so we get a better failure message if the extra events show up again - clean up mysql cmd to not emit a table header
7458775 to
70bffb7
Compare