Repository navigation
det/CICS: cics_filecontrol imports Untranslatable at module top (Fixes #7269) - #7271
squid-protocol wants to merge 3 commits into
Conversation
…af cics_common, no function-local det.cics/det.gen import (Fixes #7269) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #7271 @ b94c219: 1 failed check(s) == db2 (failure) -- real |
|
No description provided. |
1 similar comment
|
No description provided. |
|
CI shepherd: the head of this PR (1c64347) is not the one a maintainer labelled |
|
Closing: this branch now adds nothing over main (three-dot diff is empty; main took the same fix) and #7269 is closed. |
Main's red GitGalaxy Smoke Tests (#7269):
test_a_leaf_det_module_imports_nothing_back_from_cics_or_gen[cics_filecontrol]failed since #7260 added function-local imports ofdet.cicsanddet.geninFileControlCommands.set_target.origin/main has since taken a fix of its own (the function-local import now comes from
det.cics_common). This PR merged it and goes one step further:Untranslatableis imported at module top besideCicsError, with no local import left. No behaviour change. Merge it, or close it if main's form is preferred; either way the next main run turns the issue green.Class
det.cics/det.genin a leaf det module (#7153 rule, CodeQL py/cyclic-import)cics_filecontrol.py; the other 8 listed leaf modules checked clean; the AST test covers all 9Sibling gaps: none.
Facts checked: the only failure in run 41178636578 was that test (1 failed, 11001 passed); reproduced locally;
test_cics_spec.py46 passed after the merge; ruff audit no new findings. Golden masters untouched.Cross-repo: none. #7266 touched
cics_filecontrol.pyin another hunk; rebased by merge.Lessons for agents
A new det leaf-module method takes shared names from
det.cics_commonat module top, never from a localfrom ...det.cics/gen import.🤖 Generated with Claude Code