Repository navigation
feat(security): --offline on the test forge, batch harness and proof_reach (Part of #8624) - #8665
Merged
Merged
Conversation
…reach (Part of #8624) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8624 (epic #8427), slice 10. Follows #8655, #8657, #8662.
Adds the shared
--offlineflag (add_flagbeforeparse_args,enforceafter) tocobol_to_java_test_forge,batch_test_harnessandproof_reach. The existing slice-9 test file gains these three modules: each completes with the flag (exit 0) and a deliberatesocket.create_connectionraisesOfflineViolation; theGITGALAXY_OFFLINEenv var alone guards, and without it nothing is guarded. 14 tests pass.Class / Sibling gaps
Class: every
cobol_to_java/toolsCLI with a__main__entry that lacks the shared--offlineguard fromgitgalaxy.tools.readiness.offline. After this slice, all__main__modules undergitgalaxy/tools/cobol_to_java/*.pyandgitgalaxy/tools/*.pycarry it exceptport_runner.port_runner.py: missing. It is an LLM client (anthropic and other backends over urllib), so--offlinemust refuse by name rather than just guard; a different mechanism, left for its own slice.cobol_refractor_controlleretc.) andgitgalaxy/standardscics/cobol CLIs: not in the grep above (outside these two directories); status unverified, next slice.Remaining slices
port_runnerrefuses--offlineby name (port_runner.py + test).__main__outside tools/).Gates
pr_gates --fast: 8/9 pass (xray, gen-docs, derived, workflows, gauntlet, lint, ...).affectedfails 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.--ratchetsnot run (no parsing logic, no golden/ledger inputs touched).🤖 Generated with Claude Code