Skip to content

fix: corrected exhaustion and reduced CI waste - #192

Merged
jacobcxdev merged 1 commit into
mainfrom
jacobcxdev/fix/pool-exhaustion-429
Sep 7, 2026
Merged

jacobcxdev merged 1 commit into
mainfrom
jacobcxdev/fix/pool-exhaustion-429

Conversation

@jacobcxdev

@jacobcxdev jacobcxdev commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Exhausted Codex pools returned HTTP 503 when no default route remained. They now return HTTP 429 when every compatible, routable account has zero capacity; credential, model, and configuration failures retain their existing classification.

  • Added planner and HTTP regression coverage for exhausted pools, excluded accounts, and preserved bound/default probes.
  • Shared one Linux ARM64 CI package build between native macOS checks, and moved portable release packaging to Linux ARM64.
  • Removed repeated Linux test invocations while preserving the full race suite on both architectures and explicit native PASS guards.
  • Added concurrency limits, job timeouts, and shorter artifact retention; retained manual triggers and native publication gates.

Validation: local build, vet, full race suite, workflow lint, release/CI gate tests, and isolated six-target packaging with Darwin archive checksums verified against the generated Cask. Final hosted CI passed all six jobs on the first attempt at f6bd556169f5be6bfa7e4482a7a124506bd55505.

Audit covered all 605 retained runs and 1,487 unique jobs. GitHub reported zero billable runtime; macOS represented 81% of September runtime cost at hypothetical paid rates. The revised CI ran macOS jobs for 195 seconds versus 459 seconds in the previous successful run; this is a single-run comparison, not a billing claim.

- Returned quota errors for exhausted routing pools.
- Added coverage for pool exhaustion and preserved route probes.
- Shared portable builds on cheaper runners and removed repeated tests.
- Bounded concurrent runs, job duration, and artifact retention.
@jacobcxdev jacobcxdev self-assigned this Sep 7, 2026
@jacobcxdev
jacobcxdev merged commit 3ea8810 into main Sep 7, 2026
6 checks passed
@jacobcxdev
jacobcxdev deleted the jacobcxdev/fix/pool-exhaustion-429 branch September 7, 2026 22:37
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