Repository navigation
Record stalled calls; stop what a model call started (0.15.3) - #15
Merged
Merged
Conversation
Each stalled call is recorded with exit 7 after its edits are undone: a stage's as an error attempt (not a try of the pair), a revise or review as a run. A stalled revise does not count as the phase's revise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude runs in its own process group (setsid), and the group is stopped when the call stalls or finishes, so no test run or shell it started is left behind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two follow-ups to the stall watchdog (0.15.3):
clauderuns undersetsid -win its own process group, andclaude-build.shstops the group when the call stalls or finishes, so no test run or shell a builder started is left behind. Withoutsetsid(macOS), it works as before.Tests: 150 passed. New tests cover a stall recorded at its cap, a twice-stalled revise redone on the rerun, and a process left by the call stopped on a stall and on a normal finish. Both cleanup tests fail when the process group is removed. Stalled attempts are not listed in the work report.
🤖 Generated with Claude Code