add --reach-version and --fix-version flags to override the default Coana version#957
Merged
add --reach-version and --fix-version flags to override the default Coana version#957
Conversation
Contributor
Author
|
@cursor review |
Contributor
|
@mtorp How does this mesh with the |
jdalton
reviewed
Dec 2, 2025
Contributor
Author
Yea, that's a dev only feature. I think 99% of all users will never use any of these flags, but they are nice to have in case we want to quickly bump the Coana version to fix a bug, without having to wait for a Socket CLI release. |
jdalton
added a commit
that referenced
this pull request
Dec 9, 2025
Ported from v1.x commit eeeb240 (#957) - Add --fix-version flag to override default @coana-tech/cli version - Add CoanaDlxOptions type extending DlxOptions with coanaVersion - Update spawnCoanaDlx to accept and use coanaVersion parameter - Pass coanaVersion through cmd-fix -> handle-fix -> coana-fix -> spawnCoanaDlx - Update all spawnCoanaDlx calls in coana-fix.mts to pass coanaVersion - Update test fixtures to include coanaVersion parameter Based on PR #957
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.
Adds the options
--reach-versionand--fix-versionto override the default Coana version used in the CLI.Updates the CLI to version 1.1.40.
Note
Adds
--reach-versionand--fix-versionflags to override the@coana-tech/cliversion, wiring the value through to Coana execution across reachability and fix flows.socket scan create/socket scan reach: new--reach-versionto override@coana-tech/cliversion.socket fix: new--fix-versionto override@coana-tech/cliversion.spawnCoanaDlxinsrc/utils/dlx.mtsacceptscoanaVersionand uses it when invoking@coana-tech/cli.reachVersion/coanaVersionthroughperform-reachability-analysis,cmd-scan-*.mts, and fix pipeline (cmd-fix.mts→handle-fix.mts→coana-fix.mts).reachVersion(defaultundefined) in CI and GitHub scan creation configs.1.1.40and document new flags inCHANGELOG.md.Written by Cursor Bugbot for commit aaba0a2. Configure here.