Commit 9f17e35
test: two failures the local filesystem was hiding
The container helper read the exit code by taking everything after its marker
and parsing it as a number. stdout and stderr arrive on one stream there, and
which lands last is buffering rather than order - so a run that writes a
diagnostic to stderr can put it AFTER the marker, and the parse then swallows
it. It failed on amd64 and passed on arm64 in the same run, which is the
signature. The first line after the marker is what it needs, and that does not
depend on interleaving. Pre-existing: any test using the helper could have hit
it at any time.
The symlink bound was mine. It caps the measurement to prove the walk did not
follow the link, and 10,000 had no room left in it once entries are measured by
what they occupy: on ext4 a three-entry tree is 12,288 bytes of blocks, while
APFS reports none for a directory at all - so the same figure passed here and
failed in CI. Raised to 50,000, which is an order of magnitude below the 100,000
sitting behind the link and four times above the floor.
Reproduced rather than guessed at: run in a Linux container, a directory reports
8 blocks where the local one reports none.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 7ae3f43 commit 9f17e35
2 files changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
134 | 144 | | |
135 | 145 | | |
136 | 146 | | |
| |||
0 commit comments