Skip to content

Describe the one test that still skips in CI, not the nine that don't - #63

Merged
ninjudd merged 1 commit into
mainfrom
ci/refresh-test-comment
Aug 8, 2026
Merged

ninjudd merged 1 commit into
mainfrom
ci/refresh-test-comment

Conversation

@ninjudd

@ninjudd ninjudd commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

The comment above pnpm test in the Linux job said nine tests skip there — say (6) and afconvert (3) — on capability probes in src/testing/platform.ts, and then spent four lines explaining that the four affected files hold 72 tests so the other 63 still run. None of that is true any more. Chunk 5 of render-pipeline.md deleted the say rule and retired afconvert, which took every one of those guards and the probe file with them: src/testing/platform.ts was deleted in bdc1d5a and nothing imports it. A comment naming a file that is not in the tree is worse than no comment, because it sends the next reader looking for it.

What actually happens is one skip, not nine. On the Linux job of run 31242978376 (main at e312acb) vitest reported 396 passed, 1 skipped of 397, and the skip is the sclang integration case in src/graph/build.test.ts, guarded by describe.skipIf(!sclangPresent). The macOS job of that same run reported 396 passed and 1 skipped as well, because SuperCollider is installed on neither runner — and sclang is not macOS-bound in the first place, so this is a missing dependency rather than a Linux gap. Run locally with sclang present, all 397 pass. The new comment says that, and says the daemon protocol tests run in null-output mode, which is the other reason a Linux green is worth believing.

The same stale count appeared twice more in the same file, so all three are corrected together rather than left to contradict each other: the top-of-file comment had the macOS job "covering the nine tests that need a macOS binary", and the macOS pnpm test comment justified itself as "the whole suite, not the nine alone". The consequence worth writing down, which the top comment now does, is that with nothing left in the suite shelling out to a macOS binary the two jobs run the same tests. That is the split working, not redundancy in it — the Linux job is the fast gate that also carries typecheck and the pyright gate, and the macOS job runs those same tests against the CoreAudio build of the daemon on the platform the product ships on (overview.md "V1 platform scope").

The plans were already right and only the workflow lagged: linux-portability.md decision 3 records the retirement as "Deleting it retires all nine platform-guarded tests rather than the three the chunk expected", and its opening already noted that the SuperCollider tests skip on macOS CI too. So no docs change is needed here, only the comment that drifted away from them.

Comments only — no workflow steps, jobs, or commands changed. pnpm typecheck passes and pnpm test is 397 passed locally.


Note

Low Risk
Comment-only changes with no CI behavior, security, or runtime impact.

Overview
Comments-only update to .github/workflows/ci.yml — no jobs, steps, or commands change.

Stale documentation claimed nine tests skipped on Linux (say / afconvert via src/testing/platform.ts). That file and those guards were removed in earlier work; the suite no longer shells out to macOS-only binaries. CI now skips a single test: the sclang integration case in src/graph/build.test.ts (describe.skipIf(!sclangPresent)), because SuperCollider is not installed on either runner (not a Linux-specific gap).

The top-of-file and macOS pnpm test comments are updated to say both jobs run the same tests: Linux remains the fast gate (typecheck, pyright, daemon on ALSA/null-output); macOS still validates the CoreAudio daemon build on the shipping platform.

Reviewed by Cursor Bugbot for commit e41d1e1. Configure here.

The comment above `pnpm test` in the Linux job counted nine skips against
capability probes in `src/testing/platform.ts`. That file was deleted in
bdc1d5a, along with the `say` rule and `afconvert`, so all nine guards
went with it.

The real number, measured on the Linux job of run 31242978376 at main
e312acb, is one: the sclang integration case in `src/graph/build.test.ts`.
The macOS job of that same run skips it too, so it is not a Linux gap.

The stale count appeared twice more in the file — the top comment and the
macOS `pnpm test` comment — and both are corrected here for one reason.
@ninjudd

ninjudd commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

Starting review of e41d1e1.

@ninjudd

ninjudd commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

Reviewed e41d1e1 — no findings. Comment-only diff, so the review was about whether each claim is true; every one of them checks out.

The load-bearing count is right. Linux on run 31242978376 (main at e312acb) reported 396 passed | 1 skipped (397), and the per-file line pins the skip to src/graph/build.test.ts (31 tests | 1 skipped). The describe.skipIf(!sclangPresent) block spans lines 436–485 and holds exactly one it — the four its after it belong to describe('play resolution') and describe('query and explain'), which run — so "one test skips" is the whole story for that file, not a block that happens to contain one named case. macOS on the same run reported 396 passed | 1 skipped (397) too, so "the macOS job skips the same test" and the top comment's "the two jobs now run the same tests" both hold empirically rather than by inference.

The old comment's premise really is gone: src/testing/platform.ts was deleted in bdc1d5a and nothing references it except the render-pipeline.md line that says it is gone; say.ts and say.test.ts are both absent. The absolute claim "nothing in the suite shells out to a macOS binary any more" survives a grep for spawn/execFile across src/ — the one macOS binary left is afplay in the field play fallback at src/cli.ts:320, and no test exercises it, which is why the claim is scoped to the suite and stays true.

Citations verified rather than assumed. render-pipeline.md §6 is Chunks and its chunk 5 says both halves the comment attributes to it — "say is deleted instead" and "retires all nine platform-guarded tests". linux-portability.md decision 4 is where the nine are described (the four files holding 72 tests), and it does carry an "Amended on implementation" paragraph saying the macOS job runs the whole suite, so "decision 4's amendment" points at something real. overview.md "V1 platform scope" is at docs/overview.md:47. The Linux job does carry pnpm typecheck and all three pyright gates. And the macOS daemon is the CoreAudio build — its link line pulls -framework CoreAudio.

I also checked the body's claim that no docs change is needed, since that is the kind of assertion that quietly leaves a second stale copy behind. It holds: "nine" appears nowhere outside those two plans, and where it appears there it is inside shipped-chunk records and decision 4's own history rather than a present-tense description of the suite. docs/build-graph.md already records say as removed. Nothing else in the tree repeats the claim this PR corrects.

@ninjudd
ninjudd merged commit 63ab896 into main Aug 8, 2026
4 checks passed
@ninjudd
ninjudd deleted the ci/refresh-test-comment branch September 28, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant