Repository navigation
Commit 3eb1d71
committed
simplify: drop the tmpdir ratchet guard, keep the leak check local-only
Two guards were more than this needed:
- check:test-tmpdir-helper (ratchet on raw fs.mkdtemp call counts)
protects nothing a bug could actually trigger — the leak is already
fixed architecturally regardless of call-site count, so this was
pure style/discoverability nudging. Dropped the script and its
check:tooling/CI wiring; kept mkdtempForTest/mkdtempForTestSync in
tmp-dir.ts as the documented option without enforcing it.
- check:tmpdir-leaks in CI added little: GitHub-hosted runners are
destroyed after each job, so a leftover directory there is harmless
by construction, and a worker getting killed mid-run would already
surface as a job failure some other way. Its real value is local,
on the long-lived dev machines where the original leak actually
accumulated — kept it wired into check:unit, dropped the CI step.1 parent b74f84a commit 3eb1d71
4 files changed
Lines changed: 2 additions & 59 deletions
File tree
- .github/workflows
- scripts
- src/__tests__/test-utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | 215 | | |
219 | 216 | | |
220 | 217 | | |
| |||
266 | 263 | | |
267 | 264 | | |
268 | 265 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | 266 | | |
277 | 267 | | |
278 | 268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
143 | 142 | | |
144 | 143 | | |
145 | | - | |
| 144 | + | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 10 | + | |
14 | 11 | | |
15 | 12 | | |
16 | 13 | | |
| |||
0 commit comments