Skip to content

infra: the Sanitizers "Select passes" job runs ci/sanitizers_step.py with no checkout (master weekly red) #2797

Closed

Description

@zackees

Problem

master's nightly Sanitizers run failed at the first step:

jobs.matrix has no actions/checkout: its steps are astral-sh/setup-uv and then

run: uv run --no-project ci/sanitizers_step.py select --tools "$TOOLS"

Before #2781 this step was an inline shell block that needed no working tree. The
Python port reads the module from the checkout, so the job now needs one. The
sanitize job already checks the repository out (it builds the tree); only
matrix is missing it, which is why the failure is at Select passes and every
sanitizer lane is skipped.

Fix

Add actions/checkout (the pinned SHA the other jobs use, no submodules — the
step needs only ci/sanitizers_step.py) as the first step of jobs.matrix, and
pin the class: a ci/test_*.py case that every jobs.<job>.steps[*].run which
invokes a repo module (uv run … <path under the repo>) has an
actions/checkout earlier in the same job. That is the same positional shape as
ci/test_sparse_checkout_local_actions.py, and it is what would have caught
this before the nightly run.

Refs #962 (the GEN-005 port that introduced the call).

Activity

  1. added
    infra
    on Oct 28, 2026
  2. zackees commented on Oct 28, 2026

    @zackees
    MemberAuthor

    Claiming: investigation

    The failure is reproduced and the cause identified: jobs.matrix in .github/workflows/sanitizers.yaml has no actions/checkout, while its step now calls ci/sanitizers_step.py. /ready follows in a second comment, then the implementation claim — one PR: the check-out step plus a ci/test_*.py positional pin.

  3. added
    needs-investigation
    on Oct 28, 2026
  4. zackees commented on Oct 28, 2026

    @zackees
    MemberAuthor

    /ready

    Cause reproduced from the run log: the matrix job has no checkout, so the ported Python step cannot be spawned. The fix is one workflow step plus a positional pin in ci/test_sanitizers_step.py. Everything needed to implement is in the issue body.

  5. added
    ready
    and removed
    needs-investigation
    on Oct 28, 2026
  6. zackees commented on Oct 28, 2026

    @zackees
    MemberAuthor

    Claiming: the matrix-job checkout

    1. RED: a ci/test_sanitizers_step.py case that the module-calling step has an actions/checkout earlier in the same job (fails on master).
    2. GREEN: add the pinned actions/checkout (no submodules) as jobs.matrix's first step.
    3. PR infra/2797-sanitizers-select-checkout, Fixes #2797.
  7. zackees commented on Oct 28, 2026

    @zackees
    MemberAuthor

    Handed off to the coordinator

    Port opened as #2799 (infra/2797-sanitizers-select-checkout).

    • RED de306926d: ci/test_sanitizers_step.py::test_select_step_is_preceded_by_a_checkout; fails on master because jobs.matrix has no actions/checkout.
    • GREEN 9daec1611: the pinned checkout (fetch-depth: 1, no submodules) before setup-uv.
    • Evidence: a dispatch of the branch ran Select passes successfully (run 40699493992) — the job that failed nightly. PR CI green; queued for merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

infraready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions