Skip to content

Fix pnpm workspace change detection in VS Code publish workflow - W-24490676 - #195

Merged
peternhale merged 1 commit into
mainfrom
ph/W-24490676-fix-pnpm-change-detection
Oct 12, 2026
Merged

peternhale merged 1 commit into
mainfrom
ph/W-24490676-fix-pnpm-change-detection

Conversation

@peternhale

Copy link
Copy Markdown
Contributor

Summary

Install the VS Code change-detector tools in a temporary directory outside the consumer repository. Run tsx from that directory while keeping the consumer checkout as the working directory.

The current npm install --no-save runs inside pnpm workspaces and fails on workspace:* dependencies before change detection starts. This affected the Apex LS nightly release. The change leaves npm, Yarn, and pnpm caller inputs unchanged.

Validation

  • Ran the isolated install and change detector from the Apex LS pnpm workspace; it found the VS Code extension and completed.
  • Ran the same flow against a temporary npm consumer; it completed.
  • Parsed the workflow YAML and ran git diff --check.

Work item: W-24490676
Related Apex LS PR: forcedotcom/apex-language-support#746

@peternhale
peternhale merged commit 12c042e into main Oct 12, 2026
4 checks passed
@peternhale
peternhale deleted the ph/W-24490676-fix-pnpm-change-detection branch October 12, 2026 16:04
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