Commit f48f3f1
ci(test): e2e and live filename tiers move to a nightly run on main (#16481)
* ci(test): e2e and live filename tiers move to a nightly run on main
One switch, OS_TEST_TIERS (queue | nightly, unset = queue), read once in
scripts/nightly-tiers.mjs and applied in packages/cli's tier walk — the
one config that owns tier files (60 *.e2e.test.ts; the tree owns no
*.live.test.*). turbo.json hashes the variable into every test task so a
nightly can never replay a queue-mode cache entry. ci.yml's shard step
spells queue; test-nightly-tiers.yml runs the two tiers on main, two
shards through the existing partitioner, and files or refreshes one
deduplicated card on red.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
* ci(nightly-tiers): pull_request paths trigger and a path-less population declaration
dispatch-gates refuses a family reachable only from a scheduled workflow, so
the nightly carries the patrol posture: a pull_request trigger paths-filtered
to its own file and the switch reader. The reader declares no-path-population
(its self-test drives a temp fixture) and resolves vitest's CLI entry by
walking up from require.resolve('vitest') instead of spelling a subpath the
derivation read as a population. Concurrency keyed per ref so a PR run never
queues behind main's.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
* test(cli): the secret-orphans driver contract declares the key its production-posture boot needs
The test sets NODE_ENV=production and boots a real kernel; LocalCryptoProvider
then needs a stable key, which this test never supplied. It was green only when
an earlier dev-mode boot in the same job had persisted one to the runner's
home directory (the ordering coupling serve-process.ts documents) — and with the
e2e tier no longer in the queue run, that sibling is gone. Set OS_SECRET_KEY to
a fresh random value in beforeAll, restored in afterAll beside NODE_ENV; nothing
is written to disk and nothing is depended on from a sibling. Ruled by the seat
for exactly this one file.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 32c917d commit f48f3f1
8 files changed
Lines changed: 1309 additions & 21 deletions
File tree
- .github/workflows
- packages/cli
- src/commands/secret
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
500 | 508 | | |
501 | 509 | | |
502 | 510 | | |
| |||
Large diffs are not rendered by default.
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| 121 | + | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
| |||
154 | 160 | | |
155 | 161 | | |
156 | 162 | | |
157 | | - | |
| 163 | + | |
158 | 164 | | |
159 | 165 | | |
160 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
88 | 118 | | |
89 | 119 | | |
90 | 120 | | |
91 | 121 | | |
92 | 122 | | |
| 123 | + | |
93 | 124 | | |
94 | 125 | | |
95 | 126 | | |
| |||
164 | 195 | | |
165 | 196 | | |
166 | 197 | | |
167 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
168 | 205 | | |
169 | 206 | | |
170 | 207 | | |
| |||
176 | 213 | | |
177 | 214 | | |
178 | 215 | | |
179 | | - | |
| 216 | + | |
180 | 217 | | |
181 | 218 | | |
182 | 219 | | |
183 | | - | |
| 220 | + | |
184 | 221 | | |
185 | 222 | | |
186 | | - | |
| 223 | + | |
187 | 224 | | |
188 | 225 | | |
189 | 226 | | |
190 | 227 | | |
191 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
566 | 604 | | |
567 | 605 | | |
568 | 606 | | |
569 | 607 | | |
570 | 608 | | |
571 | 609 | | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
577 | 615 | | |
578 | | - | |
| 616 | + | |
579 | 617 | | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
586 | 624 | | |
| 625 | + | |
587 | 626 | | |
588 | 627 | | |
589 | 628 | | |
| |||
662 | 701 | | |
663 | 702 | | |
664 | 703 | | |
665 | | - | |
666 | | - | |
667 | | - | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
668 | 708 | | |
669 | 709 | | |
670 | 710 | | |
671 | 711 | | |
672 | 712 | | |
673 | 713 | | |
674 | 714 | | |
675 | | - | |
| 715 | + | |
676 | 716 | | |
677 | 717 | | |
678 | 718 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments