Skip to content

Order release publication channels - #83

Merged
helly25 merged 1 commit into
mainfrom
release/order-publication-pipeline
Aug 31, 2026
Merged

Order release publication channels#83
helly25 merged 1 commit into
mainfrom
release/order-publication-pipeline

Conversation

@helly25

@helly25 helly25 commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Release publication now runs as one visible sequence: GitHub assets first,
then the npm wrapper, then the VS Code Marketplace extension. This prevents a
tag from starting three independent workflows that can leave users seeing a
partially published release.

No package, extension, tag, or GitHub release is created by this pull request.
The npm and Marketplace workflows remain manually dispatchable for targeted
retries after an external-service failure.

AG;DR

Implementation

  • Make npm_publish.yml and vscode_marketplace.yml reusable via
    workflow_call, while retaining their existing workflow_dispatch inputs.
  • Remove their independent tag-push triggers.
  • Have release.yml invoke npm only after its GitHub Release job succeeds,
    then invoke Marketplace publication only after npm succeeds.
  • Pass only the credential needed by each called workflow.
  • Replace npm's 30-minute polling loop with an exact assertion that all eight
    release assets exist. This also protects manually dispatched retries.
  • Update release documentation, the workflow inventory, and the changelog to
    describe the ordered pipeline.

Validation

  • git diff --check
  • repository pre-commit hooks on all six changed files
    • YAML validation
    • Markdown table alignment
    • release version invariant
    • repository self-reference checks

Publication and retry behavior

The normal tag path is now:

  1. build four platform archives and checksums;
  2. create the GitHub Release and upload all eight assets;
  3. publish and verify @mboworks/coderef;
  4. package, publish, and verify mboworks.coderef.

The npm and Marketplace workflows can still be dispatched with an existing tag
to retry only the failed downstream channel. A dry-run release-candidate test
and publisher credential validation remain required before creating v0.6.0.

Signed-off-by: helly25 <6420169+helly25@users.noreply.github.com>
@helly25
helly25 requested a review from Fab-Cat as a code owner August 31, 2026 16:06
@helly25
helly25 merged commit bf01df8 into main Aug 31, 2026
8 checks passed
@helly25
helly25 deleted the release/order-publication-pipeline branch August 31, 2026 16:12
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