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
{{ message }}
Repository navigation
Equivalence E2E: stop re-running ground-truth's tests in the shards; plan the db2 job from its inputs #6664
equivalence-e2e.yml is not a required check, so its wall time does not delay merges, but its runners come out of the same ~20-job pool the required checks queue on (docs/ci.md, #5132). Two costs measured 2026-10-25:
The shards re-run what ground-truth already runs. The 4 shards run all of tests/cobol_mainframe/ with EQUIVALENCE_E2E=1. mainframe-ground-truth.yml (required) runs the same directory. In .test_durations, ~84% of the directory's recorded seconds (1,090 of 1,301 s) are in files that never read EQUIVALENCE_E2E, so they produce the same result in both jobs. The shards took about 45 runner-minutes per run (shard 1-4 medians 11.0 / 8.8 / 11.4 / 14.5 min).
The db2 job (one runner, ~21 min median) runs on every PR the shards run on (45 of the last 80 merged PRs). It failed 10 times, all between 2026-10-24 22:18Z and 2026-10-25 02:10Z (bring-up, and a corpus-fetch environment defect since fixed), and 0 times in its last 58 PR runs. The required det check already re-proves the Db2 det ports.
Plan:
Shards: run only the tests that can differ from ground-truth's run: the E2E-gated files, plus any file whose tests ground-truth's environment skips but the E2E shards' environment runs. Measured from junit outcomes of one ground-truth run and one E2E run on the same commit, not guessed from file text.
db2: on a PR, run only when the PR changes one of its inputs: the import closure of the five Db2 files (computed by the planner), the equivalence cases they name, shared harness data, or the job's own files. Push, nightly and manual runs always run it, and Main Watch watches Equivalence E2E so a nightly red opens ci-red-main.
Done when: the shards' runner-minutes per run are measured before and after; the planner tests pin the Db2 area; test_env_gated_tests_run_in_ci_5954.py still proves every gated file is reached.
Activity
ci(#6664): Equivalence E2E shards run only what ground-truth cannot; …
ci(#6664): read test sources through source_text in the E2E selector (#…
ci(#6664): Equivalence E2E shards run only what ground-truth cannot; …
Merge origin/main into churn/5954 (Part of #5954)