ci(vscode): serialize marketplace publish with retries - #540
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughVSIX packaging remains parallelized, while release upload and Marketplace publishing now run in a separate serial job with per-file retries and duplicate handling. Release documentation describes rerunning failed work safely. ChangesVSIX release flow
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/publish-vscode.yml:
- Around line 179-183: Update the release upload step to define the resolved
release tag as an environment variable named RELEASE_TAG, then pass
"$RELEASE_TAG" to gh release upload instead of interpolating inputs.release_tag
or github.ref_name in the shell command. Preserve the existing repository,
clobber, and VSIX arguments.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: ff1b2185-107f-498c-a4c2-e5cd2d6e0bca
📒 Files selected for processing (2)
.claude/commands/release.md.github/workflows/publish-vscode.yml
The nightly for v0.1.2026072205 needed four attempts because the Marketplace intermittently returns internal errors (TF400898) when six platform publishes for one extension land concurrently — each rerun cleared a few more targets (3 → 2 → 1 → 0 failures). Parallel release-asset uploads from six jobs also race on the same release.
publish-releasejob collects the six vsix files, uploads them to the GitHub release in onegh release upload --clobbercall, then publishes them to the Marketplace one at a time with 3 attempts per vsix (30s backoff).--clobberre-uploads cleanly andvsce --skip-duplicatetreats versions an earlier attempt already published as success.needs: publish-vscode). Previously a failed target still let the other five publish, which is exactly the partial state that made reruns awkward; a failed leg now means rerun the failed jobs and publish once, atomically.publish-releasejob, never by a new tag.Verified with actionlint; per-path behavior (nightly dispatch, stable tag push, PR check, instant builds) audited against all four callers.