Backport #3504: [world-vercel] Retry throttled (429) event writes in-process, honoring Retry-After - #3524
Open
github-actions[bot] wants to merge 1 commit into
Open
Backport #3504: [world-vercel] Retry throttled (429) event writes in-process, honoring Retry-After#3524github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
…g Retry-After (#3504) Signed-off-by: Nathan Rajlich <n@n8.io>
🦋 Changeset detectedLatest commit: 1319622 The changes in this PR will be included in the next version bump. This PR includes changesets to release 17 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
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.
Automated backport of #3504 to
stable(backport job run).AI recommendation: This is a patch-level reliability fix to internal event-write retry logic: a 429
ThrottleErrorwas escaping to the queue handler instead of being retried in-process as intended, producing observed multi-minute stalls in run progress under write contention. It touches onlypackages/world-vercel/src/event-retry.tsand its test, both of which exist onstablein essentially the same form, and adds no user-facing API, option, or config surface (the newTHROTTLE_RETRY_BUDGET_MSis an internal, test-visible constant with a bounded 30s cap that still falls through to queue redelivery). The change is accompanied by unit tests coveringretryAfterhonoring, budget exhaustion, and budget independence, so it is a low-risk stall fix appropriate for a maintenance line.Merge conflicts were resolved by AI (opencode with
anthropic/claude-opus-5). Please review the conflict resolution carefully before merging.