Skip to content

Model CCSID 1208 as real UTF-8 for CHAR containers; add the CACCSID case (Part of #7589) - #7637

Merged
squid-shepherd[bot] merged 4 commits into
mainfrom
churn/7589-20261103T2315Z
Nov 4, 2026
Merged

squid-shepherd[bot] merged 4 commits into
mainfrom
churn/7589-20261103T2315Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7589

What

CCSID 1208 in CHAR containers is now real UTF-8 in both runtimes (the C stub and CicsTask), following IBM "Conversion CCSIDs for CICS TS" Table 38. A conversion goes through Unicode (source page strictly decoded, target page strictly encoded), so lengths change and GET into a shorter INTO is LENGERR RESP2 11 with FLENGTH the converted length. New equivalence case cruc-ca-container-ccsid (CACCSID from cics-crucible, burned corpus) runs end to end: det port 50/50 translated, PROVED on 1 scenario, 3/3 paragraphs, 0/0 branches.

Owner ruling 2026-11-03: IBM's documented behaviour is followed; what IBM leaves undefined is refused as undefined by IBM (malformed UTF-8 from 1208, PUT FROMCCSID(1208) data that is not valid UTF-8).

PUT FROMCCSID(1208) uses a two-reading rule (ASSUMED, recorded in X17): the region's characters as text (character literals) or the storage bytes as raw UTF-8 (hex literals). One valid reading is used; both valid and different is refused as ambiguous.

Class / Sibling gaps

Class: CHAR container code-page conversion beyond single-byte pages.

  • Stub only: GET CONTAINER SET INTOCCSID where the converted length differs is refused (the block is converted in place); CicsTask converts it. The plan said both would; this is the one change from it.
  • CHAR BYTEOFFSET / PREPEND stay refused (no burned program reads them, Siblings of #4951: CICS channel and container commands #5005).
  • Other cics-crucible container cases (CAGMZ, HCRDST) not checked for 1208 data.

Remaining slices

  • Evidence level of CACCSID: the committed case has no evidence.json (siblings have none either); the nightly sweep records it. Branch bar 0/0.
  • Ports: all 243 CICS ports' CicsTask.java changed (71 lines); det_port.py check lists them for re-proving. Re-proved here: ca-channel-containers, ca-get-container-set, ca-container-bit, ca-container-byteoffset, mortgage-mlist, mortgage-csmrt (all PROVED).

Gates

pytest test_container_ccsid_4270.py + test_cics_spec.py: 68 passed. pr_gates --fast: 9/9 pass. pr_gates --ratchets: 9/9 pass. ruff and dead-key audits: no new findings. The mypy leg of audit_check.py was not run locally (mypy not on PATH); pr_gates ran the pinned mypy 2.4.0 in its audits gate. Golden masters unaffected (no parsing change).

Facts checked:

  • equivalence.py run CASE --record without a committed port gives a not-proven record; ran det_port.py first.
  • Sibling cruc-ca-get-container-set has no committed evidence.json.
  • No burned program uses FROMCCSID(1208).

Lessons for agents

  • det_port.py run CASE --work DIR before equivalence.py run; --record takes no --port and writes a not-proven evidence.json if there is no committed port, so delete it.
  • A new det case needs proof_sweep.py --det-only --cases C --work DIR then det_coverage_ledger.py update DIR, or pr_gates derived fails.
  • Use python3 and eval "$(python3 tests/tools/equivalence_env.py --shell)"; format with the pinned ruff in ~/.cache/gitgalaxy/ruff-<ver>.

🤖 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 3, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

squid-shepherd Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 3, 2026 23:50
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 3, 2026 23:52
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 4, 2026 00:08
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

PR #7637 @ 584bb34: 2 failed check(s)

== crucible (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41742336940/job/126292998836
repro: tests/tools/box/heavy-run.sh python -m pytest -q tests/cics_crucible && tests/tools/box/heavy-run.sh python tests/tools/cics_crucible.py --ci --out /tmp/gitgalaxy-scratch/ci-digest/cics
errors:
CICS crucible: 420 pass, 390 fail, 0 unsupported (810 cells, 2 shards)
##[error]Process completed with exit code 1.
log tail:
Beginning upload of artifact content to blob storage
Uploaded bytes 28382
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 6cb917e7f4976dd4a2d64c56421b59b9d3a115fbcffbfc5f93f1d7102dad0a7d
Finalizing artifact upload
Artifact cics-crucible-results successfully finalized. Artifact ID 13282054654
Artifact cics-crucible-results has been successfully uploaded! Final size is 28382 bytes. Artifact ID is 13282054654
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/41742336940/artifacts/13282054654
##[group]Run echo "measure: failure, runner-tests: success"
echo "measure: failure, runner-tests: success"
[ "failure" = "success" ] && [ "success" = "success" ]
shell: /usr/bin/bash -e {0}
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
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]
measure: failure, runner-tests: success
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/ab28fa0b-05fa-4a7c-a043-55ccd8e76d16' 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

== measure (shard 1/2) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41742336940/job/126287113447
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
cobol-stub:pass 2, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 2, java-ported:fail 2, java:fail 2
cobol-stub:pass 3, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 3, java-ported:fail 3, java:fail 3
cobol-stub:pass 2, engine-facts:pass 1, forge-compile:pass 1, java-facade:pass 2, java-ported:pass 2, java:fail 2
cobol-stub:pass 4, engine-facts:pass 1, forge-compile:pass 1, java-facade:pass 4, java-ported:pass 4, java:fail 4
cobol-stub:pass 5, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 5, java-ported:fail 5, java:fail 5
cobol-stub:pass 7, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 7, java-ported:fail 7, java:fail 7
cobol-stub:pass 3, engine-facts:pass 1, forge-compile:pass 1, java-facade:pass 3, java-ported:pass 3, java:fail 3
cobol-stub:pass 1, engine-facts:pass 1, forge-compile:pass 1, java-facade:pass 1, java-ported:pass 1, java:fail 1
cobol-stub:pass 5, engine-facts:pass 1, forge-compile:pass 1, java-facade:pass 5, java-ported:pass 5, java:fail 5
cobol-stub:pass 9, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 9, java-ported:fail 9, java:fail 9
cobol-stub:pass 4, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 4, java-ported:fail 4, java:fail 4
cobol-stub:pass 6, engine-facts:pass 1, forge-compile:pass 1, java-facade:pass 6, java-ported:pass 6, java:fail 6
CICS crucible: 221 pass, 211 fail, 0 unsupported (432 cells)
##[error]Process completed with exit code 1.
log tail:
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
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.21-9/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.21-9/x64
MAVEN_ARGS: -ntp
GITGALAXY_ORACLE_PREBUILT: 1
##[endgroup]
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: cics-crucible-shard-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 17073
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 6c253bbefe7001fbfbb62681fcece7a5ab25de6d9bd2d14892bb1e6945007e66
Finalizing artifact upload
Artifact cics-crucible-shard-1 successfully finalized. Artifact ID 13281364964
Artifact cics-crucible-shard-1 has been successfully uploaded! Final size is 17073 bytes. Artifact ID is 13281364964
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/41742336940/artifacts/13281364964
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/210e4d00-faa1-41e4-a8af-d6f74439fc6a' 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-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-shepherd squid-shepherd Bot removed 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

CI shepherd: the head of this PR (2842237) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 4, 2026 00:37
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Nov 4, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. 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.

1 similar comment
@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 00:40
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 4, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 00:44
@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 4, 2026
@squid-shepherd
squid-shepherd Bot merged commit 96ad5f4 into main Nov 4, 2026
136 of 180 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7589-20261103T2315Z branch November 4, 2026 02:27
squid-shepherd Bot pushed a commit that referenced this pull request Nov 4, 2026
…7667) (#7694)

* ruff-audit: zero-tolerance py3.11 syntax floor over the whole repo, not just gitgalaxy/ (#7667)

PR CI runs 3.12 only and the baseline-gated lint scans gitgalaxy/ only, so #7637's
backslash-in-f-string in tests/cics_crucible/ passed every PR check and broke main's
py3.11 legs. ruff_audit --ci now also runs `ruff check . --select E9` at pyproject's
py311 target; on #7637's file it reports line 145, the line that broke main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ruff-audit tests: stub run_syntax_check where ruff is stubbed (Smoke has no ruff)

test_ci_check_end_to_end and test_ruff_audit_fails_on_format_alone stub the lint and format
calls; the new syntax pass ran real ruff and failed with FileNotFoundError on Smoke. Also pin
that a syntax finding alone fails run_ci_check, and scope the needs-ruff skip to the three
tests that run ruff.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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