Skip to content

W-21616134: trigger CBW release after publishing extensions to marketplace#7011

Merged
jonnyhork merged 3 commits into
developfrom
jh/feat/trigger-cbw-on-publish
Mar 20, 2026
Merged

W-21616134: trigger CBW release after publishing extensions to marketplace#7011
jonnyhork merged 3 commits into
developfrom
jh/feat/trigger-cbw-on-publish

Conversation

@jonnyhork

@jonnyhork jonnyhork commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add trigger-cbw-release job to publishVSCode.yml that fires a repository_dispatch event to forcedotcom/code-builder-web after extensions are successfully published to the MS Marketplace.
  • Fire-and-forget — sends a single API call with the published version in the payload and does not block CTC close jobs.
  • Uses existing IDEE_GH_TOKEN (scope updated to include code-builder-web repo).

Work item: @W-21616134@

Companion PR: In forcedotcom/code-builder-web — adds the promote-on-publish.yml receiver workflow and auto-promote support in release.yml.

Test plan

  • Verify trigger-cbw-release job runs after publish succeeds and sends the dispatch
  • Verify CTC close jobs are unaffected (no new dependency)
  • Verify IDEE_GH_TOKEN has repo scope on forcedotcom/code-builder-web

Add trigger-cbw-release job to publishVSCode.yml that fires a
repository_dispatch event to forcedotcom/code-builder-web after extensions
are successfully published. Fire-and-forget — does not block CTC close.
@jonnyhork jonnyhork requested a review from a team as a code owner March 18, 2026 15:17
@jonnyhork jonnyhork changed the title feat: trigger CBW release after publishing extensions to marketplace @W-21616134 feat: trigger CBW release after publishing extensions to marketplace Mar 18, 2026
@jonnyhork jonnyhork changed the title @W-21616134 feat: trigger CBW release after publishing extensions to marketplace W-21616134: trigger CBW release after publishing extensions to marketplace Mar 18, 2026
- Add repo variable check (default enabled, set false to disable)
- Document in contributing/publishing.md
# Default (unset): dispatch after publish. Use when publishing without CBW promotion.
trigger-cbw-release:
needs: [publish, prepare-environment-from-main]
if: needs.publish.result == 'success' && vars.CBW_TRIGGER_ENABLED != 'false'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we ever want to publish to MS Marketplace without promoting CBW we can turn off the functionality by adding CBW_TRIGGER_ENABLED=false as a repo variable

@jonnyhork jonnyhork requested review from kylewalke and removed request for CristiCanizales March 19, 2026 17:35
@jonnyhork jonnyhork merged commit 07d9967 into develop Mar 20, 2026
61 of 69 checks passed
@jonnyhork jonnyhork deleted the jh/feat/trigger-cbw-on-publish branch March 20, 2026 16:13
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