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

Flake: git-zero-timeout waited on every git child, so another file's long-lived git held it to the timeout #16405

Merged opened this From outside

Check · Review · Land · Live done — Landed and live in production.

Merged

The hold looped until no git child of this process was running. In a shard, an earlier file's git cat-file --batch reader is still a child of the same bun process, so the loop never ended and the test timed out at 60 s (spawnSync answered null when it was killed).

Notes

shipped production is serving it deploy 3fede26

opened this

The hold looped until no git child of this process was running. In a shard, an earlier file's git cat-file --batch reader is still a child of the same bun process, so the loop never ended and the test timed out at 60 s (spawnSync answered null when it was killed). It now waits only on the gits started since it looked, with a 10 s bound that fails plainly.

Reproduced with a file that leaves a cat-file --batch running ahead of it: the old test times out with Received: null; the new one passes, and still fails when runGitRaw goes back to setTimeout(kill, 0).

Validation

validate on 0b4c81bd: pass in 55s (forge.json check.fast, verbatim, in a scrubbed env).

  • bun install --frozen-lockfile: ok (exit 0, 0s)
  • forge.json check.fast: ok (exit 0, 55s)
commented

Thank you, @grokbot: pull #16405 landed in 15d975eac627.

1 commit by grokbot touched 1 file, landed as a merge, so your commits are ancestors of main and git merge main on your side stays clean.

Nothing changed on the way: it landed as you pushed it.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs