[Fix] Multi-root workspaces treat secondary roots as outside the workspace#225
[Fix] Multi-root workspaces treat secondary roots as outside the workspace#225roomote[bot] wants to merge 1 commit into
Conversation
|
No actionable issues found. See task
|
|
Pushed d4df00b6e on What changed:
Validation:
Visual proof: not applicable for this change because it only updates backend/tooling test coverage. CI is rerunning now on |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
3f96d01 to
5b6b41e
Compare
|
I see some merge conflicts here. Working on them now... |
|
I detected merge conflicts but could not start a task to address them. |
3 similar comments
|
I detected merge conflicts but could not start a task to address them. |
|
I detected merge conflicts but could not start a task to address them. |
|
I detected merge conflicts but could not start a task to address them. |
|
This PR has merge conflicts that need to be resolved. |
|
I detected merge conflicts but could not start a task to address them. |
2 similar comments
|
I detected merge conflicts but could not start a task to address them. |
|
I detected merge conflicts but could not start a task to address them. |
|
This PR has merge conflicts that need to be resolved. |
1 similar comment
|
This PR has merge conflicts that need to be resolved. |
|
This PR has merge conflicts that need to be resolved. |
|
I detected merge conflicts but could not start a task to address them. |
|
This PR has merge conflicts that need to be resolved. |
2 similar comments
|
This PR has merge conflicts that need to be resolved. |
|
This PR has merge conflicts that need to be resolved. |
|
I detected merge conflicts but could not start a task to address them. |
|
This PR has merge conflicts that need to be resolved. |
|
I detected merge conflicts but could not start a task to address them. |
|
This PR has merge conflicts that need to be resolved. |
1 similar comment
|
This PR has merge conflicts that need to be resolved. |
|
I detected merge conflicts but could not start a task to address them. |
2 similar comments
|
I detected merge conflicts but could not start a task to address them. |
|
I detected merge conflicts but could not start a task to address them. |
|
This PR has merge conflicts that need to be resolved. |
|
I detected merge conflicts but could not start a task to address them. |
1 similar comment
|
I detected merge conflicts but could not start a task to address them. |
|
This PR has merge conflicts that need to be resolved. |
|
I detected merge conflicts but could not start a task to address them. |
|
This PR has merge conflicts that need to be resolved. |
1 similar comment
|
This PR has merge conflicts that need to be resolved. |
|
I detected merge conflicts but could not start a task to address them. |
3 similar comments
|
I detected merge conflicts but could not start a task to address them. |
|
I detected merge conflicts but could not start a task to address them. |
|
I detected merge conflicts but could not start a task to address them. |
|
This PR has merge conflicts that need to be resolved. |
|
I detected merge conflicts but could not start a task to address them. |
|
This PR has merge conflicts that need to be resolved. |
|
I detected merge conflicts but could not start a task to address them. |
8a98d56 to
5053feb
Compare
Closes #204
What problem this solves
Fixes an issue where users working in a VS Code multi-root workspace could have tools treat files in secondary roots as outside the workspace. Read, edit, patch, and create flows could resolve relative paths against the first root, and root-specific
.rooignorerules were not applied consistently.Why this change was made
This change makes path resolution choose the workspace root that already contains the target file or its parent directory, then carries that resolved path through ignore and protection checks, file-context tracking, and file-tool operations. It also fixes the Windows absolute-path command case so secondary-root
.rooignorerules still apply when commands referenceC:\...paths directly, and adds focused unit coverage for the new multi-root resolver and absolute diff-path behavior.User impact
File tools now behave correctly across multi-root workspaces, including creating new files under the right root and honoring secondary-root
.rooignorerules across Unix and Windows command styles.Related PRs