Skip to content

fix(platform): cool subscription-disabled broker accounts - #4661

Merged
yannickmonney merged 1 commit into
mainfrom
fix/broker-subscription-refusal
Oct 9, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/broker-subscription-refusal

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Claude can report a terminal HTTP 403 because its organization disabled subscription access. The broker previously received no account feedback, so the next bounded retry could select the same refused account and consume the task's start budget.

Recognize only the exact Claude terminal provider envelope, retain its typed classification across checkpoint recovery, and cool the selected organization/account for one hour in both task and workflow hosts. Other accounts remain usable; generic 403s, ordinary quoted output, other harnesses and static credentials do not trigger this hold. HTTP 429 retains its existing 60-second policy, longer holds are preserved, and retry/circuit limits are unchanged. A restored subscription may wait up to one hour before selection resumes; this is bounded recovery, not permanent account quarantine.

Validation: 127 focused tests passed; the canonical real-PostgreSQL checkBrokerAccountSelection lane passed 85/85 checks after causal controls failed for missing feedback and the former one-minute hold. Full platform TypeScript, changed-file type-aware lint, formatting, manual/conflict guards, normal commit hooks and full vendored SAST (162 applicable rules across eight production files, zero findings) passed. All tested file hashes survived the disjoint rebase onto current main. The full workspace/hosted graph and deployed provider recovery are separate observations.

@yannickmonney
yannickmonney merged commit cb4e84f into main Oct 9, 2026
24 of 26 checks passed
@yannickmonney
yannickmonney deleted the fix/broker-subscription-refusal branch October 9, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant