Skip to content

bug: CI: required gate passes despite selected runner-acquisition failures #1793

Closed

Description

@zackees

Context

The24-hour #1269 measurement audit found Pull run39677084695, source 8bd4b826aac1c8084809c0fb961c1b8e51528226, on2026-10-21:

  • macOS Tier2 job119491668665 and macOS Rust tests119491668673 concluded cancelled at21:33:17UTC. Both check annotations say: “The job was not acquired by Runner of type hosted even after multiple attempts”. Capacity notices identify macOS arm64 queue pressure. These selected validations did not execute.
  • CI Gate119498751544 then succeeded at21:33:24UTC. Its Check Job Results failure step was skipped, and its final step printed that all required jobs passed or were skipped.
  • The whole workflow concluded failure. The project uses CI Gate as its merge authority, so overall workflow failure alone is not a sufficient guard. No claim is made that this PR actually merged through the gap.

The historical and current .github/workflows/ci.yml gate checks only failure/cancelled in needs.*.result, through the reusable build-project call. The exact aggregate value seen in this historical run was not recorded. This proves the historical mismatch; current reproducibility and its precise reusable-workflow propagation cause remain to be established. Do not relabel the two macOS cancellations as intentional scope skips in performance reports.

Proposal

Audit the current selected-job admission and reusable-workflow result boundary. Fail the required gate when a selected validation cannot acquire a runner, while preserving deliberate scope skips and keeping janitor housekeeping outside the gate. Add diagnostics for the relevant aggregate state or inspect recorded selected-job outcomes when needed; choose the smallest robust fix after determining the actual state.

Use the recorded jobs, annotations and gate steps as an inexpensive fixture in existing Python/Fast Gate tests. No new workflow, native test lane, broader platform selection, forced native failure experiment or unchanged full-workflow retry is requested.

Acceptance criteria

  • Preserve a reproducible historical fixture from the linked run, including selected macOS cancellations, acquisition-failure annotations and successful gate steps. Distinguish actual missing coverage from a permitted skipped lane.
  • Establish whether current gate handling still permits this state; if already repaired, link the repair and add a focused regression for the admission contract. Otherwise record local RED → GREEN evidence and fix it.
  • A selected runner-acquisition failure cannot satisfy CI Gate; genuine out-of-scope skips can. Preserve selected Tier2 OFF/ON, native and differential coverage and janitor isolation.
  • Keep the regression cheap in the existing Fast Gate. Add no native build/test jobs or workflow files to exercise this condition.
  • Record actual CI Gate and workflow outcomes separately in latency/coverage reports, excluding this case from claims of complete native validation.

Decisions

Related issues

#930; #1269; umbrella #1667.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions