You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(parity): scope runtime matrix to affected commands on PR, full run daily
The runtime parity matrix (~113 real Docker cases) took ~45 min on every
push/PR. Split it so pushes/PRs only exercise the cases a change can affect,
and move the exhaustive run to a daily schedule.
- selected() (parity matrix filter) now accepts a comma-separated allowlist,
so PARITY_COMMAND="up,build" runs just those commands. Empty/"all" still
means everything; unselected cases are "not-selected" and do not trip the
strict gate.
- .github/scripts/parity-affected.sh maps a changed-file list to a
PARITY_COMMAND value: isolated leaf-command files narrow to that command
(e.g. exec.go -> exec, gpu.go -> up), docs-only changes -> none, and any
shared/core/uncertain file (config, docker, imagemeta, features, the
harness, Taskfile, workflow) -> all. Conservative by construction: the
default is "all".
- Taskfile: parity:runtime reads PARITY_COMMAND to scope the matrix; the
heavy, network-bound TestPublishParity moves to its own parity:publish.
- CI: parity-runtime now runs only on push/PR, computes the affected commands
from the diff, and skips entirely when nothing runtime-relevant changed.
A new parity-runtime-full job runs the whole matrix + parity:publish on a
daily cron (06:00 UTC) and on manual dispatch — the backstop for any
cross-command effect the scoped run misses.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments