Skip to content

tests: startup_stubs_ci_check fails on main after the coverage-only dispatch mode (#3656 + #3690) #3816

Done

Description

@lukaslw-lab

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:

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.

AI-assisted.

Activity

  1. lukaslw-lab commented on Dec 2, 2026

    @lukaslw-lab
    ContributorAuthor

    Fixed by #3817 (merged as 5416e287).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions