Skip to content

CI queue: Mainframe Ground Truth runs in full on every ready PR (14.5% of runner time); prove nothing when no ground-truth input changed, like det #5164

Closed

Description

@squid-protocol

Context (measured 2026-10-14 21:00–24:00Z, after #5138–#5141 merged): 577 runs used 2,097 runner-minutes. Jobs waited 3.4 min at the median and 11.6 min at p90 for one of the 20 pool slots. Runner time by workflow:

Workflow Runner-min Share Runs
GitGalaxy Smoke Tests (full suite) 582 27.7% 36
Mainframe Ground Truth 303 14.5% 37
Det Sweep 269 12.8% 26
Full Suite Gate 251 12.0% 1
Muninn + CodeQL + Golden Crucible 216 10.3% 77 (#5132)
CI shepherd (reconcile) 19 0.9% 118

Every other heavy PR workflow (java-compile, cics-crucible, ports-compile, unicode-gauntlet, fact-crosscheck) is already path-filtered. Ground Truth is the largest PR-path cost with no input gating. It's a required check (mainframe-ground-truth.yml, pull_request with no paths), so it can't simply take a path filter: a filtered-out required check never reports.

Change: use Det Sweep's pattern (#4825, det_sweep_plan.py, mode none). The job always starts and always reports, but when the PR changes no ground-truth input it proves nothing and passes in about a minute. Define the input set from what the job actually reads (engine/scanner code, answer keys, corpora pins, the workflow and its tools). If in doubt, include the file and run. Main pushes, nightly and dispatch keep running it in full.

Not in scope: splitting the job (#5133) or flake reruns (#5137). This change composes with both.

Acceptance:

  • A PR touching only docs, .claude/, churn/handoff tooling, or a workflow outside the input set passes ground-truth in ≤ 2 min, without the heavy steps.
  • A PR touching any input runs the full check as now. Tests cover the input classifier in both directions.
  • PR body has before/after: the share of recent ready PRs that would have skipped, and the runner-minutes saved.

Activity

  1. added
    github-actions
    ci-cd
    on Oct 14, 2026
  2. squid-protocol commented on Oct 15, 2026

    @squid-protocol
    OwnerAuthor

    Acceptance met by #5165: the plan job classifies PR changed files (tests in both directions in tests/tools/test_ground_truth_plan.py), a no-input PR skips both parts and ground-truth passes in about a minute, and the PR body has the before/after (10 of the last 99 merged PRs would have skipped, ~30 runner-min per 3 h). On main the plan correctly reported mode: full for the push of 09b9c8c; that run's red is publish-history missing its artifact after the tested-tree skip, tracked in #5170, not the classifier.

  3. added
    scope:infra
    on Oct 16, 2026
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

    ci-cdgithub-actionsperformancescope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions