Public: anyone can read this; the crew can change it.
The checkouts sweep leaves a running check's own TMPDIR (<run>.tmp) alone (su… #17876
Merged 4h 2m ago, live in production
The checkouts sweep now treats .tmp as belonging to run , so a running check's own TMPDIR is no longer deleted out from under it. This is the change from #17614, landed from this repo. What changed In src/checks/sweep.ts, sweepCheckouts now strips .tmp along with .home, .seeds and .hands before looking up the run.
-
Reviews
ApprovedThe sweep now maps
<id>.tmpto its run, as.home,.seedsand.handsalready were. A live run's TMPDIR survives, and a finished run's or a closed gate's is removed. floor.ts does create<dir>.tmp, so this matches what the floor makes. The change is one regex, the new test covers the live, finished and gate cases, and nothing is dead or added. No page, action or route changed, so the both-doors rule does not apply. I did not run the tests myself. Two things I would do next: (1) close #17614 as superseded once this lands; (2) keep the suffix list in one place (a shared constant used by floor.ts and the sweep), so the next<id>.xdirectory can't be missed the same way. -
Checks
shipped production is serving it deploy 509de83
-
History
- Sweep: a running check's own TMPDIR (<run>.tmp) belongs to its run (#17875) adabfe0
- Flaky test: a jar is checked and in place before the up, readable, and the old AutoStopper is aside (#17874) 9c0dc23
- family-words reads src/ once, not once per sentence, and leaves SLOW (#17872) 49845bf
- Full suite red: test/security-floor-routes.test.ts (#17870) 27f5834
- An awaited Modrinth lookup waits for the one a sync already began, not "Mods:… (#17868) a544da9
- Full suite red: 3 files in check run 01m8xkn7yvvjtbd07e5qhk1rk4 (#17866) c4333e8
- Sentinel: snapshot-failed was degraded 33 minutes today: The last snapshot failed: list chunks/ failed after 5 attempts: an unexpected error has occurred. The newest that lande… (#17863) 5fa2c54
- Sentinel: cloud-watch:digitalocean/prod was degraded 39 minutes today: The forge could not read digitalocean/prod to check it for stray machines (no answer in time); it is not known to be cl… (#17861) de6ec9b
- Cloud account digitalocean/prod shows more than the forge made (#17857) 137546a
- Cloud account hetzner/prod shows more than the forge made (#17856) be9fa4e
- A repository can have its own account order, tried there without reordering the forge (#17843) 14bd626
- Sentinel: memory-growth was degraded 14 minutes today: The forge's own memory is 4774 MiB, over twice its first-hour 1779 MiB and past the 2176 MiB more its database caches m… (#17860) 8d72195
- Sentinel: backup was degraded 43 minutes today: Primary (s3.us-east-005.backblazeb2.com/openplatform-dr-backups) cannot be read: names snapshots/ failed after 5 attemp… (#17858) ddebb72
- Sentinel: cloud-watch:hetzner/prod was degraded 39 minutes today: The forge could not read hetzner/prod to check it for stray machines (no answer in time); it is not known to be clean. … (#17859) 5c2509f
- A Talk reply names its model, and a turn that reaches its limit says so and offers to go on (#17842) 01d8b2c
- Full suite red: test/page-titles.test.ts (#17847) 63507b9
- The most frequent red checks (client JS/CSS ceilings, batched rows, look prerequisites) are fixed at their cause, no rule loosened (#17836) 339cc69
- /signin answers without a stall on the serving thread (#17835) ff7b4dd
- A run shows which account it took and why, and Settings shows each account's place in the order (#17837) 9b29938
- Talk's context meter uses the model's real window, not 200k (#17841) a1797ca
The checkouts sweep now treats <run>.tmp as belonging to run <run>, so a running check's own TMPDIR is no longer deleted out from under it. This is the change from #17614, landed from this repo.
What changed
- In
src/checks/sweep.ts,sweepCheckoutsnow strips.tmpalong with.home,.seedsand.handsbefore looking up the run. The comment above it explains why. - In
test/checks-home-sweep.test.ts, a new test checks four cases:- A live run's
.tmpsurvives the sweep. - A finished run's
.tmpis removed. - A gate's
.tmpsurvives while its row is open. - A gate's
.tmpis removed once its row is closed.
- A live run's
- I did not run the new test against the old regex, so I haven't seen it fail on main.
Checks I ran
bun test test/checks-home-sweep.test.tspasses (10 tests).bun x tsc --noEmitis clean.bun scripts/gate.ts --fixchanged nothing.
What I left out
- Closing #17614 as superseded. That has to happen once this is on main, and I didn't do it.
- The "both doors" rule doesn't apply here, since no page, action, route or tool changed. The commit says
No door: internal sweep fix, no page, action, route or tool changes. - I did not run the full suite. The forge runs it on push.
To try it, run bun test test/checks-home-sweep.test.ts.
The checkouts sweep now treats
<run>.tmpas belonging to run<run>, so a running check's own TMPDIR is no longer deleted out from under it. This is the change from #17614, landed from this repo.What changed
src/checks/sweep.ts,sweepCheckoutsnow strips.tmpalong with.home,.seedsand.handsbefore looking up the run. The comment above it explains why.test/checks-home-sweep.test.ts, a new test checks four cases:.tmpsurvives the sweep..tmpis removed..tmpsurvives while its row is open..tmpis removed once its row is closed.Checks I ran
bun test test/checks-home-sweep.test.tspasses (10 tests).bun x tsc --noEmitis clean.bun scripts/gate.ts --fixchanged nothing.What I left out
No door: internal sweep fix, no page, action, route or tool changes.To try it, run
bun test test/checks-home-sweep.test.ts.Closes #17875