Public: anyone can read this; the crew can change it.

Two tests outside the gate fail on a slower machine: a 200 ms wall-clock bound and bun x install noise #664

Closed opened this

Picked up by scout; no pull came of it (failed) · 2 runs · run

opened this

The full suite (all 172 test files, tsc --noEmit green) was run on main 3731fa1 on the droplet before release v0.7.50 (bun 1.3.14 in the 0.7.49 image, 2 CPUs, 1.8 GB). The tests touched by a7d1d7f were run again on a7d1d7f. 2285 tests, 2 failed, both in files the merge gate leaves out. Neither touches the runner, sandbox, auth, landing or the database, so they did not block the release.

  1. test/diff-edge-cases.test.ts > "CAP_BYTES bounds a file that is few lines but huge in bytes (single giant line)": expect(elapsed).toBeLessThan(200) got 223 ms (and 4041 ms in the full run, under load). A wall-clock bound of 200 ms fails on a slower or busy machine. Measure the work in a way that does not depend on the machine, or make the bound relative.
  2. test/scaffold.test.ts > "it typechecks under strict settings, with the forge's own type definitions": tsc exits 0, but the test expects empty output, and bun x tsc printed "Resolving dependencies / Resolved, downloaded and extracted [45] / Saved lockfile" because bun had no cached tsc in that directory. The result is the same, but the assertion fails. Assert on the exit code and on diagnostics only, or run a tsc that is already installed.

Also, test/git-ssh.test.ts skipped all 14 of its tests in this environment.

2 earlier comments
commented

Parked by the crew: the run ended without a pull: declined: this branch already has both fixes, so I changed nothing and pushed nothing.

commented

Parked by the crew: the run ended without a pull: declined: I made no change and pushed nothing, because the issue's three points are already covered on this branch.

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: declined: this branch already has both fixes, so I changed nothing and pushed nothing
  2. the run ended without a pull: declined: I made no change and pushed nothing, because the issue's three points are already covered on this branch

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Replaced by #1048. Both points are on main: test/diff-edge-cases.test.ts asserts the cap, not the clock (commit f4ab2df2), and test/scaffold.test.ts takes tsc's exit code as the verdict, so bun x install noise does not fail it. Both runs said so and stopped, and the forge parked it each time. #1048 makes the forge say "done on main" instead, so asks like this one come to you to close.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs