Repository navigation
CI: nightly engine coverage map workflow and the Smoke suite-plan restore (Part of #6278, item 5) - #7016
Conversation
…tore (Part of #6278, item 5) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #7016 @ 6abcdec: 2 failed check(s) == full-suite (failure) -- real == full-suite part 1/2 (failure) -- real |
…try.sh (Part of #6278, item 5) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (f8f78cc) is not the one a maintainer labelled |
|
No description provided. |
|
PR #7016 @ f8f78cc: 15 failed check(s) == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- real == durations key (cancelled) -- infra == equivalence-e2e (failure) -- real == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.group }}/3 (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
No description provided. |
|
No description provided. |
|
No description provided. |
Part of #6278, item 5 (affected-test selection), slice 2: the producer of the coverage map that #6998's planner reads.
Checklist: partial [c:cc68bcd4] -- a freshness bound on the map's age, and the runner-min/PR re-measure once a map exists
Checklist: partial [c:9e7776d2] -- replays of #6245, README-only, register and test_zos_probes changes are not yet measured against the affected-test selection
What changes
engine-coverage-map.yml(new; schedule 05:47 UTC + dispatch, no PR trigger): runs the suite once under--cov=gitgalaxy --cov-context=test, builds.engine_test_map.jsonwithcoverage_map.py build, saves it as cacheengine-test-map-<run id>.smoke-test.ymlsuite-plan: restores the newestengine-test-map-*(continue-on-error; a miss plans without it) and passes--coverage-map. Engine-only PRs can now planselect; any doubt staysfull.pytest-covadded toci/requirements/pytest.in(relockedpytest.txt/test.txtviapin_requirements.py --target ci, no other pin moved).test_coverage_map.py: writer/reader agree on key and file name, nightly-only trigger, Smoke stays uninstrumented, pins present.docs/ci.mdupdated.Design: its own workflow, not the Smoke nightly parts, so coverage overhead never inflates the per-test times behind the suite-time budget (+10% fails) or the durations cache.
Cost: one instrumented run per night, a single runner (timeout 120 min; not measured yet: first dispatch after merge gives the number). It adds no PR load; it removes full-suite runs for engine-only PRs once a map exists.
Evidence
pr_gates --fast9/9;tests/tools/plustest_workflow_draft_gate,test_source_reads,test_cics_specpass. The workflow itself has not run: it can only run on main (cache scope) or dispatch.Class / Sibling gaps
Class: PR-selected suite scope, members skip / docs-readers / test modules / helpers / engine modules. Engine modules by coverage map: handled here (producer) and in #6998 (consumer). Sibling gaps: (1) map age bound: no staleness limit, a map older than N nights should plan full; same mechanism, next slice. (2) The map is not rebuilt post-merge, only nightly: new modules plan full until the next night, by design. (3) Runner-min per PR re-measure after a map exists (#6278 acceptance). (4)
gitgalaxy.ymlandos-smoke-griddon't use the map: different suites, not selected today.Remaining slices
Age bound in
coverage_map.select; first dispatch and runtime/size measurement; re-measure.Cross-repo
None.
🤖 Generated with Claude Code