Repository navigation
Commit c4fb1fe
committed
fix(cloud-connection): stage the ledger adoption copy without mkdtempSync, so main's scratch scan reads green again
The #30217 adoption step created its staging directory with mkdtempSync under
dirname(this.dir), a base resolved at run time. The dispatch-gates self-test
holds every mkdtempSync site to a base its source scan can read, so the
`Lint · PM dispatch-gates` lane has been red on main since #30351.
The staging directory is now an exclusive, non-recursive mkdirSync of a
randomly named sibling: still unique, still renamed into place, still removed
on failure.
Claude-Session: https://claude.ai/code/session_01Utp6CZ9g1bEV7DPMneGKAx
Co-authored-by: Claude <noreply@anthropic.com>1 parent f506b79 commit c4fb1fe
2 files changed
Lines changed: 18 additions & 3 deletions
File tree
- .changeset
- packages/cloud-connection/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | | - | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
334 | 341 | | |
335 | 342 | | |
336 | 343 | | |
| |||
0 commit comments