Skip to content

feat(release): add vscode-ext to stable orchestrator#3222

Merged
caio-pizzol merged 1 commit into
mainfrom
release-orchestrator-pr4-vscode
May 11, 2026
Merged

feat(release): add vscode-ext to stable orchestrator#3222
caio-pizzol merged 1 commit into
mainfrom
release-orchestrator-pr4-vscode

Conversation

@caio-pizzol
Copy link
Copy Markdown
Contributor

Stacked on #3221. Completes the core chain: superdoc → react → vscode-ext. vscode-ext publishes to the VS Code Marketplace (not npm) and attaches a .vsix to the GitHub release; the script's existing helpers already covered both, so this PR adds the descriptor, the resume adapter, and the workflow plumbing.

  • `resumeVscodeExtPublish` runs `pnpm run package` then `vsce publish --skip-duplicate`; idempotent against the marketplace.
  • vscode-ext descriptor uses `vsCodeExtensionId` (no `npmPackages`), so `inspectPackageReleaseState` probes the marketplace.
  • release-stable.yml's orchestrator step gains `VSCE_PAT` env so vsce can authenticate.
  • release-vscode-ext.yml stops auto-firing on stable; main pushes still build a .vsix and attach it to the GitHub release (VS Code Marketplace doesn't accept semver prereleases anyway).
  • Three remaining `pkg.name === 'vscode-ext'` branches in the script switched to `pkg.vsCodeExtensionId` capability checks for consistency with refactor(release): capability-based descriptors for stable orchestrator #3201's refactor pattern.

Must stay the same: vscode-ext's .vsix asset upload to the GitHub release (handled by `ensureGitHubReleaseAssets` during recovery); chain-independent fail-stop between tools and core.

Verified: `node --test scripts/tests/release-local.test.mjs` → 23 pass, 2 fail (pre-existing on main, unrelated).

@caio-pizzol caio-pizzol requested a review from a team as a code owner May 11, 2026 13:38
@caio-pizzol caio-pizzol force-pushed the release-orchestrator-pr3-react branch from a03f2cf to 58a368a Compare May 11, 2026 13:56
@caio-pizzol caio-pizzol force-pushed the release-orchestrator-pr4-vscode branch from 137709c to d9dbab8 Compare May 11, 2026 14:00
Base automatically changed from release-orchestrator-pr3-react to main May 11, 2026 14:13
Completes the core chain: superdoc -> react -> vscode-ext. vscode-ext
publishes to the VS Code Marketplace (not npm) and ships a .vsix asset
on the GitHub release; the script's existing helpers already cover both,
so this PR adds the descriptor, the resume adapter, and the workflow
plumbing.

- `resumeVscodeExtPublish` runs `pnpm run package` then `vsce publish
  --skip-duplicate`; idempotent against the marketplace. In a tagged
  snapshot it also runs `build:superdoc` first so esbuild can resolve
  the webview's `superdoc` and `superdoc/style.css` imports through
  packages/superdoc/dist (snapshot only ran `pnpm install`).
- vscode-ext descriptor uses `vsCodeExtensionId` (no `npmPackages`), so
  `inspectPackageReleaseState` probes the marketplace, not npm.
- release-stable.yml's orchestrator step gains `VSCE_PAT` env so vsce can
  authenticate.
- release-vscode-ext.yml stops auto-firing on stable; main pushes still
  build .vsix attachments to the GitHub release.
- Three remaining `pkg.name === 'vscode-ext'` branches in the script
  (`getExpectedReleaseAssets`, `isGitHubReleaseComplete`, `ensureGitHubRelease`)
  switched to `pkg.vsCodeExtensionId` capability checks for consistency
  with PR #3201's refactor pattern.
@caio-pizzol caio-pizzol force-pushed the release-orchestrator-pr4-vscode branch from d9dbab8 to 95f2164 Compare May 11, 2026 14:13
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@caio-pizzol caio-pizzol merged commit f4db119 into main May 11, 2026
15 checks passed
@caio-pizzol caio-pizzol deleted the release-orchestrator-pr4-vscode branch May 11, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants