Repository navigation
feat(security): porting_loop refuses --offline by name for run and run-many (Part of #8624) - #8676
Merged
Merged
Conversation
…n-many (Part of #8624) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
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 12):
tests/tools/porting_loop.py --offline.Before:
--offlinedied in argparse as an unrecognized argument;GITGALAXY_OFFLINE=1letrunstart and fail obscurely inside theport_runnersubprocess (which refuses since #8670), whilereport/adopt/tidyignored it.Now:
runandrun-many(they drive the model, or a--backend-command) exit naming themselves when--offlineorGITGALAXY_OFFLINE=1is set.report,adoptandtidyaccept the flag and run under the network guard. README exceptions paragraph updated.Class / Sibling gaps
Class: every
tests/tools/gitgalaxy/toolsCLI that can reach a model API or accept--offline. Handled:port_runner(#8670),porting_looprun/run-many (refused), report/adopt/tidy (guarded; this PR). Sibling gaps: othertests/toolsdrivers that shell out toport_runnerorclaude -p(e.g.strengthen.py, listed byci_network_inventory.py) are not yet checked for--offlinebehaviour; controllers (cobol_refractor_controlleretc.) and the standards cics/cobol CLIs remain from the #8624 handoff.Tests
tests/cobol_mainframe/test_porting_loop_tooling.py: 3 new offline tests pass;test_source_reads.pyandtest_change_classifier.pypass; doc-refs audit clean. mypy audit fails identically on main (environmental).pr_gates --fast/--ratchetsnot run (test-tool-only change, no parsing logic).Remaining slices
strengthen.pyand othertests/toolsmodel drivers; controllers; standards cics/cobol CLIs.🤖 Generated with Claude Code