Repository navigation
fix(platform): retry transient broker GETs within task starts - #4523
Merged
Merged
Conversation
This was referenced Oct 8, 2026
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.
Summary
A transient subscription-broker failure could stop a task before launch and consume another hourly start through an immediate task retry. Fresh, initially unconfined task starts now retry recoverable broker GET failures within the same admitted run: at most three requests, 5s/10s minimum backoff, and one 60-second transport/result budget. Each request and returned credential rechecks the selected credential and current run authority.
The hourly circuit and task retry accounting are unchanged. POST brokers, member-confined starts, steer and other credential consumers retain their existing behavior. The job signal aborts owned HTTP/backoff work; database/DNS reads and connection cleanup can delay completion, but late credentials are refused. Retry-After is honored within this resolution; carrying that floor into a later task run remains a separate existing gap.
Checklist
bun run check --concurrency=1— 49/49 tasks passed (29 cached, 20 executed) on headfff0d53c, based on58cf1464.bun run lint:sastandbun run knip:checkpassed on the same head.Test plan
7d212da3after the local run. There is no broker source/test/doc overlap; the shared manual register merges cleanly. Hosted PR checks provide separate current-base integration evidence.