Skip to content

Update ci.yml - #118

Draft
katlyn-edwards wants to merge 1 commit into
mainfrom
katlyn-edwards-patch-2
Draft

katlyn-edwards wants to merge 1 commit into
mainfrom
katlyn-edwards-patch-2

Conversation

@katlyn-edwards

@katlyn-edwards katlyn-edwards commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

ci: serialize jobs and isolate token-heavy tests to avoid 429s CI was failing with 429

RESOURCE_EXHAUSTED. All jobs share one API key, and the cache/count-tokens tests send ~322k-token prompts. Running them in parallel with everything else exceeds the per-minute token limit.

  • Run jobs sequentially (Python → JS → Go → Java) via needs:.
  • JS and Go: run cache/token tests first, wait 65s, then run the rest. JS uses --test-concurrency=1. Tradeoff: CI is slower.

## ci: serialize jobs and isolate token-heavy tests to avoid 429s
CI was failing with 429 `RESOURCE_EXHAUSTED`. All jobs share one API key, and the
cache/count-tokens tests send ~322k-token prompts. Running them in parallel with
everything else exceeds the per-minute token limit.
- Run jobs sequentially (Python → JS → Go → Java) via `needs:`.
- JS and Go: run cache/token tests first, wait 65s, then run the rest.
  JS uses `--test-concurrency=1`.
Tradeoff: CI is slower.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@katlyn-edwards

Copy link
Copy Markdown
Collaborator Author

Actually, jk -- Keeping this as a draft/last resort, I think I can do better instead of making this slower.

This branch has not been deployed

No deployments
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