Repository navigation
Commit 769d64e
committed
Make the deploy path run every D1 test the full suite runs
test:d1 listed sixteen files. The production deploy workflow runs only the
three split lists, and three of those files — MCP authorization, the
single-renderer lock and the style-scale lock — were in none of them. So a
push straight to main deployed without ever running them. Nothing looked
broken from outside, because pull requests and the nightly run both call
npm run build, which calls the full list.
MCP authorization joins core, where the other identity and security work
already runs. The two lock tests join publication; they read files and
finish in milliseconds, so the lightest job is the right home and the
parallel wall clock does not move.
The real defect was not the wrong lists, it was that being wrong was
invisible: adding a test file means editing two places and forgetting the
second one said nothing. The new check in actions:scope:test compares the
full list against the union of the splits in both directions, rejects a
file that would run twice, and asserts the workflow actually invokes each
split — otherwise a fourth list could be added and left unwired while the
first three checks stayed green.
Verified by putting the gap back: with the two lock tests removed from
publication the check fails with "these files never run on the deploy
path". test:d1:publication passes with its new members, 53 tests.1 parent 88a0ce9 commit 769d64e
2 files changed
Lines changed: 50 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
0 commit comments