Skip to content

XRAY-170839 - Support --solution-path outside the working dir - #956

Open
Phavya-jfrog wants to merge 2 commits into
jfrog:devfrom
Phavya-jfrog:feature/XRAY-170839-solution-path
Open

Phavya-jfrog wants to merge 2 commits into
jfrog:devfrom
Phavya-jfrog:feature/XRAY-170839-solution-path

Conversation

@Phavya-jfrog

@Phavya-jfrog Phavya-jfrog commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Problem

jf ca --solution-path=..\..\X.sln failed with "no solution file named …" because only the file name was used and it was searched for in the working directory. A solution in a parent directory could not be selected.

Fix

--solution-path now accepts a .sln / .slnx outside the working directory. A relative path is resolved against the working directory first, then the current directory. The whole solution is restored and audited.

Impact

  • The customer's layout now works.
  • Selecting a solution audits all of its projects, not only the one in --working-dirs.
  • Runs without --solution-path are unchanged.

Test

  • Unit and integration tests added.

Case 1: .sln --solution-path

Before:
Screenshot 2026-11-23 at 4 46 09 PM

After:
Screenshot 2026-11-23 at 4 46 37 PM

Case 2: .slnx --solution-path

Before:
Screenshot 2026-11-23 at 4 48 39 PM

After:
Screenshot 2026-11-23 at 4 48 57 PM

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI; Enforced overrides: Organization, Workspace
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 81aef383-f534-4123-84f0-1dfd4d1344c1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

@Phavya-jfrog Phavya-jfrog added the bug Something isn't working label Nov 23, 2026

This branch is waiting to be deployed

1 waiting deployment
frogbot — f91a41be Waiting Nov 23, 2026 by Phavya-jfrog via scan-pull-request #4857
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant