Commit d2750c8
ci(github-actions): install the SurrealDB CLI — Groups E/J spawn it as a child process
The first CI run did exactly its job and failed on itself. All sixteen images
built; the unit-test job died with `spawn surreal ENOENT`.
services/record-surrealdb-resolver's test/domains.test.ts is not a pure unit
test — it starts a real `surreal start … memory` as a child process and talks
to it. On a developer machine that binary is already on PATH, so the suite
passes locally and only fails on a clean runner.
That is the same laptop-vs-clean-machine asymmetry that hid the missing
tsconfig COPY for twelve days, and it is worth naming: I verified all five test
commands locally before committing the workflow, and that verification was
worthless for this failure mode for precisely the reason CI exists.
Installs the CLI and asserts it is on PATH before the groups run, so a future
install-script change fails on a legible line rather than inside vitest.
Files changed:
- .github/workflows/ci.yml
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PZJvZWco3z7SR2dEhFqEjA1 parent 1faff16 commit d2750c8
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
95 | 108 | | |
96 | 109 | | |
97 | 110 | | |
| |||
0 commit comments