Skip to content

test_equivalence_e2e_plan: derive the out-of-area tool from the live closure (Fixes #7103) - #7104

Closed
squid-protocol wants to merge 3 commits into
mainfrom
churn/7103-20261030T0829Z
Closed

squid-protocol wants to merge 3 commits into
mainfrom
churn/7103-20261030T0829Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Fixes #7103.

What failed

Main run 41022912255, full-suite part 2/2: test_equivalence_e2e_plan.py::test_a_path_outside_the_area_does_not[tests/tools/rosetta_audit.py] got run, expected none. A real failure, not a flake.

Cause

tests/cobol_mainframe/test_eib_scans_5126.py (#7089) names embedded_verb_coverage. change_classifier.ground_truth_scopes follows word mentions on purpose (over-run, never under-run): embedded_verb_coverage -> rule_probe -> (docstring mention) rosetta_audit. So rosetta_audit.py is legitimately in the closure now; the hard-coded "outside" pin went stale.

Fix

tests/tools/test_equivalence_e2e_plan.py: pin coverage_map.py instead, and add a test that derives an out-of-area tool from the live closure so the next widening cannot stale it. No classifier or engine change.

Class sweep

Class: a tests/tools module pinned as outside the COBOL area that a later mainframe-test edit pulls into the closure. Siblings checked: the other pins in the same list, and test_ground_truth_plan.py, test_change_classifier.py, test_det_sweep_plan.py (181 passed together). No other test names rosetta_audit.py.

Gates

The four test files above pass; ruff format --check clean. No golden impact.

Lessons for agents

A "this tool is outside the ground-truth closure" pin goes stale when any tests/cobol_mainframe file names a tool: derive the example from ground_truth_scopes(workflow=True).

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 30, 2026 04:32
…he area; derive an out-of-area tool from the live closure (Part of #7103)

A tests/cobol_mainframe test (#7089) names embedded_verb_coverage, whose closure now reaches rule_probe and rosetta_audit.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 30, 2026 08:37
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 30, 2026 08:38
@squid-shepherd
squid-shepherd Bot disabled auto-merge October 30, 2026 08:56
@squid-shepherd

Copy link
Copy Markdown
Contributor

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 30, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

Closing: #7105 landed the same fix on main; this PR has 0 changed files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main is red: GitGalaxy Smoke Tests

1 participant