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
tests: startup_stubs_ci_check fails on main after the coverage-only dispatch mode (#3656 + #3690) #3816
The Linux job "Run platform-independent Python checks" fails on main b7d61632, so it fails on every open PR. Two PRs merged a minute apart:
tests: add CI regression guard for startup_stubs coverage #3656 added tests/startup_stubs_ci_check.py. It inspects every ctest --preset dev call in the build-and-test job and requires each one to sit in the } else { (non-PR) branch and to select startup_stubs.
ci: add a coverage-only dispatch mode #3690 added an elseif ($env:COVERAGE_ONLY -eq 'true') branch with a filtered dev call (.github/workflows/windows.yml:509): ctest --preset dev ... -E '_hardware$' -R '^(cpu_|pixel_aot_|compute_store_aot_|mesh_entry_aot_)'
That call comes before the } else { and does not select startup_stubs, so the guard fails (_check_workflow, startup_stubs_ci_check.py:283-310):
FAIL: job 'build-and-test' ctest --preset dev invocation is not in the non-PR (else) branch
FAIL: job 'build-and-test' ctest --preset dev has -R '^(cpu_|pixel_aot_|compute_store_aot_|mesh_entry_aot_)' which does not match startup_stubs (.github/workflows/windows.yml:509)
FAIL: mutation 'delete dev ctest invocation': survived (expected 'has no ctest --preset dev invocation')
FAIL: mutation 'typo dev preset name in workflow': survived (expected 'has no ctest --preset dev invocation')
FAIL: mutation audit killed 5 of 7
The two mutations survive for the same reason: after the full-suite line is deleted or misspelled, the coverage-only call still counts as a dev invocation.
Tree
python -B tests/startup_stubs_ci_check.py
main b7d61632 (local, Windows 10 19045)
exit 1, the failures above
CI, main b7d61632
Linux Python job failed
CI, PR #3712 at a7fe90de (no workflow or guard change)
Linux Python job fails at startup_stubs_ci_check.py
Proposal: the coverage-only branch runs a subset on purpose (manual dispatch only), so the guard should ignore calls inside elseif ($env:COVERAGE_ONLY ...). It should then require exactly one full-suite dev call in the } else { branch, and that call must select startup_stubs. The two surviving mutations would then be killed again.
Activity
lukaslw-lab commentedon Dec 2, 2026
Fixed by #3817 (merged as
5416e287).