Skip to content

Doug/fix reachability engine cwd#134

Merged
Douglas (dacoburn) merged 2 commits intomainfrom
doug/fix-reachability-engine-cwd
Nov 26, 2025
Merged

Doug/fix reachability engine cwd#134
Douglas (dacoburn) merged 2 commits intomainfrom
doug/fix-reachability-engine-cwd

Conversation

@dacoburn
Copy link
Copy Markdown
Contributor

.socket.facts.json was not being generated in the right location for reachability analysis when running the CLI from another path.

Root Cause

The target path was being passed to the reachability engine but the generated path for the reachability results was using CWD.

Fix

CWD is set before running the reachability engine so that the path can be relative to where the scan is running.

Public Changelog

  • Fix for the CLI so that if running with a target path that is not the CWD for reachability the reachability results will be included.

@dacoburn Douglas (dacoburn) requested a review from a team as a code owner November 26, 2025 21:36
@dacoburn Douglas (dacoburn) added the Product Changelog New features for the public changelog label Nov 26, 2025
@github-actions
Copy link
Copy Markdown

🚀 Preview package published!

Install with:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple socketsecurity==2.2.38.dev1

Docker image: socketdev/cli:pr-134

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM approved

@dacoburn Douglas (dacoburn) merged commit 5fb953d into main Nov 26, 2025
6 checks passed
@dacoburn Douglas (dacoburn) deleted the doug/fix-reachability-engine-cwd branch November 26, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Product Changelog New features for the public changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants