Skip to content

Fix VS Code workspace discovery and code activation - #592

Merged
clavery merged 1 commit into
mainfrom
feature/vsc-workspace-fixes-docs
Jul 24, 2026
Merged

Fix VS Code workspace discovery and code activation#592
clavery merged 1 commit into
mainfrom
feature/vsc-workspace-fixes-docs

Conversation

@clavery

@clavery clavery commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Discover nested dw.json files in parent-folder and multi-root VS Code workspaces, preferring workspace order and the shallowest project configuration.
  • Allow nested project folders such as sfra/ to be pinned as the B2C Commerce root from Explorer and document all supported CLI configuration sources.
  • Treat activation of an already-active code version as an idempotent success across the SDK, CLI, and VS Code extension. Preserve actual OCAPI fault details and hide redundant activation choices when the active version is known.

Testing

  • pnpm --filter @salesforce/b2c-tooling-sdk run test:agent (2,045 passing, 7 pending)
  • pnpm --filter @salesforce/b2c-cli run test:agent (1,425 passing)
  • pnpm --filter b2c-vs-extension run test (full workspace-shape and activation matrix)
  • pnpm run lint:agent
  • pnpm run typecheck:agent
  • pnpm run docs:build
  • Built and inspected b2c-vs-extension-1.0.2.vsix

Dependencies

  • No net-new third-party dependencies were added
  • If net-new third-party dependencies were added, rationale/discussion is included and 3pl-approved is set by a maintainer

  • Relevant package tests pass
  • Code is formatted and lint passes

@clavery
clavery marked this pull request as ready for review July 24, 2026 00:08
@clavery
clavery requested a review from wei-liu-sf as a code owner July 24, 2026 00:08
@clavery
clavery requested a review from charithaT07 July 24, 2026 00:08
@clavery
clavery temporarily deployed to b2c-docs-preview July 24, 2026 00:08 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

📘 Docs preview

🧹 The preview for this PR has been removed (PR closed).

@clavery
clavery merged commit f6b4ced into main Jul 24, 2026
15 checks passed
@clavery
clavery deleted the feature/vsc-workspace-fixes-docs branch July 24, 2026 14:51
@clavery
clavery temporarily deployed to b2c-docs-preview July 24, 2026 14:51 — with GitHub Actions Inactive
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.

1 participant