Commit 8d16c0b
fix(ci): read the ci-red label back, and unflake the arm that ejected PR 669 (BACKLOG #1385) (#789)
* fix(ci): read the ci-red label back, and unflake the arm that ejected PR 669 (BACKLOG #1385)
THE CENSUS IN #1385 IS WRONG BY ONE. There were FOUR failing merge_group CI runs on PR 669, not
three. An unpaginated per_page=100 query returns 100 of total_count 190 and silently drops half the
population; --paginate finds 33249679477, 33250553925, 33253197221 and 33253973185. Each is
attributed below from its own job log, not inferred.
11:15:01Z test (windows-2025) hung 55 min, no FAILED line
11:37:13Z test (windows-2025) test_a_fast_handler_is_untouched -- assert 503 == 200
12:42:51Z windows + sql server 2022 hostile-disposition ratio; cipher-invocations upsert
13:01:54Z windows + sql server 2025 dr/connscale; cipher-invocations upsert
So "three DIFFERENT reasons with no overlap" is not what the logs say: the SQL Server test failed in
BOTH of the last two runs, identically.
TWO THINGS BUILT.
1. tests/test_api_request_timeout.py. The 0.1s deadline is gone from the arms asserting a prompt
handler is UNTOUCHED -- the arm that actually ejected #669 at 11:37 with assert 503 == 200. A
trivial handler's real cost is ~1ms, so 0.1s was not a margin, it was inside the range of a GC
pause on a shared runner. The arms asserting the bound FIRES keep 0.1s, because there the margin
runs the forgiving way: a stall can only delay a refusal, never turn it into a pass.
Raising it costs no discrimination, and that is checked rather than asserted. Mutation A (refuse
unconditionally) reds test_a_fast_handler_is_untouched at the new 5.0s deadline: 3 failed, 6
passed.
While in the file: test_a_disabled_deadline_lets_a_slow_handler_finish asked the FAST route, so it
could not fail for its stated reason. It asks the slow route now. Proven with a controlled arm --
Mutation B (clamp a disabled deadline instead of disabling it) with the NEW body reds 1 of 9; with
the OLD body, same mutation, 9 passed. One variable, mutation held constant.
2. scripts/ci/report_ci_red.py plus 15 tests. failure-signal.yml has written the ci-red label since
PR #716 and nothing read it. This reads it back and names the run, marking merge_group runs as
NOT VISIBLE ON THE PR PAGE -- which is the finding, because that is the state PR 669 was in.
It copies three rules from the writer on purpose: the watched workflow list, failure-only (a
cancelled run is not a red), and the attribution order -- pull_requests[0] first, then the pr-<N>
ref parse GATED ON event == merge_group. That gate is a security control: a branch name is chosen
by whoever opens the branch, and a fork cannot raise a merge_group event. Mutation C (drop the
gate) reds the spoof test; mutation D (count cancelled) reds the cancellation test.
Proven firing, not just unit-tested. Live against this repo it found PR 764, attributed it to
backlog-hygiene run 33802457076, exit 1 -- verified against the API (event=pull_request,
pull_requests=[764]). Against PR 669's real captured runs it reports the merge_group ejection and
the hidden-run error.
ALREADY FIXED BY #738, NOT REBUILT HERE. test_cipher_invocations_upsert_is_atomic_and_additive failed
StoreAcquireTimeout after 30s because the aioodbc pool shared the loop's default executor (8 threads
on a 4-vCPU runner) against pool_size 40, so 20 concurrent upserts deadlocked on the executor queue.
cc5e09e (2026-09-02) gave the store its own executor and names this exact test and error.
STILL OPEN. test_hostile_disposition_header_parses_in_linear_time was waved through as "already a
ratio assertion". It is one, and it ejected #669 anyway, at ratio 8.02 against a bound of 8.0. Left
alone per the brief; recorded in the item because the dismissal does not survive the log.
ruff, ruff format and mypy strict clean; 57 tests green across the touched and neighbouring suites.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* test(tooling): classify the new harness test in the manifest
tests/test_tooling_partition.py::test_every_non_engine_test_is_classified reds
all three required test legs when a test that does not import the engine is
absent from tests/tooling_manifest.txt. This PR adds such a test, so CI could
not go green as it stood.
The manifest is read as a set, so this is a single inserted line at its
alphabetical slot; no existing line moves.
---------
Co-authored-by: wshallwshall <mefordev@messagefoundry.org>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 88009b5 commit 8d16c0b
5 files changed
Lines changed: 592 additions & 13 deletions
File tree
- docs
- scripts/ci
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18686 | 18686 | | |
18687 | 18687 | | |
18688 | 18688 | | |
| 18689 | + | |
| 18690 | + | |
| 18691 | + | |
| 18692 | + | |
| 18693 | + | |
| 18694 | + | |
| 18695 | + | |
| 18696 | + | |
| 18697 | + | |
| 18698 | + | |
| 18699 | + | |
| 18700 | + | |
| 18701 | + | |
| 18702 | + | |
| 18703 | + | |
| 18704 | + | |
| 18705 | + | |
| 18706 | + | |
| 18707 | + | |
| 18708 | + | |
| 18709 | + | |
| 18710 | + | |
| 18711 | + | |
| 18712 | + | |
| 18713 | + | |
| 18714 | + | |
| 18715 | + | |
| 18716 | + | |
| 18717 | + | |
| 18718 | + | |
| 18719 | + | |
| 18720 | + | |
| 18721 | + | |
| 18722 | + | |
| 18723 | + | |
| 18724 | + | |
| 18725 | + | |
| 18726 | + | |
18689 | 18727 | | |
18690 | 18728 | | |
18691 | 18729 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
0 commit comments