Repository navigation
Commit f02f468
committed
Two host assumptions the build scripts had never left this machine to test [build]
Both surfaced on the first CI run and both are real portability defects,
not workflow mistakes.
macOS: /usr/bin/lockf is absent on macOS 14, and therefore on the
macos-14 runner, while it is present on 26. zsh reported "no such file or
directory" and the `||` branch turned that into "another macOS AudioHub
build is already running" — on a fresh VM where nothing else was running
at all. The lock is now taken when lockf exists and its absence is
announced instead of swallowed, because degrading is only defensible on
a single-use runner that builds once, never on a developer machine.
Windows: `npm --prefix <dir> install` redirects where packages are
written, but which package.json npm READS is version-dependent. The
runner's npm kept reading the current directory and failed with ENOENT on
the repository root, while the same line worked on a developer box with
an older npm. Running npm from inside the frontend directory has no such
ambiguity.1 parent 30233d8 commit f02f468
2 files changed
Lines changed: 31 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
51 | 67 | | |
52 | 68 | | |
53 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
341 | 352 | | |
342 | 353 | | |
343 | 354 | | |
| |||
0 commit comments