ci: Install publisher via binary release#42
Merged
masnwilliams merged 1 commit intomainfrom Sep 10, 2025
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Performed full review of 66e26ed...87c787c
Tip
⚡ Quick Actions
This review was generated by Mesa.
Actions:
Slash Commands:
/review- Request a full code review/review latest- Review only changes since the last review/describe- Generate PR description. This will update the PR body or issue comment depending on your configuration/help- Get help with Mesa commands and configuration options
1 files reviewed | 3 comments | Review on Mesa | Edit Reviewer Settings
| if [ "$ARCH" = "x86_64" ]; then ARCH="amd64"; elif [ "$ARCH" = "aarch64" ]; then ARCH="arm64"; fi | ||
| OS="$(uname -s | tr '[:upper:]' '[:lower:]')" | ||
| URL="https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_${OS}_${ARCH}.tar.gz" | ||
| curl -L "$URL" | tar xz mcp-publisher |
| run: | | ||
| set -euo pipefail | ||
| ARCH="$(uname -m)" | ||
| if [ "$ARCH" = "x86_64" ]; then ARCH="amd64"; elif [ "$ARCH" = "aarch64" ]; then ARCH="arm64"; fi |
There was a problem hiding this comment.
The architecture detection only handles x86_64 and aarch64, but doesn't have a fallback for unsupported architectures. This could cause silent failures if the workflow runs on an unexpected architecture. Consider adding an explicit check and error message for unsupported architectures.
Agent: 🤖 General
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.
TL;DR
Updated the
publish-mcpworkflow to install themcp-publishervia its binary release instead of building it from source.Why we made these changes
Building the publisher from source during the CI run is slow and adds unnecessary complexity. Downloading a pre-compiled binary is faster, simplifies the workflow by removing the Go build dependency, and improves reliability.
What changed?
publish-mcp.ymlworkflow now downloads themcp-publisherbinary directly from its GitHub release assets.setup-goaction and thego installcommand, as the Go toolchain is no longer required.Description generated by Mesa. Update settings