test(agent-core): give the sweep-resilience wait the full test budget - #142
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe OAuth service test helper now accepts a configurable timeout. The proactive-refresh resilience test uses a 12-second wait while retaining its 15-second test timeout. ChangesOAuth test resilience
Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to This change only gives the flaky resilience test a larger wait budget while leaving the default behavior unchanged; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
Comment |
commit: |
Related Issue
None — test-stability fix (internal PR).
Problem
McpOAuthService sweepProactiveRefresh resilience > skips malformed meta sidecarsflaked on a loaded CI runner today and blocked the release gate: the immediate refresh spans two localhost HTTP round-trips plus token writes, butwaitForused a hard-coded 5s deadline while the test itself allows 15s. Onegh run rerun --failedcleared it, but it will bite future releases the same way.What changed
waitFornow takes an optional budget (default unchanged at 5s), and the sweep-resilience wait uses 12s — inside the test's own 15s timeout, with margin for cleanup. No production code touched.Checklist
gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.Summary by CodeRabbit