Skip to content

fix(cli): resolve --source the same way in build, validate and inspect - #603

Merged
pradeeban merged 1 commit into
ControlCore-Project:devfrom
bhuvan-somisetty:fix/source-dir-resolution
Nov 2, 2026
Merged

pradeeban merged 1 commit into
ControlCore-Project:devfrom
bhuvan-somisetty:fix/source-dir-resolution

Conversation

@bhuvan-somisetty

Copy link
Copy Markdown

Fixes #602

build, validate and inspect now share one helper for --source. A path that exists from the current directory is used as is, otherwise it falls back to the folder next to the workflow. So --source demo/src and the default src both work from outside the project, and validate no longer passes a study that build can't find.

Added tests for validate, inspect and build run from the parent folder. All three fail on dev and pass with this change. Full suite passes.

@bhuvan-somisetty

bhuvan-somisetty commented Oct 8, 2026 •

Copy link
Copy Markdown
Author

@pradeeban small fix for #602, validate and build now use the same --source path. PTAL when you get a chance.

@pradeeban
pradeeban merged commit 951f8c0 into ControlCore-Project:dev Nov 2, 2026
15 checks passed
@pradeeban

Copy link
Copy Markdown
Member

@bhuvan-somisetty I am trailing behind on the PRs. Thanks for the contribution. Merging...

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