Preserve agent-coord-bounded output on bounded exits - #4381
Conversation
|
Warning Review limit reached
Next review available in: 3 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ 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 |
Greptile SummaryThis PR preserves captured
Confidence Score: 4/5The timeout cleanup path can still miss output from helper processes.
.agents/skills/pr-batch/bin/agent-coord-bounded Important Files Changed
Reviews (1): Last reviewed commit: "Preserve agent-coord output on bounded e..." | Re-trigger Greptile |
ReviewSummary: This PR extracts a Findings: None. The extraction is mechanically equivalent to the pre-existing flush-before-exit at the end of the happy path — each new call site flushes before its One pre-existing (not introduced by this diff) narrow race worth a passing mention: Nice use of a shared helper to eliminate the duplicated rewind/read/print sequence — good cleanup along with the fix. Test changes (bumping timeout from 0.2s→1s, asserting on real files instead of |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Code reviewWhat this PR does: Overall assessment: The core logic is sound. I traced the deadline math in
Nice addition of the |
…-preload-4369 * origin/main: Document runtime RC blocker fixes (#4373) Warn on undetermined RSC Rspack boot validation (#4355) Fail fast when local benchmark server exits (#4380) Preserve agent-coord-bounded output on bounded exits (#4381) Fetch remote state during release-finish dry runs (#4382) Fix stale incremental stream timeouts (#4354) Fix Pro RSC preload replay after eviction (#4353)
…-rsc-public-page-guides-docs-only * origin/main: Document runtime RC blocker fixes (#4373) Warn on undetermined RSC Rspack boot validation (#4355) Fail fast when local benchmark server exits (#4380) Preserve agent-coord-bounded output on bounded exits (#4381) Fetch remote state during release-finish dry runs (#4382)
…cache-4359 * origin/main: Guard preload links for older Shakapacker (#4377) Document runtime RC blocker fixes (#4373) Warn on undetermined RSC Rspack boot validation (#4355) Fail fast when local benchmark server exits (#4380) Preserve agent-coord-bounded output on bounded exits (#4381) # Conflicts: # CHANGELOG.md
…-4364 * origin/main: Guard preload links for older Shakapacker (#4377) Document runtime RC blocker fixes (#4373) Warn on undetermined RSC Rspack boot validation (#4355) Fail fast when local benchmark server exits (#4380) Preserve agent-coord-bounded output on bounded exits (#4381) # Conflicts: # CHANGELOG.md
…-4312 * origin/main: Guard preload links for older Shakapacker (#4377) Document runtime RC blocker fixes (#4373) Warn on undetermined RSC Rspack boot validation (#4355) Fail fast when local benchmark server exits (#4380) Preserve agent-coord-bounded output on bounded exits (#4381) Fetch remote state during release-finish dry runs (#4382)
Why
agent-coord-boundedcaptured child stdout/stderr into temporary files, but timeout and interrupt exits could return without replaying those captured streams. That made degraded coordination reads harder to diagnose because the underlying command output was lost.Closes #4320.
What changed
flush_captured_outputhelper for the bounded wrapper.Validation
ruby .agents/skills/pr-batch/bin/agent-coord-bounded-test.rb— 13 runs, 72 assertions, 0 failures.BUNDLE_GEMFILE=Gemfile bundle exec rubocop .agents/skills/pr-batch/bin/agent-coord-bounded .agents/skills/pr-batch/bin/agent-coord-bounded-test.rb.agents/bin/agent-workflow-seam-doctor.agents/bin/validate --changedgit diff --check origin/main...HEADNO_FINDINGS.Batch D notes
This PR only handles the claimed #4320 lane. Issue #4322 could not be claimed because private coordination repeatedly returned write-contention state, and #4323 depends on the unresolved #4322/#4320 follow-up surface, so those lanes remain separate blocked/UNKNOWN dispositions.