Add hidden reach-continue-on-* flags for Coana v15#191
Merged
Martin Torp (mtorp) merged 2 commits intomainfrom Apr 23, 2026
Merged
Add hidden reach-continue-on-* flags for Coana v15#191Martin Torp (mtorp) merged 2 commits intomainfrom
Martin Torp (mtorp) merged 2 commits intomainfrom
Conversation
Coana v15 introduces four new halt-by-default behaviors in socket mode and corresponding --reach-continue-on-* opt-outs. Expose them as hidden flags on the Python CLI so it is ready to forward them when Coana v15 becomes the default. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
🚀 Preview package published! Install with: pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple socketsecurity==2.2.85.dev2Docker image: |
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Benjamin Barslev Nielsen (barslev)
approved these changes
Apr 22, 2026
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.
Summary
Preparation for the upcoming Coana CLI v15 major release.
Coana v15 changes the default halt behavior in socket mode for four different failure conditions, and introduces matching
--reach-continue-on-*flags to opt out of each halt. This PR adds those four flags to the Python CLI as hidden argparse options (viahelp=argparse.SUPPRESS) and forwards them throughReachabilityAnalyzer.run_reachability_analysisto the spawnedcoana runcommand. Nothing changes for users today — the flags are no-ops against the current default Coana version — but the Python CLI will forward them as soon as Coana v15 becomes the default.New flags (all hidden from
--help)--reach-continue-on-analysis-errors--reach-continue-on-analysis-errors--reach-continue-on-install-errors--reach-continue-on-install-errors--reach-continue-on-missing-lock-files--reach-continue-on-missing-lock-files--reach-continue-on-no-source-files--reach-continue-on-no-source-filesWhen the flag is set, the corresponding argument is appended to the
coana runargv; when it's unset, nothing is appended and Coana applies its own default.Files touched
socketsecurity/config.py—CliConfigfields, argparse options (help=argparse.SUPPRESS), andconfig_argswiringsocketsecurity/core/tools/reachability.py— newcontinue_on_*kwargs onrun_reachability_analysis+ argv forwardingsocketsecurity/socketcli.py— pass config values through to the analyzerTest plan
tests/unit/test_config.py+tests/unit/test_cli_config.pypassTrueon the config when passed--helpcheck: all four flags are absent from help output🤖 Generated with Claude Code