Commit 2fd714f
ci: hourly full run on main, push narrows to the affected set, and a filer for a red one (#16991)
* ci: hourly full run on main; push narrows to the affected set
- push on main computes the Test Core package set with --affected against
github.event.before; a zero or unresolvable sha falls back to the full
list, loudly.
- schedule '0 * * * *' + workflow_dispatch on ci.yml and lint.yml run the
full battery, with their own concurrency group so a merge cannot cancel
them.
- select-shard-timings-run reads the scheduled run, not the push run.
- a new workflow_run filer opens or refreshes one deduplicated card per
watched workflow when a scheduled run is red.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GKcPZbMoGq7WPzKLfRBTU
* ci: drive the card decision through the tested module
fileOrRefreshCard holds the whole create-or-refresh judgement, so the
acceptance property (one red run files one card; the next refreshes it and
files no second) is driven by the self-test against a mutable board rather
than asserted in a workflow comment. The filer keeps only the API callbacks.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GKcPZbMoGq7WPzKLfRBTU
* ci(shard-timings): zero candidate runs is NOT MEASURED, not a finding
The refresh lane read every non-zero from the run selector as a refusal, so
an EMPTY candidate list printed "NO ELIGIBLE RUN among the 0 ... every one
was censored, failed, or has lost its artifacts" and failed the job. Nothing
had been examined, and none of those three causes had occurred.
Split into two legs with two exits and two messages: an empty candidate list
exits EXIT_PREREQUISITE_NOT_MET (3, the repo-wide code), candidates that
existed and were all rejected keep exit 1 and keep the sentence naming the
causes that now apply. The workflow reads 3 as NOT MEASURED, leaves the
dataset alone, stays green, and says loudly in its annotation and its step
summary that a persistent NOT MEASURED is a defect rather than a steady
state. The step's own run block is lifted out of the YAML and driven under
bash against a stub node on all three exit codes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GKcPZbMoGq7WPzKLfRBTU
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent fe2b755 commit 2fd714f
8 files changed
Lines changed: 2215 additions & 77 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
41 | 63 | | |
42 | 64 | | |
43 | 65 | | |
44 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
45 | 88 | | |
46 | | - | |
| 89 | + | |
47 | 90 | | |
48 | 91 | | |
49 | 92 | | |
| |||
54 | 97 | | |
55 | 98 | | |
56 | 99 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
62 | 107 | | |
63 | 108 | | |
64 | 109 | | |
| |||
100 | 145 | | |
101 | 146 | | |
102 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
103 | 163 | | |
104 | 164 | | |
105 | | - | |
| 165 | + | |
106 | 166 | | |
107 | 167 | | |
108 | 168 | | |
| |||
473 | 533 | | |
474 | 534 | | |
475 | 535 | | |
476 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
477 | 544 | | |
478 | 545 | | |
479 | 546 | | |
480 | 547 | | |
481 | 548 | | |
482 | 549 | | |
| 550 | + | |
483 | 551 | | |
484 | 552 | | |
485 | 553 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
28 | 46 | | |
29 | 47 | | |
30 | 48 | | |
| |||
68 | 86 | | |
69 | 87 | | |
70 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
71 | 95 | | |
72 | | - | |
| 96 | + | |
73 | 97 | | |
74 | 98 | | |
75 | 99 | | |
| |||
3402 | 3426 | | |
3403 | 3427 | | |
3404 | 3428 | | |
| 3429 | + | |
| 3430 | + | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
| 3434 | + | |
| 3435 | + | |
| 3436 | + | |
| 3437 | + | |
| 3438 | + | |
| 3439 | + | |
| 3440 | + | |
| 3441 | + | |
| 3442 | + | |
| 3443 | + | |
| 3444 | + | |
| 3445 | + | |
| 3446 | + | |
| 3447 | + | |
| 3448 | + | |
| 3449 | + | |
| 3450 | + | |
| 3451 | + | |
| 3452 | + | |
| 3453 | + | |
| 3454 | + | |
| 3455 | + | |
| 3456 | + | |
| 3457 | + | |
3405 | 3458 | | |
3406 | 3459 | | |
3407 | 3460 | | |
| |||
0 commit comments