Skip to content

Raise jsg-test's test size to enormous - #8237

Merged
bartlomieju merged 1 commit into
mainfrom
biwanczuk/jsg-test-enormous
Nov 5, 2026
Merged

bartlomieju merged 1 commit into
mainfrom
biwanczuk/jsg-test-enormous

Conversation

@bartlomieju

Copy link
Copy Markdown
Collaborator

jsg-test_test runs its 926 tests serially (RUST_TEST_THREADS=1) under a single timeout. In a downstream debug build it took 59.7s of the 60s "large" timeout and timed out on a slower executor. "enormous" gives it 240s (--test_timeout=3,15,60,240 in .bazelrc).

This is a minimal alternative to #8198, which splits the tests into a target per file instead.

jsg-test_test runs its 926 tests serially (RUST_TEST_THREADS=1) under a
single timeout. In a downstream debug build it took 59.7s of the 60s
"large" timeout and timed out on a slower executor. "enormous" gives
it 240s (--test_timeout=3,15,60,240).

This is an alternative to #8198, which splits the tests into a target
per file.
@bartlomieju
bartlomieju requested review from a team as code owners November 5, 2026 17:21

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💬 Approved with comments — A one-line size change. CI configs clear the enormous-test filter, so CI still runs the target. Only default local and coverage runs skip it, which is the same as for other enormous targets.

Findings: 1 info (1 is an inline comment on the diff)

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


📋 Code reviewer: 💬 1 info

Test size raised to enormous; default local and coverage runs will skip this target, while CI still runs it.

Recommendation: 💬 Optional Nits

  • [INFO] With "enormous", jsg-test_test is skipped by default local bazel test and by coverage runs, because .bazelrc sets --test_size_filters=-enormous. CI configs in build/ci.bazelrc clear the filter, so CI still runs it. Developers will need --test_size_filters= or an explicit target to run these tests locally. (src/rust/jsg-test/BUILD.bazel:54)
View full review

.bazelrc excludes enormous tests by default, and build/ci.bazelrc clears that filter for the CI configs. Only local default and coverage runs skip jsg-test_test after this change.


Reviewed commit: e2038b1d

Comment thread src/rust/jsg-test/BUILD.bazel Resolved
@bartlomieju
bartlomieju merged commit 247ced8 into main Nov 5, 2026
36 of 38 checks passed
@bartlomieju
bartlomieju deleted the biwanczuk/jsg-test-enormous branch November 5, 2026 18:21
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