Commit 7f5babc
fix(ci): unblock E2E + Zig FFI Tests after #150 cartridge.json edits
Two follow-up failures on #150's first CI run, each fixed at source:
1. **Zig FFI Tests** — failed with "no build.zig file found" for
orchestrator-lsp-mcp. Root cause: the scope step's `git diff
--name-only -- 'cartridges/**'` pulls a cartridge into the test
set as soon as ANY file under it changes — including
cartridge.json. My PR added a `status` field to 15 cartridges'
cartridge.json, which pulled orchestrator-lsp-mcp into scope, but
that cart's build.zig lives at `ffi/zig/build.zig` (deeper nesting)
so the workflow's `cd cartridges/$cart/ffi && zig build test` fell
over. Tightened the pathspec to `cartridges/*/ffi/**` so only
ffi/-relevant diffs scope a cart in — matches the workflow's own
`on.paths` filter, which was already `cartridges/**/ffi/**` (the
pathspec and the diff filter were inconsistent before).
2. **E2E — Server did not start within 10 seconds** — Elixir backend
was *found* (the setup-beam fix from the first commit worked), but
`mix run --no-halt` on a cold runner spends most of the 10s window
compiling deps. Two changes: (a) added `mix compile` as a workflow
step so deps land in `_build/` before the test starts the server;
(b) bumped the script's wait window from 10s (50 × 200ms) to 60s
(300 × 200ms) so a slow CI cold start doesn't false-fail.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 794733a commit 7f5babc
3 files changed
Lines changed: 21 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
139 | 142 | | |
140 | | - | |
141 | | - | |
| 143 | + | |
| 144 | + | |
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
| |||
0 commit comments