feat(e2e): re-enable automated Marketplace publish + auto-update - #648
Closed
naveenku-jfrog wants to merge 3 commits into
Closed
feat(e2e): re-enable automated Marketplace publish + auto-update#648naveenku-jfrog wants to merge 3 commits into
naveenku-jfrog wants to merge 3 commits into
Conversation
Restore the automated Marketplace publish in Job 1 (publish + share + install), so jobs 2 & 3 always exercise the PR's own code without a manual UI upload. The step was previously removed because it failed with "version must increase" on re-runs (same run_number => same version). Fix the version scheme to 0.<run_number>.<run_attempt>, which is strictly increasing across both new runs and re-runs, and is globally monotonic for the shared extension id. Gated on ADO_E2E_MARKETPLACE_PAT: unset => no-op, manual artifact upload still works. Co-authored-by: Cursor <cursoragent@cursor.com>
Prefer the traceable 0.<PR#>.<run_number>, but if the version currently live on Marketplace is >= that candidate, take the live version and bump its patch instead. This satisfies Marketplace's "version must increase" rule (the private e2e extension already has higher publishes like 0.647.87) while keeping versions meaningful when the candidate is ahead. Adds a "Resolve next extension version" step that queries tfx extension show and computes the final version; the package + publish steps consume it. Falls back to the candidate when no Marketplace PAT is available. Co-authored-by: Cursor <cursoragent@cursor.com>
naveenku-jfrog
force-pushed
the
feat/e2e-auto-publish
branch
from
August 4, 2026 03:59
7483538 to
cca7aff
Compare
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Re-enables the fully automated e2e flow so jobs 2 & 3 always test the PR's own code:
.vsix, shares it with the dev org, and installs it — after which ADO auto-updates the org to each new version.0.<run_number>.<run_attempt>, which is strictly increasing across runs and re-runs. This avoids the old "version must increase" failure that made Job 1 fail and silently skip jobs 2 & 3.ADO_E2E_MARKETPLACE_PATsecret. If it is unset, the step is a no-op and the manual artifact-upload flow still works.Behavior
Notes
run_numberis globally monotonic per workflow,run_attemptcovers re-runs.Test plan