Skip to content

Conversation

@mtorp
Copy link
Contributor

@mtorp mtorp commented Oct 24, 2025

Fixes a bug where the target directory was ignored by the reachability analysis.
For example, socket scan reach . ran the same reachability analysis as socket scan reach ./foo.

There are some constraints added to the targets when running in reachability analysis:

  • It must be a directory
  • It must be inside cwd.
  • There can only be one target
    These constraints are added because the reachability analysis is meant to run on the root of a project.

@mtorp mtorp requested a review from jdalton October 24, 2025 07:47
jdalton added a commit that referenced this pull request Oct 29, 2025
Add missing reachMinSeverity property to reach configuration objects
in handle-ci.mts and create-scan-from-github.mts. Convert spinner type
from null to undefined using nullish coalescing in reachability
analysis calls. Fix spawnSync usage in provider-factory.mts to handle
Buffer/string stdout properly without encoding option.

Related to PR #811 and PR #827.
@jdalton
Copy link
Contributor

jdalton commented Oct 29, 2025

Manually merged 514654f

@jdalton jdalton closed this Oct 29, 2025
@jdalton jdalton deleted the martin/rea-228-the-reachability-analysis-ignores-targets branch November 8, 2025 16:00
jdalton added a commit that referenced this pull request Nov 13, 2025
Add missing reachMinSeverity property to reach configuration objects
in handle-ci.mts and create-scan-from-github.mts. Convert spinner type
from null to undefined using nullish coalescing in reachability
analysis calls. Fix spawnSync usage in provider-factory.mts to handle
Buffer/string stdout properly without encoding option.

Related to PR #811 and PR #827.
jdalton added a commit that referenced this pull request Nov 24, 2025
Add missing reachMinSeverity property to reach configuration objects
in handle-ci.mts and create-scan-from-github.mts. Convert spinner type
from null to undefined using nullish coalescing in reachability
analysis calls. Fix spawnSync usage in provider-factory.mts to handle
Buffer/string stdout properly without encoding option.

Related to PR #811 and PR #827.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants