Skip to content

Comments

Add VS Code extension CI tests and VSIX release publishing#182

Closed
clavery wants to merge 1 commit intomainfrom
feature/vsc-ci
Closed

Add VS Code extension CI tests and VSIX release publishing#182
clavery wants to merge 1 commit intomainfrom
feature/vsc-ci

Conversation

@clavery
Copy link
Collaborator

@clavery clavery commented Feb 21, 2026

Summary

Fixed VScode testing in CI and adds publish workflow

  • Separate CI workflow (ci-vs-extension.yml) for extension tests using xvfb-run, path-filtered to packages/b2c-vs-extension/**
  • Test compilation: New tsconfig.test.json and pretest script to compile test files to out/test/ (main tsconfig excludes src/test)
  • Main CI fix: Fixed self-referencing step condition bug (steps.vs-extension-teststeps.cli-test); replaced lint-only step with typecheck + lint
  • Publish workflow: VSIX version detection via git tags, packaging, tagging (b2c-vs-extension@<version>), changelog in release notes, and .vsix upload to GitHub releases

Test plan

  • CI workflow runs typecheck + lint for the extension on all PRs
  • ci-vs-extension.yml triggers only on extension path changes and runs xvfb-run -a pnpm run test
  • pnpm --filter b2c-vs-extension run pretest produces out/test/extension.test.js

- Create separate CI workflow for extension tests using xvfb-run
  (path-filtered to packages/b2c-vs-extension/**)
- Add tsconfig.test.json and pretest script to compile test files
- Fix self-referencing step condition bug in ci.yml
- Add typecheck to main CI for the extension (catches SDK breakage)
- Add VSIX build, git tagging, and release upload to publish workflow
@clavery clavery requested a review from wei-liu-sf as a code owner February 21, 2026 16:02
@clavery
Copy link
Collaborator Author

clavery commented Feb 22, 2026

Merged into #186 (unified VS Code extension improvements PR).

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