Repository navigation
ci: the selection replay record covers the story rule; a log download retries a server error - #11317
Conversation
… retries a server error The record is regenerated with the Chromium lane's story rule (#11250). Every verdict matches the earlier record: 144 no failure, 4 caught, 4 reviewed, 1 out of scope. Three pull requests that change only stories now replay a narrow selection with no failure (#9672, #10271, #10944). GitHub's job-log endpoint answers 502 now and then, so failingSpecs tries a server error again, up to four times, before it calls a log unreadable.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
| Before | After | Change | |
|---|---|---|---|
| Job-minutes per PR update | 118.9 | 118.9 | 0 |
| Runner pool, runner-minutes a day | 54,138 | 54,138 | 0 (0%) |
| Average concurrent jobs | 37.6 | 37.6 | 0 |
| Time to green (median → this run) | 25.2 min | 20.9 min | −4.3 min |
| Runs a day | 455 | 455 | 0 |
Not measured (the jobs that use these keep their recent minutes above): .github/scripts/interaction-selection-replay.mjs, .github/scripts/interaction-selection-replay.test.mjs.
Assumptions: before is each job's average over the last 20 pull-request runs; after keeps that for unchanged jobs and uses this run's minutes for added or changed ones, weighted by how often each changed job ran in those runs; runs a day averages the seven whole days before today; time to green compares this run with the median of those runs that ran the same jobs.
Generated by PR Enrichment workflow | View full report
There was a problem hiding this comment.
Changes requested: the regenerated record and the log retry check out, but the description and the commit message misstate which pull requests narrowed.
- The Result paragraph and the commit message say #9672, #10271 and #10944 "change only stories" and call #9672 and #10271 "Button stories", but #9672 also changes
useDrawerDialogPresence.ts, #10944 also changesAvatar.tsx, and the stories are Drawer, TableSelection and Avatar (Button's specs run because those stories importButton), so please reword both, for example as "three pull requests whose story was their only full-suite trigger".
Optional: failingSpecs still waits 20 s after its fourth and last try (interaction-selection-replay.mjs:187); guarding that wait with attempt < LOG_ATTEMPTS and testing four 502s in a row would close it.
Claims and files checked
- Claim: the earlier record predated the story rule, so it could not show how a story change is treated — verified.
- Claim: the record is regenerated over the same 153 pull requests with the current selector, story rule included — verified; every row the story rule can change reproduces exactly.
- Claim: a log download is retried after a server error, up to 4 times with backoff — verified as 4 tries in all, waiting 5, 10, 15 and 20 s.
- Claim: GitHub's log endpoint returned 502 on some attempts during the author's run — not checkable from the change.
- Claim: before this change a single 502 marked a pull request "failures unknown" — verified.
- Claim: every verdict matches the earlier record (144 no failure, 4 caught with the same failing specs, 4 reviewed, 1 out of scope) — verified.
- Claim: there are no escapes — verified.
- Claim: three pull requests that change only stories now replay a narrow selection with no failure — false; the narrowing and the absence of failures hold, but two of them also change component source.
- Claim: #9672 and #10271 are Button stories that select ButtonHitArea and the specs that open them — false; they are Drawer and TableSelection stories that import
Button. - Claim: #10944's story reaches no interaction spec — verified.
- Claim: full-suite rows go from 77 to 74 — verified.
- Claim: the new tests read a log after one retry following a 502 and give up at once on another error — verified; both pass.
- Claim: no CI impact — verified; no workflow runs the script.
- File
.github/interaction-selection-replay.json— clear. - File
.github/scripts/interaction-selection-replay.mjs— non-blocking note (the trailing 20 s wait). - File
.github/scripts/interaction-selection-replay.test.mjs— clear.
failingSpecs no longer waits after its fourth and last try, so a log that keeps answering 5xx gives up after 30 s of waits, and a test pins four server errors in a row. This also corrects the earlier commit's wording: the three pull requests that now replay a narrow selection (#9672, #10271, #10944) are ones whose story was their only full-suite trigger, not ones that change only stories. Their stories are Drawer, TableSelection and Avatar; Button's specs run because those stories import Button.
There was a problem hiding this comment.
Approved. The regenerated replay record checks out: all 153 rows reproduce under the lane's current selector at their merge commits, every verdict and failing-spec list is unchanged, and there are no escapes. The log retry stops after four tries and waits only between them, and its three new tests pass in CI.
Claims and files checked
- Claim: the earlier record predated the story rule, so it could not show how a story change is treated — verified.
- Claim: the record is regenerated over the same 153 pull requests with the lane's current selector, story rule included — verified; every row reproduces exactly.
- Claim: a log download is tried again after a server error, up to 4 times, waiting 5, 10 and 15 s between tries — verified, as 4 tries in all.
- Claim: GitHub's log endpoint answered 502 on some attempts during the author's run — not checkable from the change.
- Claim: before this change a single 502 marked a pull request "failures unknown" — verified.
- Claim: every verdict matches the earlier record (144 no failure; 4 caught, #4259, #10128, #10577 and #10588, with the same failing specs; 4 reviewed; 1 out of scope) — verified.
- Claim: there are no escapes — verified.
- Claim: three pull requests whose story was their only full-suite trigger now replay a narrow selection, all with no failure — verified.
- Claim: #9672 (Drawer story plus
useDrawerDialogPresence.ts) and #10271 (TableSelection story) both importButton, so Button's specs,ButtonHitAreaamong them, run beside their own — verified. - Claim: #10944 (Avatar story plus
Avatar.tsx) opens no interaction spec through its story — verified; Avatar and its dependents have none either. - Claim: full-suite rows go from 77 to 74 — verified.
- Claim: the new tests read a log after one retry following a 502, give up after four 502s with waits of 5, 10 and 15 s and none after the last, and give up at once on another error — verified; all three pass.
- Claim: no CI impact — verified; no workflow runs the script.
- File
.github/interaction-selection-replay.json— clear. - File
.github/scripts/interaction-selection-replay.mjs— clear. - File
.github/scripts/interaction-selection-replay.test.mjs— clear.
Who this helps
Whoever reviews the evidence behind AST-030 FR31, the Chromium interaction lane's selection. The committed replay predated #11250's story rule, so it could not show how the lane now treats a story change.
What changes
.github/interaction-selection-replay.jsonis regenerated over the same 153 pull requests with the lane's current selector, the story rule included.failingSpecsin the replay script tries a job-log download again after a GitHub server error (HTTP 5xx), up to 4 times, waiting 5, 10 and 15 s between tries. During this run GitHub's log endpoint returned 502 on some attempts and full logs on others, so a single 502 would have marked a pull request "failures unknown".Result
Every verdict matches the earlier record: 144 no failure, 4 caught (#4259, #10128, #10577, #10588, with the same failing specs), 4 not an escape (reviewed), 1 out of scope. There are no escapes.
Three pull requests whose story was their only full-suite trigger now replay a narrow selection instead of the full suite, all with no failure:
useDrawerDialogPresence.ts) and docs(TableSelectionToolbar): a recipe for selecting every matching row across server pages #10271 (a TableSelection story): both stories importButton, so Button's specs,ButtonHitAreaamong them, run beside their own;Avatar.tsx): its story's scope opens no interaction spec.Full-suite rows go from 77 to 74.
Tests
interaction-selection-replay.test.mjs: a 502 followed by a log is read after one retry; four 502s in a row give up with waits of 5, 10 and 15 s and none after the last try; a non-server error gives up at once.CI impact
None: this is a maintainer script and its record.