Repository navigation
test(mcp): assert the 0.37 effective-transport policy in the registry SSE heal test - #3877
Merged
Daniel Meppiel (danielmeppiel) merged 2 commits intoNov 18, 2026
Conversation
… SSE heal test (#3876) #3788 made mcp.transport.allow judge the effective registry transport, so an SSE remote outside the allow list is now blocked before any MCP write. The heal lifecycle test still asserted the 0.36.1 declared-only contract. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 18, 2026 13:52
Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the test-and-changelog update aligning MCP heal lifecycle expectations with the effective-transport policy.
No open issues 🎉
What changed in this PR
Updates the MCP heal lifecycle regression test to match the effective-transport policy introduced in #3788, resolving #3876. No production code changes are included.
Changes:
- Renames the test and expects installation to reject a registry SSE transport outside the policy allow list.
- Verifies that blocked installation leaves native MCP files unchanged and that
audit --cireports transport-policy failure. - Records the test correction in the changelog.
| File | Description |
|---|---|
tests/integration/test_mcp_retired_shape_heal_lifecycle.py |
Replaces the old allow expectation with rejection, pre-write safety, and audit assertions. |
CHANGELOG.md |
Documents alignment with the 0.37 effective-transport policy. |
Review effort: Balanced
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-3876-heal-transport-test
branch
November 18, 2026 14:10
This was referenced Nov 18, 2026
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 19, 2026
* docs(changelog): make 0.36.0 onwards legible and concise Rewrites [Unreleased], [0.36.1] and [0.36.0] as one short line per user-visible change, with Highlights and a Breaking changes and upgrade notes list per version, grouped PRs and internal-only entries dropped (#3637, #3771, #3794, #3796, #3877). Credits, PR references, the 0.36.1 issue closures and the live Azure DevOps caveat are kept. Sections from 0.35.1 down are unchanged. The changelog instructions now describe this style. Co-authored-by: Copilot App <[email protected]> * chore(lock): record the new changelog instructions hash Co-authored-by: Copilot App <[email protected]> * docs: note the shared .mcp.json and VS Code Local mode in 0.37 upgrade notes Co-authored-by: Copilot App <[email protected]> * docs(changelog): restore accuracy qualifiers flagged in review Restores the static env caveat for .mcp.json, the pack default-format qualifier, Copilot CLI scope for COPILOT_HOME, the 0.36.1 frozen-lockfile recovery step, and the bundle install --target qualifier. Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: danielmeppiel <[email protected]> Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 19, 2026
Resolve the CHANGELOG conflict with #3886 by taking main's file: the concise rewrite drops test-only entries (as it did for #3877), so this test-only PR carries no CHANGELOG line. Co-authored-by: Copilot App <[email protected]>
5 of 14 tasks
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 19, 2026
…idance (#3903) * docs(changelog): enforce one-line entries in agent and contributor guidance Make the changelog rule concrete in its single source (.apm/instructions/changelog.instructions.md): one line, user-visible effect first, 25 words or fewer, ending with (#PR); breaking changes in "Breaking changes and upgrade notes" with a one-line migration; never a second line for the same change; no entry for internal-only PRs; two good and two bad examples from the current changelog. cut-release now re-sanitizes the whole [Unreleased] block at release time (dedupe, condense, Highlights, upgrade notes, ref/credit check). The delivery and merge autopilot workers, pr-description-skill, CONTRIBUTING.md, the PR template and the development guide point at the rule. Generated .github/ and .agents/ copies and apm.lock.yaml hashes are re-synced with apm install. Clean the current [Unreleased] block into that shape: drop the long duplicates of #3765/#3818, #3769, #3788, #3865, #3867, #3873, #3875, #3882 and the spec lines, fold their user-relevant caveats into the short lines, and drop test-only #3877. Co-authored-by: Copilot App <[email protected]> * docs(changelog): scope delivery-worker CHANGELOG edits to one task; shorten sanitizer example Address review: only the task whose files_hint owns CHANGELOG.md edits it (wave gate forbids shared-file edits across task branches), and the worked example now fits rule 2 while keeping its caveat and four refs. Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: danielmeppiel <[email protected]> Co-authored-by: Copilot App <[email protected]>
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
test_registry_sse_heal_is_not_newly_blocked_by_effective_transportfails on main. It still asserts the 0.36.1 contract, where only declared MCP transports were judged. #3788 (#3764) deliberately mademcp.transport.allowjudge the effective transport, including registry SSE remotes. The test, renamedtest_registry_sse_heal_is_blocked_by_effective_transport, now asserts the 0.37 contract:heal-registryand the SSE transport;audit --cireports mcp-transport as failed.Tests only; no production code changes.
Issue and approved scope
Issue: Fixes #3876
Human scope-approval comment: #3876 (comment)
Does this PR complete the issue, or what remains? Completes it.
Type of change
Testing
Validation:
APM_E2E_TESTS=1 APM_BINARY_PATH=$PWD/.venv/bin/apm .venv/bin/python -m pytest tests/integration/test_mcp_retired_shape_heal_lifecycle.py -p no:xdist -qgives 29 passed on main 2ce7a38 plus this change; the original test failed.uvx [email protected] checkandformat --checkare clean.Spec conformance (OpenAPM v0.1)