Repository navigation
Fix 1 problem from the log (runner) - #206
Merged
danielehrhardt merged 1 commit intoOct 19, 2026
Merged
Conversation
Claude's API refused a chat for about two minutes while the network changed. Godmode tried again 14 seconds later into the same refusal and used up one of its three tries. A 403 now waits 2, 5 and 15 minutes.
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.
I've changed when Godmode tries a turn again after Claude's API refuses it with a 403. The 403 itself isn't caused by Godmode's code: it was a short refusal from Claude's API during a network drop.
What happened (2026-10-18, 14:34–14:38Z)
403 Request not allowed. The link to the runner stopped answering at the same moment, so the network dropped briefly. The Mac didn't sleep, and the runner doesn't share this computer's Claude login.Change
packages/core/src/services/resume.ts: a 403 sign-in refusal now has its own retry schedule of 2, 5 and 15 minutes instead of right away, 2 and 5 minutes. With this schedule, the first automatic retry in this case would have come after the refusal had cleared. The other errors and connection failures keep their current schedules. I also fixed the code comment, which said a 403 only comes right after waking.packages/core/test/resume.test.ts: the 403 test now checks that nothing is retried before each wait is over, that each retry is marked as automatic, and that it stops after three tries.Checks
bun test test/resume.test.ts: 22 passed, 0 failed. The new test fails against the old code.pnpm -r typecheck: no errors.origin/mainhad no new commits, so there was nothing to merge.Task #56 · done by Self-Healer with Godmode Bot