This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Commit 511e402
ci(coverage): give the instrumented lane its own per-test budget so the coverage gate can run (#9474)
Part of #9271. ⛔ Deliberately NOT `Fixes` — this closes the proximate
half only; the structural half named at the bottom stays open on the
card.
## What was measured
⭐ **The blind window is 116 consecutive `ci.yml` push runs on `main`** —
runs 17230 → 17738, `2026-09-11T23:17:11Z` → `2026-09-14T07:09:07Z`, **2
days 9 h 42 m**. `Test (coverage)` is `failure` in **116 of 116**. Last
run whose coverage lane was green: run **17227** (`a94e4d073`,
2026-09-11T21:27:02Z), which also published the only `coverage-report`
artifact in the window.
⛔ **objectui#8479's 66-run streak is NOT this streak.** Population: the
500 most recent `branch=main, event=push` runs of workflow 223145786
(runs 15611 → 17738, from 2026-09-07T06:45Z). It holds **221
successes**, the newest being run 17227 — so the 2026-09-07 streak
healed and this is a second, later one. ⇒ the card's written re-grade
trigger ("longer than roughly a week") **does not fire**; `priority:p2`
stands on duration.
## The break in the chain, read rather than inferred
⭐ The blobs are **not missing**. On red run 17738 all four
`coverage-blob-N` artifacts exist and are live (7.8–8.7 MB each); the
green run 17227 carries the same four **plus** `coverage-report`.
`blobs=skipped` in the sentinel is the *counting step* being skipped,
not an absent blob.
The break is that `coverage-report` gates **every** step on
`needs.test-coverage.result == 'success'`. One timed-out row reds a
shard, so checkout, download, blob-count and merge are all skipped — and
the merge is the only place `coverage.thresholds` is enforced, because
the shard legs override all four to `0`. Verbatim from run 17738:
```
shards=failure blobs=skipped merge=skipped report=skipped — no complete merged report was
produced for db6aa19, so the coverage thresholds were
never evaluated on this commit
```
## Instrumentation isolated as the single variable
The same-commit CI comparison could never settle this: `test-coverage`
is `if: github.event_name == 'push'` and `test` is `if:
github.event_name != 'push'`, so instrumentation and trigger event are
confounded **by construction**. Isolated locally instead — same tree,
same container, same command, `--coverage` the only difference:
| population: the 146 rows of the two heaviest sweep files, tree
`db6aa19a9` | no coverage | coverage |
|:--|--:|--:|
| rows exceeding the production 15000 ms budget | **0** | **5** |
| sum of all row durations | 30.3 s | 115.5 s (**3.81×**) |
| heaviest row | 6.6 s | 25.3 s |
The five rows that blow the budget under instrumentation are exactly the
five CI sites in those files, and the ordering corroborates: the
marginal row (15.0 s locally) is the one that fires 11× in CI, while the
24–25 s rows fire 64–94×.
## 1 parent c0dab26 commit 511e402
1 file changed
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1079 | 1079 | | |
1080 | 1080 | | |
1081 | 1081 | | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
1082 | 1119 | | |
1083 | 1120 | | |
1084 | 1121 | | |
1085 | 1122 | | |
| 1123 | + | |
1086 | 1124 | | |
1087 | 1125 | | |
1088 | 1126 | | |
| |||
0 commit comments