Skip to content

pipeline: windows 3.10 is the gate's 40-min critical path; macOS 70% of billed minutes -- one leg per Python, right-sized caps #4903

Closed

Description

@squid-protocol

Measured (Actions API, last 5 successful main runs). In the Full Suite Gate (full-suite-gate.yml): windows 3.10 is the critical path, 38.1-41.3 min (cap 45), while windows 3.12 takes 14-21 and ubuntu 13-21; it is not sharded. macOS is 70-74% of billed minutes (10x Linux): six macOS legs (3.10/3.12 x parts 1-3) run 39-48 leg-min per run; they were sharded x3 on 2026-10-10 because every leg hit 45 min -- the cause was the #4862 hang, now fixed; one part takes ~6 min. macOS legs are still capped at 45 min.

Do.

  1. Windows 3.10: find out why it is 2-3x slower than 3.12 (per-test --durations from its logs vs 3.12's; a dependency without wheels for 3.10 compiling? a slow path in py3.10?). Fix the cause if clear; otherwise shard windows 3.10 into 2 parts with the existing pytest-split mechanism. Target: gate wall ~40 -> ~20 min.
  2. macOS: back to one leg per Python (no parts) if the measured part sums (19-28 min per Python) fit comfortably, with timeout-minutes: 30; if not, 2 parts. Keep --timeout=600 (pytest-timeout).
  3. Right-size caps you touch to ~1.5x the measured duration.

Acceptance. Before/after numbers from real runs of the gate (dispatch full-suite-gate.yml on your branch via shepherd:matrix or workflow_dispatch -- the orchestrator triggers it if you can't): wall time, per-leg minutes, billed minutes by OS. No test skipped or lost (same test count per OS before/after).

Evidence: pipeline audit 2026-10-11 (four read-only scouts; full reports in the orchestrator handoffs, pipeline-audit-2026-10-11/A-D). Precedent: #4899 (unicode gauntlet nested pools: 182 s -> 39 s, peak load 82.5 -> 10.5, byte-identical output), #4882 (heavy-run.sh GG_JOB_CORES), #4862/#4865 (macOS hang; pytest --timeout).

🤖 Generated with Claude Code

Activity

  1. added
    ci-cd
    enhancement
    priority: high
    on Oct 11, 2026
  2. 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-cdenhancementpriority: highscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions