Repository navigation
Commit ef3db95
authored
ci: build the docsite once, run its browser contracts on that build, keep docsite-test as the required join (#9877)
* ci: build the docsite once in docsite-build, run its browser contracts on that build in docsite-browser, and keep docsite-test as the required join
docsite-build builds the packages and the docsite once, runs the data tests
and the production registry gate, and uploads the build (about 70 MB: the
server and static output, generated data and theme, the ShadCN registry and
the playground's vendored assets; no compile cache, traces, source maps or
file traces) stamped with its commit. docsite-browser downloads that build,
fails unless it is of the commit it checked out, and runs the browser
contracts as a one-leg matrix planned by recorded time. docsite-test stays
the required context as a join that fails on a failed, cancelled or skipped
leg. The contracts skip only for component tests, stories, spec records and
changesets that are not shared infrastructure (full_suite). The interaction
planner becomes playwright-legs.mjs for all three leg lanes.
* Merge branch 'main' into ci/docsite-build-browser-split1 parent 3ac3d02 commit ef3db95
14 files changed
Lines changed: 665 additions & 276 deletions
File tree
- .github
- scripts
- workflows
- scripts/lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | 48 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
186 | 195 | | |
187 | 196 | | |
188 | 197 | | |
189 | 198 | | |
190 | 199 | | |
| 200 | + | |
191 | 201 | | |
192 | 202 | | |
193 | 203 | | |
| |||
0 commit comments