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

Four tests fail on main or by turns, so every pull's check is red for reasons… #16213

shipped production is serving it opened this has it

Landed in pull #16395 · 2 runs · run

opened this

Four tests fail on main or by turns, so every pull's check is red for reasons it did not cause On 2026-11-24 the forge's full check ran on eight pulls opened within two hours (#16199, #16202, #16206 to #16209, #16195, #16212). The same tests failed on pulls that do not touch what they test, and the forge's own verdict on one of them changed between logs. Each was run on a detached checkout of main at 671d44c and on the branches, on a quiet machine:

  1. test/web-apps.test.ts "the app page says in a sentence that production is not running, and what to do": failed 3 of 4 runs on main alone. The check on #16202 says "red on main at 6fbf6e6 too… not counted against this pull"; the checks on #16207 and #16209 say "green on main at 6fbf6e6: this pull's red" for the same test at the same commit. A flaky main test is being counted against pulls or not by luck.
  2. test/…stalled brief "a review that stalls before its agent is ended at its budget, not when the stall ends": failed on every one of the five pulls; passes 4 of 4 on main and on the branches when run alone. It took 8 s under load, so it reads a real clock near its real duration.
  3. test/tui-offers.test.ts "(unnamed): error: not_member": failed 1 of 4 on main and 1 of 4 on a branch.
  4. main.ts keeps serving / when the SSH port is taken: fails the same on main and on a branch on a Mac; the check's own note says it "fails only beside others".

Also seen the same day and belonging here:

  1. A pull's check reads green when its newest run is a deploy while its test check on the same head is red (#16102 sat for an hour looking green and unreviewed). GET /pulls/N and the pull page should read the test check.
  2. The first git push of a new branch is sometimes refused ("failed to push some refs") and an identical second push is accepted: four times in one day from one machine.

Done when:

  • Each of 1 to 4 has its cause found and fixed (a shared port, a real clock, order dependence, a leaked server: CLAUDE.md's list), with ten green random-order runs under load by bun scripts/flake-hunt.ts admit, or is quarantined by flake-hunt.ts quarantine with its owning issue until then. No retry.
  • A test that is red or flaky on main is never counted against a pull: the comparison with main runs the test on main more than once before saying "this pull's red", and the log says how many times.
  • 5 and 6 are fixed or filed with their cause.

Files: test/web-apps.test.ts, test/tui-offers.test.ts, scripts/test-shards.ts, scripts/flake-hunt.ts, src/checks/shared_red.ts, src/core/pulls.ts

3 earlier comments
commented

Seen once more, 2026-11-24, on #16319's full check (a pull of five style and wording files): web ui > raw serves bytes as text with nosniff, and conflates not-found and web ui > tree and commits refuse a ref that is not a ref failed together in 3.16 ms and 1.94 ms, shard 16. Too fast for a timeout or a slow fetch: both look like a shared precondition from beforeAll (the mel/proj repository) being missing or unreadable. Not pinned: the check log is cut at 524 KB and keeps only the shard's summary, with no Expected/Received. Two things for whoever takes this: the first Expected/Received line of a failing test should survive the log's cut, and a rerun of test/web-ui on the check host would show the cause. Also order-dependent on main under --randomize: test/talk-page.test.ts (two to four reds a run, the same set over five seeds) and test/tui-talk-receipts.test.ts (its two older tests depend on file order).

commented

One more test that fails only inside the full check, on pulls that do not touch it: test/fork-last-follow.test.ts "a fork that never followed says nothing false; each take that took nothing is said once".

  • #16345 (early push, base 77382e3): failed in shard 54, 240 ms.
  • #16351 (pane-steer, base bedd8d3): failed in shard 44, 152 ms.

Neither pull touches forks, follows or their words. On a clean main (1cd149d4) it passed 1 of 1 on Linux alone and 5 of 5 on Linux under three busy loops. It also passed 3 of 3 on the Mac at the first pull's head. The check log prints no error text for a failing shard, so the failing assertion is unknown. It may be order in the shard or the "just now" wording under load; neither is shown. Next step: the assertion and message from a failing shard.

commented

Seen 2026-11-25 on #16374 (origins part 2), which does not touch it: test/crawl-budget.test.ts, "a spoofed name cannot spend a real crawler's budget: the address is spent first" and "past its deep budget an address gets 429 with Retry-After; a person on the same path is not throttled". 12/12 on Linux on the clean trunk 294a933b and on the pull, and 12/12 on the Mac. Fails only inside full checks. Also seen tonight inside full checks only: test/private-404-parity.test.ts ("every read route answers a stranger the same…", on #16377 and #16393) and test/fork-last-follow (on #16345 and #16351).

commented

Seen 2026-11-25, reproduced on the trunk ec5af413 under load (8 busy loops, 5 runs: 3 red), green when the machine is quiet: test for NOT_YET_DESCRIBED ("NOT_YET_DESCRIBED is sorted, names served routes, holds none that is now described, and never grows") lists GET /forges/name/{}, /forges/{}/bill and /forges/{}/ready as "not served JSON": the anonymous probe misses those three under load.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs