Skip to content

W-22382831 & W-22382821 feat: VSCode Release Draft workflow#28

Open
franciscoperezsammartino wants to merge 11 commits into
salesforce:mainfrom
franciscoperezsammartino:feat/automated-release-workflow
Open

W-22382831 & W-22382821 feat: VSCode Release Draft workflow#28
franciscoperezsammartino wants to merge 11 commits into
salesforce:mainfrom
franciscoperezsammartino:feat/automated-release-workflow

Conversation

@franciscoperezsammartino
Copy link
Copy Markdown

Summary

  • Adds .github/workflows/vscode-release.yml — weekly (Wednesday) + manual dispatch workflow that finds new commits since the last release, computes a proposed version from the lsp-server diff (even-minor convention), builds a CHANGELOG draft + VSIX, and opens a release-draft PR
  • Adds packages/vscode/vsix-versions/ directory (.gitkeep) as the target location for VSIX artifacts
  • Adds repository field to packages/vscode/package.json

Closes W-22382827, W-22382831

Test plan

  • Trigger workflow manually via workflow_dispatch with override_last_version set to the current version to validate the end-to-end flow
  • Confirm release-draft PR is opened with correct CHANGELOG draft, version bump, and VSIX artifact
  • Confirm workflow exits cleanly with no PR when there are no relevant commits

Notes

  • Secrets (VSCE_PERSONAL_ACCESS_TOKEN, IDEE_OVSX_PAT) and the publish workflow will be added in a follow-up (W-22382824)
  • VSIX LFS decision is pending — to be made before the first real release

🤖 Generated with Claude Code

- Add .github/workflows/vscode-release.yml: weekly + manual dispatch
  workflow that finds new commits since the last release, computes a
  proposed version from lsp-server diff (even-minor convention), builds
  a CHANGELOG draft + VSIX, and opens a release-draft PR
- Add packages/vscode/vsix-versions/ as the VSIX artifact directory
- Add repository field to packages/vscode/package.json

Closes W-22382827, W-22382831

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@franciscoperezsammartino franciscoperezsammartino changed the title feat: automated VSCode extension release workflow feat: VSCode Release Draft workflow May 6, 2026
franciscoperezsammartino and others added 9 commits May 7, 2026 09:59
…ad of git log

Replaces the git log commit scrape with a per-package CHANGELOG.md reader.
Each package uses changesets and squash-merges, so individual commits are not
reliably visible on the default branch. Reading the package changelogs directly
gives richer, more accurate content for the release draft.

Packages tracked: lsp-server, lsp, language, compiler, parser, parser-javascript,
parser-tree-sitter, agentforce, types, lsp-browser, dialect/agentscript,
dialect/agentforce, dialect/agentfabric.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…a process.env

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…sion comparison

Version comparison required changeset history that may not exist in all
environments. Git diff on each package CHANGELOG.md between the release
commit and HEAD is simpler and works universally.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…and git commits

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1. Upload VSIX as draft GitHub Release asset instead of committing to git
2. Add tree-sitter binary checksum verification after download
3. Add job-level timeout-minutes: 30
4. Pin runner to ubuntu-24.04 instead of ubuntu-latest
5. Use git pickaxe (-S) for faster release commit detection
6. Use ::notice:: annotation when nothing to release
7. Document even/odd minor versioning convention in comment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@franciscoperezsammartino franciscoperezsammartino changed the title feat: VSCode Release Draft workflow W-22382831 feat: VSCode Release Draft workflow May 11, 2026
@franciscoperezsammartino franciscoperezsammartino marked this pull request as ready for review May 11, 2026 17:23
@franciscoperezsammartino franciscoperezsammartino changed the title W-22382831 feat: VSCode Release Draft workflow W-22382831 & W-22382821 feat: VSCode Release Draft workflow May 11, 2026
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.

1 participant