PDX-0: refactor(mcp): change org_describe workspace discovery paths#232
PDX-0: refactor(mcp): change org_describe workspace discovery paths#232Provar-tarunprashar wants to merge 6 commits into
Conversation
Release 1.6.0 — merge develop → main
RCA: org_describe resolved the Provar workspace via a sibling workspace-<name> dir; the layout needed updating so the project's parent directory is treated as the workspace root. Fix: workspaceCandidates now yields <parent>/, <parent>/Provar_Workspaces/workspace-<basename>/, and ~/Provar/workspace-<basename>/; discoverWorkspace requires a .metadata dir so candidate 1 falls through when the parent is not a workspace; removed the now-unused projectNameDashes helper and updated tests and docs.
|
Superseding this in favour of #233. #233 builds directly on your commit (preserved and credited there) but makes the workspace-discovery change additive instead of a replacement: it keeps the sibling We reproduced the customer's real layout and confirmed your root cause: PDX-515 fixed the SfObject cache parsing, but discovery still pointed at a non-existent sibling dir, so the parser never ran for the parent-layout. Your fix is the missing half — thank you for the RCA and the patch, @Provar-tarunprashar. Please follow along on #233. |
RCA: org_describe resolved the Provar workspace via a sibling workspace- dir; the layout needed updating so the project's parent directory is treated as the workspace root.
Fix: workspaceCandidates now yields /, /Provar_Workspaces/workspace-/, and ~/Provar/workspace-/; discoverWorkspace requires a .metadata dir so candidate 1 falls through when the parent is not a workspace; removed the now-unused projectNameDashes helper and updated tests and docs.