Commit c68ffa0
fix(shelley): per-world lazycue diff fixture to avoid parallel-step race
The lazycue suite now runs as two parallel Buildkite steps (vue + react) that
can land on the same agent and share /tmp. Both processes set up the diff-viewer
git fixture at the same fixed path (/tmp/shelley-lazycue-diff-fixture) via
setupDiffFixtureRepo (os.RemoveAll + git init), so they raced: one process's
RemoveAll ran while the other's `git init` was writing .git/hooks, panicking
with "unlinkat .../.git/hooks: directory not empty" and failing the step.
Suffix the fixture path with the world (…-vue / …-react) so each process owns
its own fixture. The path is still deterministic per world, so the LazyCue
description that embeds it hashes to a stable per-world cache key. Regenerated
the two cached DSL entries with the new paths (mechanical path swap + rehash,
no behavior change); verified both worlds hit cache and pass.
Prompt: Now the "vue-rebuild now at ..." lines look ugly. And the Pierre diffs are ugly too. (Follow-up: the parallel lazycue steps from the earlier CI change raced on a shared /tmp fixture.)
Co-authored-by: Shelley <shelley@exe.dev>1 parent 3424a52 commit c68ffa0
3 files changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
436 | | - | |
437 | | - | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
438 | 446 | | |
439 | 447 | | |
440 | 448 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments