Skip to content

HLASM slice 6: per-instruction differential, interpreter vs lowered COBOL under cobc (Part of #5859) - #6946

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5859-20261028T2042Z
Oct 28, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5859-20261028T2042Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5859. Checklist: partial [c:e14a97c1] -- a general assembler path for non-zECS programs (no burned program needs it) and the storage-byte instructions in the differential remain.

Slice 6: a per-instruction differential. tests/tools/hlasm_diff.py runs 71 boundary snippets (LA, SLL, SLDL, SR, BCT, STH, CH with eight masks) through the independent POPS interpreter and, lowered by det/hlasm.py (closing EXEC CICS RETURN rewritten to DISPLAY of the registers), through cobc in the pinned oracle image in one container. Registers agree on all 71: 0 differences. The test skips without Docker or the image.

Plan change: CLI cases were dropped (MVI, needed to seed the byte, is outside the subset on both sides); CLI keeps its existing tests.

Cross-repo: none.

Class / Sibling gaps

Class: HLASM lowering instruction semantics checked only by whole-program scenarios and CH masks, not per instruction against an independent reading. Handled here: LA, SLL, SLDL, SR, BCT, STH, CH (branch outcome stands for CC). Sibling gaps: MVC, TR, STCM, IC, CLC, OC, XC need storage-byte observation (same mechanism, a DISPLAY of storage in EBCDIC-vs-ASCII-safe form; not here to stay within 5 files and since ASCII/EBCDIC text differs by design, assumption 3); a general assembler path beyond zECS (frontier; no burned program needs it).

Gates: pr_gates --ratchets 8 pass, 1 fail: fact-crosscheck (local estate-crucible checkout is off its pin, as in the slice-5 handoff; this PR changes no engine code, not re-run against main). new tests 3 passed (5.5 s); tree-wide guards + hlasm tests 400 passed; pr_gates --fast lint/audits/secrets/xray/gen-docs/derived/workflows/gauntlet PASS; audit_check.py clear; time ratchet 0 over. No engine change, so no golden bless.

🤖 Generated with Claude Code

…OBOL under cobc (Part of #5859)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@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 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 28, 2026 21:20
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 28, 2026 21:31
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6946 @ 90185da: 1 failed check(s)

== shepherd (label event) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40770184679/job/123104964334
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
##[error]Process completed with exit code 1.
log tail:
Cache restored successfully
Cache restored from key: flake-history-40692939546
##[warning]Input 'app-id' has been deprecated with message: Use 'client-id' instead.
##[group]Run actions/create-github-app-token@bcd2ba4
with:
app-id: ***
private-key: ***
skip-token-revoke: false
github-api-url: https://api.github.com
##[endgroup]
Inputs 'owner' and 'repositories' are not set. Creating token for this repository (squid-protocol/gitgalaxy).
##[group]Run python3 tests/tools/shepherd_gh.py event --event-path "$GITHUB_EVENT_PATH" --flake-cache flake-cache/flake_history.json
python3 tests/tools/shepherd_gh.py event --event-path "$GITHUB_EVENT_PATH" --flake-cache flake-cache/flake_history.json
shell: /usr/bin/bash -e {0}
env:
GH_TOKEN: ***
SHEPHERD_TRUSTED_BOTS: squid-shepherd[bot],squid-protocol
##[endgroup]
#6946 approval marker for 90185da: ok
#6946 ci-gate pending: waiting on: full-suite, shard 1/3, shard 3/3, suite time budget (#5166): FAILED: gh: Resource not accessible by integration (HTTP 403)
##[error]Process completed with exit code 1.
##[warning]Input 'app-id' has been deprecated with message: Use 'client-id' instead.
Post job cleanup.
Token revoked
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/25481a8f-cd91-485a-b480-e680c0837b70' 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 Oct 28, 2026
@squid-shepherd
squid-shepherd Bot merged commit c3e3cb1 into main Oct 28, 2026
66 of 70 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5859-20261028T2042Z branch October 28, 2026 21: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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant