Repository navigation
fix(registry): normalize v0.1 remote type to transport_type - #3741
Closed
Mohammed Alkindi (MohammedAlkindi) wants to merge 1 commit into
Closed
Mohammed Alkindi (MohammedAlkindi) wants to merge 1 commit into
Mohammed Alkindi (MohammedAlkindi) wants to merge 1 commit into
Conversation
6 of 12 tasks
Collaborator
|
Thank you Mohammed Alkindi (@MohammedAlkindi) for digging into #3736 and for this fix. The 0.36.1 harness work landed the same normalization as a single owner ( |
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.
Description
The registry boundary omitted normalization for remote records, leaving MCP Registry v0.1 remotes with only a type field unmapped. This caused apm mcp show to report unknown for transport types and VS Code configuration generation to default modern SSE remotes to http.
Remote records in SimpleRegistryClient now normalize v0.1 type and legacy transport_type bi-directionally, and VS Code adapter and show command defensively accept both fields.
Issue and approved scope
Issue: Fixes #3736
Human scope-approval comment: #3736
Does this PR complete the issue, or what remains? Completes the issue.
Type of change
Testing
Spec conformance (OpenAPM v0.1)
docs/src/content/docs/specs/openapm-v0.1.mdupdated(new/changed
<a id="req-XXX"></a>anchor + prose + Appendix Crow).
docs/src/content/docs/specs/manifests/openapm-v0.1.requirements.ymlupdated.
@pytest.mark.req("req-XXX")test undertests/spec_conformance/added or extended.CONFORMANCE.{md,json}regenerated viauv run --extra dev python -m tests.spec_conformance.gen_statementand committed.