Repository navigation
Commit 071e7db
authored
improvement(ci): fix the stripe-sync flake, stop helm cancelling a publish, attest via actions/attest (#8873)
* improvement(ci): halve the mobile job, narrow the desktop gate, skip proven checks on main, fix the top flake
- e2e (mobile): Chromium and WebKit run as two processes against one app instead of back to back
(each seeds its own fixtures and writes its own report), and every e2e group restores its own
Turbopack dev cache. The job was the PR critical path at ~19.5 min: Chromium's pass (718 s
median) carried the cold compile and WebKit waited it out (310 s). `suite setup` failures are
now logged instead of only reaching the uploaded report.
- dev-cache action: one mount shared by desktop-live and the e2e groups, keyed by app, event,
fork, Next version and the hash of the file that sets the app's environment, so a cache is never
read under NEXT_PUBLIC_* values it was not compiled with. http-e2e.sh stops apps with SIGINT so
the cache write completes, drops a cache Turbopack reports as corrupt, and retries a startup it
aborted once from an empty cache.
- desktop-live-changes.sh: run the live desktop suite when a pull request touches a path it
exercises instead of skipping only docs-like paths. Every genuine desktop-live failure since the
layout change was on a PR the new rule still runs; pushes always run it.
- ci.yml: a `proof` job lets a main push skip the checks when it is a merge whose tree is
identical to its staging parent and a staging push run of that parent passed `checks / ci`;
migrate gates on that proof instead. Any other shape or any error runs the full checks.
- codeql, helm, desktop-e2e skip the staging -> main release PR (main's push and schedule still
run them); helm never cancels a push mid-publish; trigger-promote on 2 vCPU; attestations via
actions/attest with artifact-metadata: write.
- stripe-sync-convergence: start each contender only after the parked transaction holds its locks,
wait on a deadline rather than 200 polls, and release the transaction before failing, so a lost
race no longer hangs the suite's teardown. It was the most frequent flake (9 red runs).
- Integration shard weights refreshed from a recent run; /ship runs the affected workspaces' suites
instead of the full suite locally.
* ci: include the chat page in the desktop gate, scope release-PR skips to this repository, give a cache-retry boot the full deadline
* ci: keep the release PR's CodeQL scan, require the main base for release-PR skips, gate desktop-live on workspace permissions
* ci: keep the desktop live gate's skip-only-unrelated rule
* ci: run the mobile browsers one after the other again
* ci: drop the e2e Turbopack dev cache and keep /ship's full test gate
* ci: drop the main proof job and the release-PR skips1 parent b6476cc commit 071e7db
5 files changed
Lines changed: 194 additions & 153 deletions
File tree
- .github/workflows
- apps/sim
- lib/billing/webhooks
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
| 567 | + | |
| 568 | + | |
568 | 569 | | |
569 | 570 | | |
570 | 571 | | |
| |||
992 | 993 | | |
993 | 994 | | |
994 | 995 | | |
| 996 | + | |
| 997 | + | |
995 | 998 | | |
996 | 999 | | |
997 | 1000 | | |
| |||
1031 | 1034 | | |
1032 | 1035 | | |
1033 | 1036 | | |
1034 | | - | |
| 1037 | + | |
1035 | 1038 | | |
1036 | 1039 | | |
1037 | 1040 | | |
| |||
1041 | 1044 | | |
1042 | 1045 | | |
1043 | 1046 | | |
1044 | | - | |
| 1047 | + | |
1045 | 1048 | | |
1046 | 1049 | | |
1047 | 1050 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
260 | 262 | | |
261 | 263 | | |
262 | 264 | | |
263 | | - | |
| 265 | + | |
| 266 | + | |
264 | 267 | | |
265 | 268 | | |
266 | 269 | | |
| |||
388 | 391 | | |
389 | 392 | | |
390 | 393 | | |
391 | | - | |
| 394 | + | |
392 | 395 | | |
393 | 396 | | |
394 | 397 | | |
| |||
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
376 | 377 | | |
377 | 378 | | |
378 | 379 | | |
379 | | - | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
380 | 385 | | |
381 | 386 | | |
382 | 387 | | |
| |||
399 | 404 | | |
400 | 405 | | |
401 | 406 | | |
402 | | - | |
| 407 | + | |
| 408 | + | |
403 | 409 | | |
404 | 410 | | |
405 | 411 | | |
406 | 412 | | |
407 | | - | |
| 413 | + | |
408 | 414 | | |
| 415 | + | |
409 | 416 | | |
410 | 417 | | |
411 | | - | |
| 418 | + | |
412 | 419 | | |
413 | 420 | | |
414 | 421 | | |
| |||
1037 | 1044 | | |
1038 | 1045 | | |
1039 | 1046 | | |
| 1047 | + | |
1040 | 1048 | | |
1041 | 1049 | | |
1042 | 1050 | | |
| |||
1088 | 1096 | | |
1089 | 1097 | | |
1090 | 1098 | | |
| 1099 | + | |
1091 | 1100 | | |
1092 | 1101 | | |
1093 | 1102 | | |
| |||
1129 | 1138 | | |
1130 | 1139 | | |
1131 | 1140 | | |
| 1141 | + | |
1132 | 1142 | | |
1133 | 1143 | | |
1134 | 1144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1151 | 1151 | | |
1152 | 1152 | | |
1153 | 1153 | | |
| 1154 | + | |
1154 | 1155 | | |
1155 | 1156 | | |
1156 | 1157 | | |
| |||
0 commit comments