Repository navigation
feat(security): --offline on the three cobol_to_cobol reporters (Part of #8624) - #8635
Merged
Merged
Conversation
…er CLIs (Part of #8624) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… of #8624) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
This was referenced Nov 19, 2026
Merged
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 (slice 3 of 4). Builds on the shared
--offlinehelper merged in #8634.Adds
--offline(andGITGALAXY_OFFLINE=1) to the three cobol_to_cobol reporters:cobol_system_limits_reporter,cobol_jcl_auditor,cobol_graveyard_finder. Each callsadd_flag(parser)beforeparse_args()andenforce(args)right after, so any network call raisesOfflineViolation.Tests:
tests/core_engine/test_offline_cobol_reporters_8624.pyruns each CLI in a subprocess. Per CLI, it checks that the run completes with--offline, that a socket connect is then refused, that the env var alone guards, and that with neither the connect is not refused.README guarantee table gets one row for the three tools.
Cross-repo: none.
Class / Sibling gaps
Class: report and audit CLIs that run without
galaxyscopeand so have no--offlineguard (#8624). Handled so far: galaxyscope (#8628), completeness_report and audit_recorder (#8634), and the three reporters here. Sibling gaps: the other CLIs undergitgalaxy/tools/that parse their own args (cobol_dag_architect, cobol_schema_forge, cobol_jcl_forge, cobol_microservice_slicer, cics_transaction_reader and the rest of the tools tree). They need the same two lines each, not a different mechanism; they are slice 4's inventory. Not done here because of the 5-file cap.Remaining slices
Slice 4 of 4: the remaining tool CLIs, each a two-line change plus a test row, in batches of 5 files.
🤖 Generated with Claude Code