You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(ci): pre-board guard lane is red on six unlisted skips in live_service_probe_test once the leak guard passes #21389
With the sys.modules leak guard no longer failing the lane's shards (fix in PR #21388 for #15169), a run of the pre-board guard lane on that branch had all six guard shards and the types job green — 18982 tests executed against a floor of 16255, 0 failed — and the lane's verdict was still red, for one reason:
lane problem: 6 skipped test(s) are not on the reviewed skip allowlist
All six are in one file, autobot_shared/live_service_probe_test.py:
Skip reason reported
Tests
"the backend API is not listening on — this test drives a live service"
These were not seen when the allowlist was built from -rs evidence, because the leak guard was ending those shards red before the skip accounting mattered. The lane is doing its job (an unlisted skip is red); what is missing is the review of these six.
Two things need judging, not just listing:
These tests are about the skip helpers. A test whose subject calls pytest.skip should assert that the helper skips (e.g. with pytest.raises(pytest.skip.Exception)) and then PASS — if instead the helper's skip propagates and marks the test itself skipped, the test asserts nothing and belongs with the silent guards in ci: guard tests that skip on every CI run — the rule they enforce is never checked #21371, not on an allowlist.
Only if a skip is genuinely by design in every CI context does it get an allowlist entry with its class and reason.
Acceptance criteria
Each of the six tests is classified: (a) fixed so it executes and asserts the helper's skip behaviour, or (b) allowlisted with class and reason — with the evidence for the choice.
Fixed in #21388, landed via merge train #21394 (merge commit 923b9e902e), checked 2026-11-12 (Riga).
Guard-lane run on main: https://github.com/mrveiss/AutoBot-AI/actions/runs/43280952189 (head 923b9e902e, completed 2026-11-12 21:07 Riga, conclusion success). Result job lines: ## Pre-board guard lane: green_with_skips; | guards (18989 executed, floor 16255, 0 failed, 53 skipped) | success_with_skips |; Skips by class: covered-by-suite-only 6, equivalent-to-suite 47, unreviewed 0.; overall=green_with_skips; behind_base=0. All six guards shard N/6 jobs and types concluded success.
AC
Status
Evidence
Each of the six tests classified: fixed to execute and assert, or allowlisted
met, all six class (a)
autobot_shared/live_service_probe_test.py now uses pytest.raises(pytest.skip.Exception) at lines 157 (the 4 test_a_listening_service_is_not_consent cases), 162 (test_skips_with_a_reason_naming_the_service_and_endpoint) and 200 (test_require_real_redis_client_skips_only_under_the_stand_in), so they execute and assert the reason text. grep -c live_service_probe pipeline-scripts/preboard_guard_lane_skips.py = 0: no allowlist entry. The run's unreviewed 0 confirms none of them is a skip.
Guard-lane run on main ends green or green_with_skips
met
Run link above: green_with_skips
Allowlist regression test covers new entries, if any
Activity
fix(tests): live-service probe tests assert the skip instead of being…
github-actions commentedon Nov 12, 2026
Landed via the merge train (#21394, merge
923b9e902e) via #21388mrveiss commentedon Nov 12, 2026
Fixed in #21388, landed via merge train #21394 (merge commit
923b9e902e), checked 2026-11-12 (Riga).Guard-lane run on main: https://github.com/mrveiss/AutoBot-AI/actions/runs/43280952189 (head
923b9e902e, completed 2026-11-12 21:07 Riga, conclusion success). Result job lines:## Pre-board guard lane: green_with_skips;| guards (18989 executed, floor 16255, 0 failed, 53 skipped) | success_with_skips |;Skips by class: covered-by-suite-only 6, equivalent-to-suite 47, unreviewed 0.;overall=green_with_skips; behind_base=0. All sixguards shard N/6jobs andtypesconcluded success.autobot_shared/live_service_probe_test.pynow usespytest.raises(pytest.skip.Exception)at lines 157 (the 4test_a_listening_service_is_not_consentcases), 162 (test_skips_with_a_reason_naming_the_service_and_endpoint) and 200 (test_require_real_redis_client_skips_only_under_the_stand_in), so they execute and assert the reason text.grep -c live_service_probe pipeline-scripts/preboard_guard_lane_skips.py= 0: no allowlist entry. The run'sunreviewed 0confirms none of them is a skip.green_with_skipsAll ACs delivered: closing.