Skip to content

equivalence cases state ASSIGN USERID / SCRNHT / SCRNWD; proof_blockers drops those gaps (Part of #5126) - #5186

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5126-20261015T1141Z
Oct 15, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5126-20261015T1141Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5126 (box: ASSIGN USERID / SCRNHT-SCRNWD per case), same pattern as #5144.

Changes

  • equivalence_cics.terminal_facts: new optional "userid" (1-8 chars) and "screen" ([rows, cols], positive ints, requires a "termid" since the stub's TERMCHK refuses without a terminal). Keys present only when stated.
  • Stub env GGCICS_USERID / GGCICS_SCREEN and CicsTask.withUserid / withScreen, emitted only when stated (runtimes already modelled both; X19).
  • proof_blockers: Run.userid / Run.screen (every scenario states it, LINKed programs included); fact_gaps drops the USERID / SCRNHT-SCRNWD gap accordingly.
  • X19 register entry updated (IBM source unchanged: default user CICSUSER; SCRNHT/SCRNWD INVREQ RESP2 5 without a terminal).

Tests / gates

  • test_proof_blockers.py, test_equivalence_cics.py: 193 passed, 3 skipped. audit_check.py all clear, pr_gates --fast 6/6, register.py --check clean.
  • No golden fixtures touched (no engine change). Docker proof of a real case not run: no burned-estate case states these facts yet.

Cross-repo

None.

Lessons for agents

  • A new optional key in terminal_facts must be added only when stated: the existing exact-equality test breaks on an always-present empty key.

🤖 Generated with Claude Code

…rs drops those gaps (Part of #5126)

A case's (or scenario's) "userid" and "screen" ([rows, cols], needs a termid) now reach the stub
($GGCICS_USERID / $GGCICS_SCREEN) and CicsTask (withUserid / withScreen). proof_blockers drops the
USERID / SCRNHT-SCRNWD gap only when every scenario states it. X19 updated.

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 15, 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 15, 2026 11:46
@squid-protocol
squid-protocol enabled auto-merge (squash) October 15, 2026 11:47
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5186 @ 96dde6e: 1 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38729773273/job/116405858893
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
FAIL tests/cobol_mainframe/test_pointer_lane_5042.py::test_a_record_set_onto_a_set_block_reads_it_and_the_pointer_ends_where_ibm_says: 11.2s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_vsam_repositories.py::test_the_name_pattern_alone_does_not_merge: 10.1s is over 10s 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:
XFAIL tests/extraction/languages/test_dart.py::test_dart_func_start_xfail_invalid[/* \n void main() { \n /] - String/comment lookalikes lack AST block shielding
XFAIL tests/extraction/languages/test_dart.py::test_dart_dependency_capture_xfail_invalid[// import 'package:test/test.dart';] - String/comment lookalikes lack AST block shielding
XFAIL tests/extraction/languages/test_dart.py::test_dart_dependency_capture_xfail_invalid[/
\n import 'package:foo/foo.dart'; \n */] - String/comment lookalikes lack AST block shielding
XFAIL tests/extraction/languages/test_dart.py::test_dart_class_start_xfail_invalid[var query = '''\nclass FakeClass {\n''';] - String/comment lookalikes lack AST block shielding
7650 passed, 367 skipped, 5 xfailed, 16 warnings, 9 subtests passed in 374.76s (0:06:14)
##[group]Run python tests/tools/time_ratchet.py check --times "$RUNNER_TEMP/times-part-2.json"
python tests/tools/time_ratchet.py check --times "$RUNNER_TEMP/times-part-2.json"
shell: /usr/bin/bash -e {0}
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
EVIDENCE_REPORT_ADVISORY: 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]
FAIL tests/cobol_mainframe/test_pointer_lane_5042.py::test_a_record_set_onto_a_set_block_reads_it_and_the_pointer_ends_where_ibm_says: 11.2s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_vsam_repositories.py::test_the_name_pattern_alone_does_not_merge: 10.1s is over 10s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
8022 tests checked, 2 over the per-test limit
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/d8b5bfad-d90d-4dd7-9709-ca1725e78270' 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-protocol squid-protocol added 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 Oct 15, 2026
@squid-protocol squid-protocol added 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 and 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 Oct 15, 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 Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5186 @ e9a1016: 1 failed check(s)

== full-suite part 3/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38755951510/job/116497084844
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
FAIL tests/tools/test_ground_truth_plan.py::test_no_skippable_tool_is_reached_by_the_jobs_tests: 72.7s is over 2x its baseline 34.6s (make it faster, or mark it slow with a reason)
##[error]Process completed with exit code 1.
log tail:
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid["fn (a: i32, b: i32)"] - Known limitation: No block shielding for args inside strings
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid[// fn (a: i32, b: i32)] - Known limitation: No block shielding for args inside comments
XPASS tests/extraction/languages/test_jcl.py::test_jcl_args_valid["//STEP1 EXEC PGM=PROG,PARM='THIS STRI"...len102-1d86da8b-"'THIS STRING CONTINUES "...len72-7c3fedb5] - Known limitation: Engine cannot parse JCL line con
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid[//DD DATA \n INCLUDE MEMBER=NOPE \n/*] - Known limitation: No block shielding for instream data in JCL
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid['//STEP1 EXEC PGM=PROG1 THIS COMMENT CO'...len69-d3e393cd] - Known limitation: Inline comments aren't stripped before dependency capture
8118 passed, 20 skipped, 4 xfailed, 3 xpassed, 4 warnings in 645.87s (0:10:45)
##[group]Run python tests/tools/time_ratchet.py check --times "$RUNNER_TEMP/times-part-3.json"
python tests/tools/time_ratchet.py check --times "$RUNNER_TEMP/times-part-3.json"
shell: /usr/bin/bash -e {0}
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
EVIDENCE_REPORT_ADVISORY: 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]
FAIL tests/tools/test_ground_truth_plan.py::test_no_skippable_tool_is_reached_by_the_jobs_tests: 72.7s is over 2x its baseline 34.6s (make it faster, or mark it slow with a reason)
8145 tests checked, 1 over the per-test limit
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/5b0d5488-556d-4d5d-80b6-156397d17dc9' 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-protocol squid-protocol added 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 and removed shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI fix round (full-suite parts 1/3 and 3/3, run 38755951510): all pytest assertions passed; both parts failed only time_ratchet.py check: five tests at 10.0-11.3s (unmarked, unbaselined) and test_no_skippable_tool_is_reached_by_the_jobs_tests at 72.7s vs 34.6s baseline (over the old 2x). None are touched by this PR: a runner-load flake. Merged origin/main (#5179, #5183), whose ratchet now warns 10-15s and fails baselined tests over 2.5x (86.5s); replaying the CI timings through time_ratchet.py check gives rc=0. pr_gates --fast 6/6, --ratchets 8/8. No code change was needed.

Lessons for agents

A time-ratchet-only failure with every test passing is runner noise; merge main first, since the ratchet thresholds change there (10-15s warns, baselined fails over 2.5x), and replay the CI times file through time_ratchet.py check before touching tests.

@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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 15, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@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