Repository navigation
fix(api): env-tunable 529 retry budget - #350
Merged
Merged
Conversation
MAX_529_RETRIES was hardcoded at 3 while other retryable errors got DEFAULT_MAX_RETRIES=10, so headless -p workers died on short 529 cascades that claude code rode out. Expose FUSION_CODE_MAX_529_RETRIES (fallback: default 3, invalid/negative values fall back with a debug log). Default behavior unchanged for interactive use. Closes #349 Co-Authored-By: Claude Code <[email protected]>
This was referenced Nov 26, 2026
Merged
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.
Closes #349.
MAX_529_RETRIESwas hardcoded at 3 while other retryable errors gotDEFAULT_MAX_RETRIES=10— headless-pworkers converted short 529 cascades into hard task failures that claude code rode out. AddsFUSION_CODE_MAX_529_RETRIES(default 3, invalid/negative values fall back with a debug log). Interactive behavior unchanged; headless dispatches raise the budget. 5 new tests.🤖 Generated with Claude Code