Skip to content

ci(node): serialize the binding-test matrix to stop tripping httpbin's rate limit - #546

Closed
barjin wants to merge 1 commit into
masterfrom
ci/serialize-node-binding-tests
Closed

ci(node): serialize the binding-test matrix to stop tripping httpbin's rate limit#546
barjin wants to merge 1 commit into
masterfrom
ci/serialize-node-binding-tests

Conversation

@barjin

@barjin barjin commented Sep 7, 2026

Copy link
Copy Markdown
Member

The node binding tests all hit one httpbin instance capped at 70 req/s, and the full matrix running at once overran that, so several open PRs (#542, #543, #544) are failing on random rate-limited assertions.

The binding tests all point at a single httpbin instance that rejects anything
over 70 requests per second. One test run makes 190 httpbin requests over
15-30s, so at roughly 6-12 req/s per job the 17 jobs the matrix used to start
at once overran the limit and the suite failed on whichever assertions happened
to receive a rate-limit body - a different random set every run.

max-parallel caps each matrix at one job, so at most five run concurrently.
@github-actions github-actions Bot added this to the 149th sprint - Tooling team milestone Sep 7, 2026
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Sep 7, 2026

barjin commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

max-parallel: 1 is applied per-job, but the five binding-test jobs (macOS/Windows, linux-x64-gnu, linux-aarch64-gnu, linux-aarch64-musl, linux-x64-musl) each declare their own strategy and still run concurrently with each other, so up to 5 test runs can still hit the shared httpbin instance at the same time — this only reduces concurrency from ~17 to ~5, it doesn't fully serialize access to httpbin. No other issues found; scale is proportional (10-line, single-file CI change) and there are no functional breaking changes.


Generated by Claude Code

@barjin

barjin commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

In the end, we managed to bump the self-hosted HTTPBin limits. Closing this PR, as this would only slow down the CI now.

@barjin barjin closed this Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants