Skip to content

port_surface: a det port keeps the translator's facades (Part of #5089) - #5986

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5089-20261022T0911Z
Oct 22, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5089-20261022T0911Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Part of #5089. Fixes the red committed ports compile check on main.

#5982 committed the first det CICS equivalence port (carddemo-copaua0c). port_surface.equivalence compared it with the generator's text and failed on every PR that merged main. A det port has no model leftovers: the translator rebuilds its facades itself (det/program.py facades()), and det_port.py check re-proves it when the translation moves. Resurfacing it pulls in log.info lines it has no logger for, so the Java side does not build.

Change: port_surface.is_det_port (provenance translator: det); equivalence() skips such ports. Test: test_a_det_port_is_left_to_the_translator.

Class

Class: a committed equivalence port that is resurfaced against the model generator's text although its facades are the det translator's own. Source: tests/equivalence/*/port/provenance.json with translator: det.

Member Status Evidence
carddemo-copaua0c (the red one) handled here skipped; ports ratchet PASS
carddemo-cbstm03a handled here (same skip) provenance translator: det
carddemo-cbpaup0c handled here (same skip) provenance translator: det
model-written / hand ports (no translator: det) unchanged: still resurfaced existing test_equivalence_resurfaces_each_case_port_and_records_it
crucible() (non-equivalence ports) out of scope: no det ports there none has translator: det

Sibling gaps: none: every member handled.

Gates: pytest tests/cics_crucible/test_port_surface.py 8 passed; pr_gates --ratchets --only-ratchets ports PASS; pr_gates --fast 7/7 pass.

Cross-repo: none.

Lessons for agents

  • A new committed det port must be skipped by anything that compares ports with generator text (port_surface.is_det_port).

🤖 Generated with Claude Code

#5982 committed the first det CICS equivalence port (carddemo-copaua0c). The
facade check compared it with the generator's text and failed "committed ports
compile" on every PR that merged main. A det port has no model leftovers: the
translator rebuilds its facades itself (det/program.py facades()), and
det_port.py check re-proves it when the translation moves. Resurfacing it pulls
in log.info lines it has no logger for, and the Java side does not build.

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 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 22, 2026 09:18
@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 09:19
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5986 @ 7f047fc: 1 failed check(s)

== ground-truth part 2/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39754421392/job/119743173038
repro: python -m pytest -q tests/cobol_mainframe/
errors:
fail-on-cache-miss: false
FAIL tests/cobol_mainframe/test_address_5079.py::test_the_port_addresses_the_record_itself_and_refuses_a_missing_commarea: 18.1s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
##[error]Process completed with exit code 1.
log tail:
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
MAINFRAME_ENGINE_KEY: 134835c8544b0f1b0b0bf3d2a5f0a85aeb9a69088ad779f7d83161a58a6b2dde
PYTHONUTF8: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-ground-truth-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 108788
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 49635f38c869914baa79b496c8394cb59aae4e62b06b568fd21ca4d20b135ecf
Finalizing artifact upload
Artifact test-times-ground-truth-part-2 successfully finalized. Artifact ID 12415552110
Artifact test-times-ground-truth-part-2 has been successfully uploaded! Final size is 108788 bytes. Artifact ID is 12415552110
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39754421392/artifacts/12415552110
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/ec42145b-22f5-4135-87c1-16d668b03417' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 22, 2026
@squid-protocol
squid-protocol merged commit 47b6727 into main Oct 22, 2026
63 of 65 checks passed
@squid-protocol
squid-protocol deleted the churn/5089-20261022T0911Z branch October 22, 2026 09:50
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