Skip to content

Conversation

@auscompgeek
Copy link
Member

@auscompgeek auscompgeek commented Nov 17, 2025

Implements the suggestion from #3104 to separate the publish jobs.

  • Split VSCode publish into two separate jobs (Open VSX and VS Marketplace)
  • Ensures the same VSIX file is published to both registries
  • Build and Open VSX publish happen together, VS Marketplace publishes sequentially to the same VSIX
  • Allows independent reruns of each marketplace publish job
  • Removed skipDuplicate as it's no longer needed with separate jobs

Amp-Thread-ID: https://ampcode.com/threads/T-c5112243-7633-492f-911d-5c3e5998c847

- Split publish-to-open-vsx and publish-to-vs-marketplace into separate jobs
- Ensure the same VSIX file is published to both registries
- Build and Open VSX publish happen together, VS Marketplace publishes sequentially
- Remove skipDuplicate since jobs can now be rerun independently
@auscompgeek auscompgeek requested a review from a team as a code owner November 17, 2025 13:38
with:
name: vscode-extension
path: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
retention-days: 1
Copy link
Member

Choose a reason for hiding this comment

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

Do we need overwrite: true? Advise I think it will fail if we do to deployments in the same day.

name: Push cursorless-talon subrepo
runs-on: ubuntu-latest
needs: publish-extension
needs: [publish-to-vs-marketplace, publish-neovim-extension]
Copy link
Member

Choose a reason for hiding this comment

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

My gut feeling is that if we successfully update the vscode marketplace we should also update the Talon repository regardless of neovim status. Historically the neovim publishing have been a bit flaky.

Copy link
Member

Choose a reason for hiding this comment

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

Agreed

@AndreasArvidsson
Copy link
Member

I wouldn't say I'm against go in this direction. At the same time is it really that problematic to rebuild the binary in case the vscode market plays publishing doesn't work? We're already rebuilding the binary between testing and publishing. I think the best solution would be to build the binary once and then reuse it for testing and publishing, and if we're not going to do that the current set up is fine. How do you feel?

@pokey
Copy link
Member

pokey commented Nov 17, 2025

If we're going this direction I think I'd opt for 3 steps: build, publish openvsix, and publish vscode. The latter two can run in parallel and both depend on build. Ideally one marketplace being down shouldn't block the other, and we should be able to rerun either.

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.

4 participants