Skip to content

Runtime option table: LE, Db2 and CICS options refused, declared or no effect (Part of #4704) - #5307

Merged
squid-protocol merged 2 commits into
mainfrom
churn/4704-20261017T0503Z
Oct 17, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/4704-20261017T0503Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4704 (item #4707: the LE / Db2 / CICS option table). Leaves #4707 open for an owner ruling on the policies.

What

The estate options file records LE, Db2 and CICS options and the evidence fingerprint hashes them, but nothing judged them: a DATE(USA) or TRAP(OFF) estate would have been proven under ISO dates and trapped exceptions.

  • gitgalaxy/core/runtime_options.py: RUNTIME_OPTION_TABLE, one row per recorded option (23 rows) with policy refuse / declare / none and a reason; runtime_unhonoured, runtime_effect.
  • estate_options.py: EffectiveOptions.unhonoured_runtime() and runtime_sources; validate() fails on a key with no row. unhonoured() is unchanged, so the compile-option expectations hold.
  • equivalence_common.py: compile_options refuses and option_differences declares from both lists (oracle and det port see one answer).
  • evidence_report.py: a runtime list per program (only when non-empty) and one options bullet. Kept small for equivalence: det-port mutation tooling and the L5 hook (slice 1 of #4628) #5146.
  • docs/language_status/register/C18.md (the table) and a pointer in estate_intake.md.

Policies (provisional, as #5088)

Refused: TRAP(OFF), ABTERMENC(RETCODE), Db2 DATE / TIME not ISO, DEC not 15, DECPT not ., SQLCCSID(YES). Declared: STORAGE init, EBCDIC / local CCSID other than 37 / 1140 / the data's. No effect on a one-task proof: bind options, precompile, CICS release / DB2CONN / translator / CONCURRENCY / EXECKEY. An unknown key is refused by name. No burned estate's recorded value refuses (tested).

Gates

New test_runtime_option_table.py (35) plus neighbouring option / estate / evidence tests: 213 pass. pr_gates --fast 6/6, --ratchets 8/8, audit_check clear, register.py --check clean. No parsing code touched, so no golden bless.

Sibling gaps

ARITH(EXTEND) / INTDATE(LILIAN) still refused; TRUNC(OPT) ruling open in #4706; compiler version and IGYCDOPT defaults assumed in every burned corpus; no CEEOPTS / CEEUOPT reader (none in a burned corpus); cobolrt per-estate profile is #4714.

Cross-repo

None.

🤖 Generated with Claude Code

…red or no effect (Part of #4704)

#4707: the estate options file records LE, Db2 and CICS options and the fingerprint hashes them, but nothing
judged them. RUNTIME_OPTION_TABLE gives each recorded option a policy (refuse / declare / no effect) with a
reason; the oracle refuses or declares exactly as for the compile options, the evidence report lists each value
with the table's verdict, and register C18 renders the table. Policies are provisional (as #5088), so #4707
stays open for an owner ruling.

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 17, 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 17, 2026 05:15
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 05:19
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol squid-protocol added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5307 @ 60c9c1d: 2 failed check(s)

== db2 4/4 (failure) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/39005622253/job/117318142454
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --db2-only --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
fail-on-cache-miss: false
Traceback (most recent call last):
equivalence_db2.Db2ImagePullError: INFRASTRUCTURE (not a code defect): could not pull the pinned Db2 image icr.io/db2_community/db2@sha256:2de8151713c261843868c5c3411b57be6ae79d99d70a5b3022337836776bfda6 after 4 attempts: docker pull -q icr
##[error]the background Db2 start did not finish
##[error]Process completed with exit code 1.
log tail:
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
GITGALAXY_ORACLE_PREBUILT: 1
DB2_JOBS: 4
GITGALAXY_DB2_POOL: 4
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
MAVEN_ARGS: -ntp
##[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 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-db2-logs-3.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 642
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 3b722ffb846ff01cbd7ecefa74de0183bbc2e02e9801e51070358808a8888494
Finalizing artifact upload
Artifact det-sweep-db2-logs-3 successfully finalized. Artifact ID 12091335594
Artifact det-sweep-db2-logs-3 has been successfully uploaded! Final size is 642 bytes. Artifact ID is 12091335594
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39005622253/artifacts/12091335594
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/8232613b-8671-4b3c-8e6d-ea043a78890e' 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

== ground-truth part 2/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39005621460/job/117318453362
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
FAIL tests/cobol_mainframe/test_det_nondigit_zoned.py::test_a_non_digit_receiver_is_refused_by_name[U-ADD 1 TO V- ]: 15.6s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_det_nondigit_zoned.py::test_a_p_scaled_non_digit_sender_is_refused_by_name[MOVE S TO E1-PIC 99PP]: 15.6s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_det_nondigit_zoned.py::test_nondigit_zoned_is_the_oracles[TS-BIN]: 16.8s 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:
archive: true
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
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 8216
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is e4eaec673ce5342aefb17dd31ee946bbe7904b660053323ad704d072a11ce469
Finalizing artifact upload
Artifact test-times-ground-truth-part-2 successfully finalized. Artifact ID 12091142347
Artifact test-times-ground-truth-part-2 has been successfully uploaded! Final size is 8216 bytes. Artifact ID is 12091142347
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39005621460/artifacts/12091142347
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/2c7953cb-d92e-47a7-89de-41521d6a673a' 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 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5307 @ 4c49c95: 1 failed check(s)

== ground-truth part 2/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39008409804/job/117327864994
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
FAIL tests/cobol_mainframe/test_det_nondigit_zoned.py::test_a_non_digit_receiver_is_refused_by_name[U-ADD 1 TO V- ]: 22.5s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_det_nondigit_zoned.py::test_a_p_scaled_non_digit_sender_is_refused_by_name[MOVE S TO E1-PIC 99PP]: 22.5s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_det_nondigit_zoned.py::test_nondigit_zoned_is_the_oracles[TS-BIN]: 22.9s 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:
archive: true
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
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 8305
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 1840ba7c7d1b2cae80684695a8a2d891268e4c1db72c36ff071e9138771bd9aa
Finalizing artifact upload
Artifact test-times-ground-truth-part-2 successfully finalized. Artifact ID 12091849392
Artifact test-times-ground-truth-part-2 has been successfully uploaded! Final size is 8305 bytes. Artifact ID is 12091849392
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39008409804/artifacts/12091849392
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/572a66af-82bf-44dd-97c1-5960a54315da' 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 17, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

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