Skip to content

Delete the translator layout check mode; layouts default to engine (Part of #5649) - #7737

Merged
squid-shepherd[bot] merged 3 commits into
mainfrom
churn/5649-20261104T2046Z
Nov 4, 2026
Merged

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/5649-20261104T2046Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Part of #5649 (delete the translator layout check mode; layouts default to the engine).

What changed

  • engine_layout.py: removed differences() and the check branch of apply(). MODES is now ("engine",), every mode default is engine, and "check" raises ValueError. LayoutDisagrees stays for records the engine cannot size or pair. equivalence_common.engine_layouts also defaults to engine.
  • Tests: removed only the check-mode cases (test_det_engine_layout, test_det_system_member_layout, test_assess_translate, test_det_system_member_burned, test_det_survey); engine-mode coverage is kept.
  • Docs and callers: fact_ownership.md, det_survey.py (--layouts choices), stale docstrings in program.py and dryrun.py.
  • Burned pins and equivalence cases unchanged: every port caller already used the default.

Class sweep

Class: every caller, test and docstring that names the check layout mode. All found by grep and changed here. Translator-defined records (BMS maps, GG-RETURN-CODE, the EIB) keep the translator's own arithmetic by an earlier decision.

File-cap exception: deleting the mode is atomic; every caller, test and docstring that names check must change with it or the tree breaks (mostly one-line edits and deletions).

Gates

Six affected test files pass (56). pr_gates --fast 9/9, --ratchets 9/9 (fact-crosscheck ledger unchanged).

Sibling gaps

none.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 4, 2026 21:02
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 21:10
@github-actions

github-actions Bot commented Nov 4, 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 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot added the shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md label Nov 4, 2026
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 4, 2026 22:08
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

PR #7737 @ 52a5663: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41912287798/job/126896396591
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: 54898b74c23fde5556c9b3c3a2290865feef0dfe
Build Date: 2026-10-28T21:51:42Z
Worker ID: {93034da1-2fa9-40c1-8b98-e43edcf00e8a}
Region: westus
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261101.360.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261101.360/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261101.360
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure.
# #6278: or when the suite plan proved the PR changes only prose no test or engine code opens (mode skip).
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && { test "$SKIP" = "true" || test "$PLAN" = "skip"; }; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
PLAN: full
##[endgroup]
full-suite parts: failure (tested-tree skip: , suite plan: full)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 2/2 (failure) -- main
https://github.com/squid-protocol/gitgalaxy/actions/runs/41912287798/job/126885996082
repro: stale base (main changed these tests since this branch): git merge origin/main
failing tests: tests/tools/test_gap_prevalence.py::test_every_refusal_pattern_anchors_on_a_text_the_translator_raises
errors:
fail-on-cache-miss: false
E AssertionError: layout differs
tests/tools/test_gap_prevalence.py:436: AssertionError
FAILED tests/tools/test_gap_prevalence.py::test_every_refusal_pattern_anchors_on_a_text_the_translator_raises - AssertionError: layout differs
##[error]Process completed with exit code 1.
log tail:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 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
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 1063574
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is f2cd560c9429e226a22e1cef4a9361fbff8954420ddea9b9c172cdc31256223c
Finalizing artifact upload
Artifact test-times-part-2 successfully finalized. Artifact ID 13366109969
Artifact test-times-part-2 has been successfully uploaded! Final size is 1063574 bytes. Artifact ID is 13366109969
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/41912287798/artifacts/13366109969
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/c454e5a9-16ea-4a95-acd0-b97ea1464e14' 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
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-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 Nov 4, 2026
@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 Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 22:21
@squid-shepherd squid-shepherd Bot removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

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