fix(logs): reject reconnect results after the deadline - #347
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: Microck/satelle/.coderabbit.yaml 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 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthrough
ChangesReconnect deadline enforcement
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to Late reconnect results now report reconnect exhaustion rather than completing after the deadline. No actionable merge-blocking risk was identified. 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 | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 unsupported.)
✨ 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 |
|
@coderabbitai full review |
✅ Action performedFull review finished. |
log follow could accept a reconnect result after its deadline if the receiving thread was descheduled. mac ci caught this as the wrong error followed by an extra log read.
this checks the existing deadline again when a result arrives, so a late result reports reconnect exhaustion. the reconnect budget and existing test assertions stay unchanged.
validation: source traced against the failing mac ci log and the existing bounded-attempt test. reuse, quality and efficiency review ran inline with no further changes. full platform ci is pending; no local or device compilation.
Summary by CodeRabbit
satelle logs --follownow reports a timeout when reconnect results arrive at or after the attempt deadline, including when delayed scheduling postpones processing them.