Skip to content

CI(perf): Shorten PowerShell PR wait and slim full Linux matrix - #156

Open
tony wants to merge 3 commits into
masterfrom
ci/shorten-wait-and-matrix-133-134
Open

tony wants to merge 3 commits into
masterfrom
ci/shorten-wait-and-matrix-133-134

Conversation

@tony

@tony tony commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #133 and #134.

Head SHA: 4616acd4c7f88edb5a5b5045c04ba6e9a697d94d

Summary

  • Shorten PR CI wait (Shorten the wait for required PowerShell CI #133): Fold plan into build and pack PowerShell modules (port) and run default edges legs sequentially inside port against the exact uploaded port-package bytes via PlanMatrix.ps1 edges, cutting PR runs from 4 serialized queue hops (7 jobs) to 1 handoff (port -> powershell gate).
  • Reduce full/release Linux matrix (Reduce the Linux test matrix for full PowerShell validation #134): Keep matrix.json's supported catalog intact for scope: custom while slimming full and release.yml runs via fullRetired (3.7a, 3.7b), running both PowerShell versions (7.4.20, 7.6.10) at endpoints 3.3a and 3.8, intermediate supported minors (3.4, 3.5, 3.6, 3.7c) and master on 7.6.10, and consolidating client (3.2a, 3.3) and old-daemon (3.0a, 3.1c behind 3.3a) refusal checks into one job each.
  • Keep 7.4.0 by-name install/import verification in port, tmux 3.3a checksum-less layout refusal before dispatch, live control-mode coverage, both client/daemon refusal suites, and scope: custom single-pair dispatch with tmate.

Wait-time benchmark on identical 4-pair coverage (#133, 62c1b53)

Before matrix reduction, comparing green PR edges runs (7.4.20 and 7.6.10 x 3.3a and 3.8):

Metric Before (master, n=12) After (#133, n=3)
Total elapsed wait to powershell gate 171.7m (10303.5s, range 50.8m..314.8m) 9.68m (581.0s, range 8.60m..10.95m)
Inter-job queue & handoff wait 167.8m (range 46.7m..311.1m) 0.17m (10.0s, range 0.12m..1.32m; handoff 1–3s)
Active critical path / compute 4.2m crit path (7 jobs, ~10.6 runner-min) 8.42m ([8.35m..10.82m], 2 jobs, ~8.4 runner-min)

Measured on runs 47659116922, 47660354071, and 47660381259.

Matrix counts and dispositions (#134)

Trigger / Scope Before After Runner-min (baseline -> after)
PR / push / edges 7 active jobs (4 matrix + 3 fixed) 2 active jobs (port + powershell gate) ~10.6m -> 7.25m (run 47662350369)
workflow_dispatch scope=full & release.yml 25 active jobs (18 matrix + 2 reject + 2 old-daemon + 3 fixed) 13 active jobs (9 matrix + 1 reject + 1 old-daemon + 2 fixed) 46.73m (47539589962) -> 26.78m (47662346326)

Retired or consolidated combinations:

  • 7.4.20 x {3.4, 3.5, 3.6, 3.7c, master}: retired duplicate PowerShell x tmux minor pairings from full; host differences remain covered on 7.4.20 at 3.3a/3.8 plus 7.4.0 install/import, while tmux minor differences remain covered on 7.6.10 and scope: custom.
  • 3.7a and 3.7b (both PowerShell versions): retired via fullRetired because upstream CHANGES and src/LibTmux.PowerShell/Support/Capabilities.cs treat 3.7a+ uniformly (3.7c covers the 3.7a+ line on full; 3.7a and 3.7b remain buildable via scope: custom).
  • reject (3.2a, 3.3) and reject-old-daemon (3.0a, 3.1c behind 3.3a): kept in full, consolidated into one job per lane executing sequentially (PlanMatrix.ps1 reject and PlanMatrix.ps1 old-daemon).

Verification

  • Green PR run on exact head 4616acd: 47662350369 (plus docs 47662350748).
  • Green scope: full run on exact head 4616acd: 47662346326 (all 13 active jobs succeeded).
  • Negative gate proof: run 47665313583 proved powershell gate fails when port succeeds, planned reject fails, and planned matrix / reject-old-daemon are skipped (gate: matrix finished skipped, not success; gate: reject finished failure, not success; gate: reject-old-daemon finished skipped, not success).
  • Local script checks: PlanMatrix.Tests.ps1 (29 checks, 22 deliberate breaks), MatrixManifest.Tests.ps1, CheckWorkflows.Tests.ps1, ReleaseArtifacts.Tests.ps1, CheckWorkflows.ps1, and PSScriptAnalyzer on scripts/ (0 diagnostics).

@tony
tony deployed to docs-preview December 6, 2026 14:03 — with GitHub Actions Active
@tony
tony force-pushed the ci/shorten-wait-and-matrix-133-134 branch from 99c95cd to 62c1b53 Compare December 6, 2026 14:09
@tony
tony deployed to docs-preview December 6, 2026 14:14 — with GitHub Actions Active
@tony
tony deployed to docs-preview December 6, 2026 14:39 — with GitHub Actions Active
@tony
tony force-pushed the ci/shorten-wait-and-matrix-133-134 branch from dbbf56b to 4616acd Compare December 6, 2026 14:41
@tony
tony deployed to docs-preview December 6, 2026 14:47 — with GitHub Actions Active
@tony
tony force-pushed the ci/shorten-wait-and-matrix-133-134 branch 2 times, most recently from 91955cf to 4616acd Compare December 6, 2026 15:15
tony added 3 commits December 6, 2026 09:23
why: PR runs serialized across four jobs and spent hours waiting in
queues.

what: Fold plan into port and run edges suites inline against the
packed archives while keeping powershell gate mandatory (#133).
why: Full runs tested duplicate 7.4.20 pairs, 3.7a/b patches, and split
refusal VMs.

what: Retire 3.7a/b via fullRetired, run intermediates on 7.6.10,
consolidate refusals, and update gate, docs, and tests (#134).
why: Record unreleased CI and full-matrix changes in root CHANGELOG.md.

what: Summarize #133 queue elimination and #134 25-to-13 job cut.
@tony
tony force-pushed the ci/shorten-wait-and-matrix-133-134 branch from 4616acd to def200c Compare December 6, 2026 15:23
@tony
tony deployed to docs-preview December 6, 2026 15:35 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
docs-preview — def200c9 Deployed Dec 6, 2026 by tony via publish (pr-156, pr, false, true, powershell) / publish #305
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shorten the wait for required PowerShell CI

1 participant