Skip to content

fix(scan): generate facts without downloads under --reach-disable-dependency-downloads - #1778

Draft
Jeppe Fredsgaard Blaabjerg (jfblaa) wants to merge 2 commits into
v1.xfrom
jfblaa/rea-1214-offline-facts
Draft

Jeppe Fredsgaard Blaabjerg (jfblaa) wants to merge 2 commits into
v1.xfrom
jfblaa/rea-1214-offline-facts

Conversation

@jfblaa

Copy link
Copy Markdown
Contributor

Heads up, reviewer

[Edit me, human!]


Claude Code · claude-opus-5-5

A reachability scan with --reach-disable-dependency-downloads now asks Coana to generate its Socket facts without downloads too, so Gradle, Maven, sbt and .NET builds resolve from the user's own caches. Before, only Coana's analysis got the option, and facts generation ahead of it still downloaded.

Draft until the Coana release with coana-tech/coana-package-manager#2880, which adds generate-socket-facts --disable-dependency-downloads.

Before it can merge
  • Bump the Coana CLI to the release that includes coana-tech/coana-package-manager#2880.
  • Require that release when the option is set, so an older --reach-version fails with a clear message instead of an unknown option.
Tests
  • run-manifest-facts.test.mts: listing and generating pass --disable-dependency-downloads only when the context disables downloads; removing the flag fails the test.
  • handle-create-new-scan.test.mts: the context disables downloads for a reachability scan with the option, not without reachability.

🤖 Generated with Claude Code

…endency-downloads

A reachability scan with --reach-disable-dependency-downloads passed the option only to Coana's
analysis, so the build tools resolving its facts first still downloaded. Facts generation now asks
Coana for the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndency-downloads

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant