feat: Add timeout diagnostics and outdated-runner hint to pause-point CLI errors#1892
Conversation
…rrors Two friction points reported from real usage: a HitCount=0 timeout gave no forward-looking advice beyond re-triggering the code path, and an unrecognized flag on await-pause-point/pause-point-status looked identical to a typo even when the real cause was an outdated installed project runner that predates a documented flag. Extend the existing HitCount=0 timeout hint with a sentence pointing at `control-play-mode --action Pause` as a preventive fix for self-progressing games, alongside the existing reactive "re-trigger and wait again" advice. Add a shared unknown-option error builder for the two runner-owned pause-point native commands that names the outdated- runner possibility and points at `uloop --version`. Verification: `scripts/check-go-cli.sh` passes (fmt/vet/lint/test/build).
|
Warning Review limit reached
Next review available in: 29 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: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ 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 |
The timeout hint referenced a nonexistent `Resume` action; control-play-mode only supports Play/Stop/Pause/Step, so the hint now tells agents to resume with `control-play-mode --action Play`. Also moved a doc comment that had ended up above the wrong test after a new test was inserted between it and its target.
6b4f786
into
feature/pause-point-round4-integration
Summary
HitCount=0await-pause-pointtimeout now suggests pausing PlayMode before scenario setup, not just re-triggering the code path.await-pause-point/pause-point-statusnow names an outdated installed project runner as a likely cause, alongside the existing typo/help pointer.User Impact
control-play-mode --action Pauseas the preventive fix for next time.uloop --versionand updating the CLI as an alternative explanation.Changes
HitCount=0timeout hint inpausePointTimeoutHintwith one additional sentence; no other diagnostic fields changed.pausePointUnknownOptionErrorhelper used by bothawait-pause-pointandpause-point-statusoption parsing, replacing their near-duplicate inline error construction.Verification
scripts/check-go-cli.sh: all packages pass (fmt/vet/lint/test/build)dist/darwin-arm64/uloop await-pause-point --id jump --bogus-flag value: confirmed the new hint text in the response