fix: keep orchestration alive through retry guardrails - #2892
Merged
Conversation
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.
What changed
Root cause
Codex JSON output was scanned as one untyped error string, so repository fixtures and tool output could match authentication or rate-limit patterns. Sprint QA treated any terminal provider failure as immediately human-owned even below its retry cap. Main-merge CI-fix attention also encoded its source branch in a field the attention scope matcher interpreted as the target branch, so the worker item opened in the same cycle was invisible to the pause decision. Finally, QA exhaustion was classified as no further action even while its human handoff was active.
Impact
Transient or misclassified provider errors retry automatically until guardrails are exhausted. Worker-owned CI repair and guardrail handoffs remain observable by a live sprint instead of requiring an unrelated manual resume.
Validation
pnpm run cipnpm run check:docs-webLocal CI passed with 5,132 backend tests and 2,007 dashboard tests.
Risk and rollback
Risk is limited to provider failure diagnostics and sprint terminal-state decisions. Roll back this commit to restore the prior classification, QA handoff, and pause behavior.