Correctly split MCP registry update to it’s own workflow.#21089
Correctly split MCP registry update to it’s own workflow.#21089Ferroin merged 2 commits intonetdata:masterfrom
Conversation
This needs to trigger when your releases are actually published, not when we start the release process, so it needs to have it’s own workflow with a release trigger instead of being part of the release workflow (as we always manually publish the release on GitHub). This actually simplifies a couple of parts of the job as well, since the `release` event defaults to using the commit of the release that triggered the workflow when checking out the repository.
3c295d7 to
f31cf94
Compare
|
Rebased to remove a commit that was erroneously made in the wrong branch. |
There was a problem hiding this comment.
Pull Request Overview
This PR splits the MCP registry update functionality into its own dedicated workflow that triggers on actual releases rather than during the release process. This ensures the registry is updated only when releases are published on GitHub, not when the release process starts.
Key changes:
- Created a new standalone workflow file for MCP registry updates
- Changed trigger from being part of release workflow to using
releaseevent - Simplified version handling by reading from
packaging/versionfile instead of passing between jobs
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/update-mcp-registry.yml |
New dedicated workflow for MCP registry updates triggered on release events |
.github/workflows/release.yml |
Removed the MCP registry publishing job from the existing release workflow |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
) * Correctly split MCP registry update to it’s own workflow. This needs to trigger when your releases are actually published, not when we start the release process, so it needs to have it’s own workflow with a release trigger instead of being part of the release workflow (as we always manually publish the release on GitHub). This actually simplifies a couple of parts of the job as well, since the `release` event defaults to using the commit of the release that triggered the workflow when checking out the repository. * Address review comments. (cherry picked from commit 81acfc8)
* Correctly split MCP registry update to it’s own workflow. This needs to trigger when your releases are actually published, not when we start the release process, so it needs to have it’s own workflow with a release trigger instead of being part of the release workflow (as we always manually publish the release on GitHub). This actually simplifies a couple of parts of the job as well, since the `release` event defaults to using the commit of the release that triggered the workflow when checking out the repository. * Address review comments. (cherry picked from commit 81acfc8)
Summary
This needs to trigger when your releases are actually published, not when we start the release process, so it needs to have it’s own workflow with a release trigger instead of being part of the release workflow (as we always manually publish the release on GitHub).
This actually simplifies a couple of parts of the job as well, since the
releaseevent defaults to using the commit of the release that triggered the workflow when checking out the repository.Test Plan
n/a