Skip to content

ensure the target directory is handled correctly by the reachability analysis#811

Closed
Martin Torp (mtorp) wants to merge 5 commits intomainfrom
martin/rea-228-the-reachability-analysis-ignores-targets
Closed

ensure the target directory is handled correctly by the reachability analysis#811
Martin Torp (mtorp) wants to merge 5 commits intomainfrom
martin/rea-228-the-reachability-analysis-ignores-targets

Conversation

@mtorp
Copy link
Copy Markdown
Contributor

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.

John-David Dalton (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
Copy Markdown
Contributor

Manually merged 514654f

@jdalton John-David Dalton (jdalton) deleted the martin/rea-228-the-reachability-analysis-ignores-targets branch November 8, 2025 16:00
John-David Dalton (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.
John-David Dalton (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.

2 participants