Repository navigation
Commit 65f625c
authored
ci: stop rerunning failed integration tests (#22670)
* ci: stop rerunning failed integration tests
The '|| ... -f' fallback reruns the whole suite (each part is one jest file), adding minutes and hiding flaky tests behind a green job.
* test: re-touch the change close-pending waits on until the watcher sees it
On macOS a write made before the watcher is ready goes unseen, so the loader barrier never trips and the case times out.
* test: rewrite unseen watch changes instead of only touching their mtime
On macOS a re-created file went unseen through three mtime-only re-touches (restored-commonjs-reexport). Rewriting the file emits a content change, and two more tries give a slow runner room.
* test: keep touching an unseen directory instead of reading it
A file created in a missing directory is tracked as that directory, which readFileSync rejects with EISDIR inside the retry timer.
* test: revert the watch re-touch changes
Rewriting unseen files and retrying longer did not help on macOS: the watcher still missed the changes, so the harness goes back to main's version.
* test: attach the printed stylesheet without a fake load event
FakeDocument fires onload 10 ms after appendChild, so on a slow runner the 'still pending' check raced it. A server-rendered link is parsed, not inserted, so attach it directly.
* chore(deps): update watchpack to 2.6.1
The macOS integration jobs missed file changes with 2.5.2; with the
jest rerun gone they now show whether 2.6.1 sees every change.
* test: drop the Firefox font-family quirk the current Firefox no longer has
Firefox stable now drops a family name's quotes from its computed value,
so the quirk check and the filed New Century Schoolbook divergence both
failed. Chrome and WebKit entries are unchanged.
* test: stop waiting for a change the finished build no longer depends on
A step that drops an import and deletes the imported file can see the
importer's change first; the rebuild stops watching the deleted file, so
its removal is never reported and re-touching cannot recreate it.1 parent e538a18 commit 65f625c
8 files changed
Lines changed: 39 additions & 27 deletions
File tree
- .changeset
- .github/workflows
- test
- configCases/css/server-rendered-stylesheet-pending
- specCases
- templates
- watchCases/simple/close-pending
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
625 | | - | |
| 625 | + | |
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
630 | | - | |
| 630 | + | |
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | 273 | | |
278 | 274 | | |
279 | 275 | | |
| |||
2690 | 2686 | | |
2691 | 2687 | | |
2692 | 2688 | | |
2693 | | - | |
2694 | | - | |
2695 | | - | |
2696 | | - | |
2697 | | - | |
2698 | | - | |
2699 | | - | |
2700 | | - | |
2701 | | - | |
2702 | | - | |
2703 | | - | |
2704 | | - | |
2705 | | - | |
2706 | | - | |
2707 | 2689 | | |
2708 | 2690 | | |
2709 | 2691 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
449 | 466 | | |
450 | 467 | | |
451 | 468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10142 | 10142 | | |
10143 | 10143 | | |
10144 | 10144 | | |
10145 | | - | |
10146 | | - | |
10147 | | - | |
10148 | | - | |
| 10145 | + | |
| 10146 | + | |
| 10147 | + | |
| 10148 | + | |
10149 | 10149 | | |
10150 | 10150 | | |
10151 | 10151 | | |
| |||
0 commit comments