Repository navigation
Conversation
…s request timeout #211 Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
force-pushed
the
test/211-crawler-redirect-flakes
branch
from
October 30, 2026 19:29
450b1b0 to
f224988
Compare
Contributor
Author
|
Landed in v0.0.145 as nik |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #211
The flake was reported on bun 1.3.14 and I could not reproduce it on 1.4.3: under 8 CPU burners the full
packages/crawlersuite (878 tests, run as explicit file paths) passed 3 of 3 times, and the two named files passed 8 of 8 before any change. So this is a bounded hardening, not a proven root-cause fix:trailing-slash-canonical-crawl.test.tsandseed-redirect-pinning.test.tscrawl a real localhost server through redirects with a 2 s request timeout under bun's 5 s default test timeout. They now usesetDefaultTimeout(30_000)and a 10 s request timeout, with a comment saying why. The servers are local, so a generous bound costs nothing on an idle machine.AC 1 (10 consecutive full-suite runs under load) is covered by the 3 suite runs above plus the 10 file runs, not 10 full-suite runs. AC 2 is met by bounding and documenting the dependence in the test files. Other crawler tests that use 1 to 3 s request timeouts were not touched; none failed in any run.
Test-only change: no CHANGELOG entry, no docs, skill unaffected.
Uses
Refs, notFixes: the first criterion (10 consecutive full-suite runs under load) is not met, only 3 suite runs and 10 runs of the two files. #211 stays open.