Skip to content

Split test_equivalence_cics.py by family (Part of #5274) - #7443

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
refactor/5274-test-equivalence-families
Nov 1, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
refactor/5274-test-equivalence-families

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5274.

Why

tests/cobol_mainframe/test_equivalence_cics.py is where CICS slices append their tests: 3,100 lines and 13 commits since 10-24. It was part of the #6072 hold on 11-01, because plan holds work per file.

What changes

Five sections move to their own files, and the file now says to put a family's tests in its family file.

New file Lines Holds
test_equivalence_cics_fileupdates.py ~395 WRITE, REWRITE, READ UPDATE, SYNCPOINT
test_equivalence_cics_spec.py ~735 the stub refuses what the det translator refuses
test_equivalence_cics_tsqueues.py ~170 WRITEQ TS, X6
test_equivalence_cics_commarea.py ~260 no COMMAREA, stated length (X23)
test_equivalence_cics_channels.py ~720 channels and containers (X24)
  • test_equivalence_cics.py keeps the per-command translator tests and drops to about 890 lines.
  • _facade_case is shared across sections, so it moves to tests/tools/cics_test_cases.py.
  • tests/equivalence_e2e_durations.json: 151 keys renamed to the new paths, so the shard split keeps its timings. Values are unchanged.
  • The X23 and X24 register entries now point at the new files.

No test changed

  • The 233 collected test ids are identical before and after.
  • Those tests here: 230 passed, 3 skipped (the skips are gated tests that CI runs). Lines moved verbatim, apart from each file's header.
  • Ruff audit: nothing new.

🤖 Generated with Claude Code

Every CICS slice appended to this 3,100-line file, so its tests collided even
when the code they pinned did not. Five sections move to their own files;
the 233 collected test ids are unchanged, and the e2e duration keys follow
them so the shard split keeps its timings.

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

squid-shepherd Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 1, 2026 15:44
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

squid-shepherd Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 1aa04ae into main Nov 1, 2026
38 checks passed
@squid-shepherd
squid-shepherd Bot deleted the refactor/5274-test-equivalence-families branch November 1, 2026 16:11
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant