Skip to content

feat(security): --offline on the test forge, batch harness and proof_reach (Part of #8624) - #8665

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8624-20261119T1211Z
Nov 19, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8624-20261119T1211Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8624 (epic #8427), slice 10. Follows #8655, #8657, #8662.

Adds the shared --offline flag (add_flag before parse_args, enforce after) to cobol_to_java_test_forge, batch_test_harness and proof_reach. The existing slice-9 test file gains these three modules: each completes with the flag (exit 0) and a deliberate socket.create_connection raises OfflineViolation; the GITGALAXY_OFFLINE env var alone guards, and without it nothing is guarded. 14 tests pass.

Class / Sibling gaps

Class: every cobol_to_java / tools CLI with a __main__ entry that lacks the shared --offline guard from gitgalaxy.tools.readiness.offline. After this slice, all __main__ modules under gitgalaxy/tools/cobol_to_java/*.py and gitgalaxy/tools/*.py carry it except port_runner.

Remaining slices

  1. port_runner refuses --offline by name (port_runner.py + test).
  2. Controllers and standards CLIs sweep (grep __main__ outside tools/).
  3. README rows.

Gates

pr_gates --fast: 8/9 pass (xray, gen-docs, derived, workflows, gauntlet, lint, ...). affected fails on one test, test_call_compare_4778.py::test_every_case_map_resolves_and_bnk1cca_has_occurs: FileNotFoundError on /home/joe/gitgalaxy/repo/.mainframe_corpora/example-health-apis/..., the worker box has no mainframe corpus at that path; unrelated to this change (3641 other tests passed). 223 affected test files were left to CI by the gate's budget. --ratchets not run (no parsing logic, no golden/ledger inputs touched).

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

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 19, 2026 12:58
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 19, 2026 12:58
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit 38fe005 into main Nov 19, 2026
96 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8624-20261119T1211Z branch November 19, 2026 13:36
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