Repository navigation
Raise jsg-test's test size to enormous - #8237
Conversation
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.
There was a problem hiding this comment.
💬 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_testis skipped by default localbazel testand by coverage runs, because.bazelrcsets--test_size_filters=-enormous. CI configs inbuild/ci.bazelrcclear 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
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,240in .bazelrc).This is a minimal alternative to #8198, which splits the tests into a target per file instead.