Repository navigation
test(lifecycle): #4299 cell owns the repeated transitive parked-MCP notice - #4386
Merged
Daniel Meppiel (danielmeppiel) merged 1 commit intoNov 20, 2026
Merged
Conversation
…CP notice (#4113) Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 20, 2026 15:44
Collaborator
Author
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-t3-frozen-plugin-red
branch
November 20, 2026 15:45
Daniel Meppiel (danielmeppiel)
restored the
danielmeppiel-t3-frozen-plugin-red
branch
November 20, 2026 15:45
Collaborator
Author
|
Reopened: this lands first to clear the red test on main; #4384 rebases on it and takes the broader version of the cell. |
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-t3-frozen-plugin-red
branch
November 20, 2026 15:47
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The lifecycle check skips strict failure detection for a single-notice reproducer and mishandles wrapped notices, potentially missing duplicates or rejecting distinct output.
2 open issues
What changed in this PR
This test-only PR extends the lifecycle output oracle's #4299 exemption to repeated transitive parked-MCP notices. It addresses the frozen cold-consumer test failure while leaving the product fix to #4255.
Changes:
- Broadens the known cell to cover denied and unapproved transitive MCP notices, requiring two identical top-level lines.
- Adds a unit case covering owned repetition, a single notice, and failure without the exemption.
| File | Description |
|---|---|
| tests/utils/lifecycle_evidence.py | Updates the #4299 known-cell message and output patterns. |
| tests/unit/scripts/test_lifecycle_evidence.py | Adds coverage for the transitive parked-MCP notice variant. |
Review effort: Balanced
Comment on lines
+472
to
+473
| r"^(\[!\] Parked MCP server [^\n]*?(?:: denied|from transitive package)[^\n]*)$" | ||
| r".*^\1$" |
Comment on lines
+472
to
+473
| r"^(\[!\] Parked MCP server [^\n]*?(?:: denied|from transitive package)[^\n]*)$" | ||
| r".*^\1$" |
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Resolve tests/utils/lifecycle_evidence.py: the #4299 strict cell (widened by #4386) stays deleted because this PR fixes #4299; the #4386 unit test now asserts the transitive parked-MCP repeat is a plain I9 failure. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
…ny indentation Superset of #4386's top-level shape; needed once I9 compares [!] across indentation. test_frozen_remote_plugin_lifecycle.py: 31 passed. 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
tests/integration/test_frozen_remote_plugin_lifecycle.py::test_frozen_whole_plugin_cold_consumer[True-True-True]is red on main (b9ba827). The output oracle reports:This is the open defect #4299 (
apm install --frozenprints the parked MCP server notice once per phase): every MCP view build re-emits the park (src/apm_cli/integration/mcp_config_view.py,parked_mcp_message). The #4299 known cell matched only the: deniedvariant. This change widens that one cell intests/utils/lifecycle_evidence.py:: deniedandfrom transitive package;One unit case: the repeat is owned, a single notice passes, and without the cell the repeat fails I9. It fails without the change.
The product fix for #4299 is in flight in #4255 (H2b, "Fixes #4299"). When it lands, this cell stops matching and must be removed in that PR.
Issue and approved scope
Issue: Refs #4113, Refs #4299
Human scope-approval comment: requested by the 0.37 Stream T lead (main red triage).
Does this PR complete the issue, or what remains? It is partial: an oracle cell only. #4255 completes #4299.
Type of change
Testing
Results (local, off main b9ba827):
test_frozen_whole_plugin_cold_consumer: 8 passed (it was 1 failed).tests/unit/scripts/test_lifecycle_evidence.py: 207 passed. The new case fails without the change.Changelog
## [Unreleased]inCHANGELOG.md.Spec conformance (OpenAPM v0.1)