fix: reject mangled publisher metadata#1310
Merged
rdimitrov merged 2 commits intoJul 12, 2026
Merged
Conversation
he-yufeng
force-pushed
the
fix/publisher-unicode-preflight
branch
from
May 27, 2026 21:31
48c86a5 to
fa7691f
Compare
Contributor
Author
|
Follow-up: fixed the CI lint failure from the first push. The test helper no longer returns an unused path, and local golangci-lint v2.11.4 run ./cmd/publisher/commands/... now reports 0 issues. Targeted publisher tests still pass. |
he-yufeng
force-pushed
the
fix/publisher-unicode-preflight
branch
from
June 5, 2026 01:55
fa7691f to
e21f214
Compare
rdimitrov
approved these changes
Jul 12, 2026
rdimitrov
left a comment
Member
There was a problem hiding this comment.
hey, @he-yufeng, sorry for the delay in reviewing it! This addresses a genuine problem so thank you so much for the contribution! 🙏
This was referenced Jul 12, 2026
Closed
rdimitrov
added a commit
that referenced
this pull request
Jul 13, 2026
Promotes production to the [`v1.8.0`](https://github.com/modelcontextprotocol/registry/releases/tag/v1.8.0) release. - `deploy/Pulumi.gcpProd.yaml` → `imageTag: 1.8.0` (one line). - The release build for `v1.8.0` completed successfully, so the image is present in ghcr. - **Merging this triggers `deploy-production.yml`** (it's path-filtered to `deploy/Pulumi.gcpProd.yaml`); the PR itself doesn't deploy. ### Notable behavior changes in v1.8.0 - **Org-namespace publishing now requires org Owner** (via GitHub login / PAT). Member-level publishers lose org publish — intended tightening. - Stricter validation may reject some previously-accepted package metadata / names (#1310, #1331, #1411). - New: cargo (crates.io) package registry support (#1207). ### After merge - Confirm prod `/v0/version` reports `1.8.0` before treating the rollout as done. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.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
server.jsonbytes before parsingUSERPROFILEas well asHOMEso Windows tests use the temp home directoryCloses #1306.
To verify
go test ./cmd/publisher/commands -run "TestPublishCommand_(Success|PreservesNonASCIIDescription|RejectsInvalidUTF8ServerJSON|RejectsUnpairedSurrogateEscape)$" -count=1go test ./cmd/publisher/commands -run TestPublishCommand -count=1go test ./cmd/publisher/commands -run TestValidateCommand -count=1git diff --check