Skip to content

Allow wd_rust_crate to override test size; bump jsg-test to large#6674

Merged
harrishancock merged 1 commit intomainfrom
harris/2026-04-27-relax-flaky-time-budgets
Apr 27, 2026
Merged

Allow wd_rust_crate to override test size; bump jsg-test to large#6674
harrishancock merged 1 commit intomainfrom
harris/2026-04-27-relax-flaky-time-budgets

Conversation

@harrishancock
Copy link
Copy Markdown
Collaborator

The default Bazel test size (medium) gives a 15s timeout under our .bazelrc test_timeout settings, which is too tight for jsg-test_test: it has 280+ subtests and is forced to run serially via RUST_TEST_THREADS=1. The test has been observed to hit the 15s wall on three retries in a row in CI.

Add a test_size parameter to wd_rust_crate (mirroring the existing parameter on wd_rust_binary) and set test_size = "large" on jsg-test, giving it the 60s timeout it needs.

Assisted-by: OpenCode:claude-opus-4.7

The default Bazel test size (medium) gives a 15s timeout under
our .bazelrc test_timeout settings, which is too tight for
jsg-test_test: it has 280+ subtests and is forced to run serially via
RUST_TEST_THREADS=1. The test has been observed to hit the 15s wall
on three retries in a row in CI.

Add a test_size parameter to wd_rust_crate (mirroring the existing
parameter on wd_rust_binary) and set test_size = "large" on
jsg-test, giving it the 60s timeout it needs.

Assisted-by: OpenCode:claude-opus-4.7
@harrishancock harrishancock requested review from a team as code owners April 27, 2026 12:50
@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk Bot commented Apr 27, 2026

The PR is consistent with the existing wd_rust_binary pattern. The changes are minimal, well-documented, and correctly placed. The default stays "medium" so no other crate is affected. The justification (280+ subtests, serial execution, observed CI timeouts) is sound.

LGTM

github run

@harrishancock harrishancock merged commit a6f1b00 into main Apr 27, 2026
25 checks passed
@harrishancock harrishancock deleted the harris/2026-04-27-relax-flaky-time-budgets branch April 27, 2026 14:01
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.

2 participants