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

flow-clog-page starts with no learned pulls in the process and leaves none, so a neighbour's hot file is never its sentence #17590

opened this

Merged 16h 35m ago, live in production

"pulls touching the same files are listed as a pair…" and "the terminal's Flow dialog says the same…" failed beside other files on three unrelated pulls. The open pulls' files are one map per process (crew/hotfiles.ts touched, keyed by repository). The clog sentence takes the hottest file of all of them (warmFiles()).

Notes

opened this

"pulls touching the same files are listed as a pair…" and "the terminal's Flow dialog says the same…" failed beside other files on three unrelated pulls.

  • The open pulls' files are one map per process (crew/hot_files.ts touched, keyed by repository). The clog sentence takes the hottest file of all of them (warmFiles()).
  • Under --no-isolate, a file before this one in the worker leaves its own repositories there. hot-files-relieves left "8 open pulls touch src/tui/forge.ts", and the page named that file, not this file's src/a.ts.
  • Repro on main:
    • bun test --no-isolate test/hot-files-relieves.test.ts test/flow-clog-page.test.ts gives 10 pass, 3 fail;
    • --parallel=2 --no-isolate with six hot-file test files gives 34 pass, 3 fail, twice.
  • The file now forgets every learned repository before its tests, and again after (through hot_files' own learnedPulls and adoptTouched).

After: the pair 12 pass, 0 fail; the parallel set 36 pass, 0 fail, twice; the file alone 5 pass, 0 fail.

No door: a test's setup; nothing anyone sees changes. Direction: a red that is not the pull's must not hold it; the parallel check is live (#17537).

Co-Authored-By: Claude Fable 5 <[email protected]>

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs