Repository navigation
tests/tools: Det Sweep's Db2 runners follow the Db2 area (Part of #6278) - #6293
Merged
Merged
Conversation
det_sweep_plan.plan() asks change_classifier.db2_area: on a pull request a plan that went full for a reason outside the Db2 area (a harness core file, an oracle Dockerfile) keeps the non-Db2 sweep and drops the Db2 half. Nightly, manual and shepherd:full runs are unchanged; a none plan still lets the required det check report. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 23, 2026 20:56
Owner
Author
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #6278, slice 2 of 6. Det Sweep's Db2 runners (17% of PR runner-minutes) now follow the Db2 area.
Owner decisions
Owner OK (2026-10-23): workflow edits allowed for this item (allow_workflows). (No workflow edit was needed.)
What changed
change_classifier.db2_area(path, db2_cases): the Db2 area = det translator + runtime (gitgalaxy/tools/cobol_to_java/**, incl. cobolrt and the forges), the Db2 harness / oracle / image files, the det proof tools,det-sweep.yml, and a Db2 case's directory.det_sweep_plan.plan(): on a pull request, a plan that wentfullfor a reason outside that area (e.g.tests/tools/equivalence.py,gnucobol.Dockerfile) keeps the non-Db2 sweep but setsdb2_casesto[], so no Db2 shard starts. Nightly, manual, push andshepherd:fullstill prove every Db2 case; a Db2 case change still narrows to its Db2 runners; translator changes still go through the port diff.none(.mdand non-inputs never matched DET_INPUTS);detstill reports (0 shards + 0 Db2 shards passes the aggregate step). Pinned with real file lists.test_ground_truth_plan._closureskips pattern holders, aschange_classifier.ground_truth_scopesalready does (a planner importing the classifier otherwise made the guard reach the classifier's named tools).det_sweep_plan.pyalone.Checklist: done [c:acc791c8]
Class / Sibling gaps
Class: det-sweep plan outputs that start Db2 runners. Members: full-by-harness-core (fixed), full-by-oracle Dockerfile (fixed), narrow (already Db2-case only), ports (port diff decides), none (already none), nightly/full label (unchanged by design).
Gap: a harness-core change (
equivalence.py) no longer re-proves Db2 on a PR; nightly Evidence Refresh's Db2 job andshepherd:fullare the net.Verification
pr_gates --fast7/7; tests/tools/test_det_sweep_plan.py (new), test_ground_truth_plan, test_change_classifier, test_ci_shard_plan, test_det_sweep_fast pass. Not run:--ratchets(no golden/engine change).Lessons for agents
pr_gates --fast(gen-docs) leaves ignoreddocs/language_status/evidence_report/<estate>/dirs in the worktree; they makechange_classifier.py --check/test_the_committed_list_is_freshreport stale. Delete them before regeneratingdocs_read_by_tests.txt.tests/cobol_mainframe/*naming a docs /.claudepath makes the ground-truth job read it; put planner tests in atest_*_plan.pyfile (a pattern holder).Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code