Repository navigation
test(lifecycle): drop duplicate and stale strict output cells that turn main red - #4341
Merged
Daniel Meppiel (danielmeppiel) merged 1 commit intoNov 20, 2026
Conversation
…rn main red (#4113) - Remove the second 'install-frozen-parked-mcp-notice-per-phase' (#4299) cell: two cells shared one id and owner, so the second always reported 'did not fail'. - Remove the #4241 empty-org-policy notice cell: the per-phase #4241 banner cell already owns that line. - #4336 keys on the same hook summary line printed twice back to back. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 20, 2026 14:28
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-t1-stale-output-cells
branch
November 20, 2026 14:30
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The hook-summary check incorrectly matches valid per-target output, causing the command to fail because the two strict checks are no longer disjoint.
1 open issue
What changed in this PR
This test-only PR aims to restore lifecycle jobs after the lifecycle test family landed by removing duplicate or stale strict output cells and narrowing hook-summary matching.
Changes:
- Removes the duplicate frozen-install parked-MCP notice cell.
- Removes the empty-org-policy notice cell already covered by another cell.
- Restricts hook-summary matching to identical lines printed consecutively.
| File | Description |
|---|---|
tests/utils/lifecycle_evidence.py |
Removes redundant known-output cells and narrows duplicate hook-summary detection. |
Review effort: Balanced
| r"Parked MCP server", | ||
| output=r"^\s*(\[!\] Parked MCP server [^\n]*)$.*^\s*\1$", | ||
| # The same hook summary line printed twice back to back in one package block. | ||
| output=r"^ (\| \w+: runs [^\n]*)\n \1$", |
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Tests moved by main's split are carried to their new modules: test_auth_phase3 -> test_auth_validation, drift advisory header -> test_drift_pure_helpers. 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.

Fast-lane fix for main's red lifecycle jobs after #4142, #4227 and #4156 landed. It touches only
tests/utils/lifecycle_evidence.py.Changes
install-frozen-parked-mcp-notice-per-phasecells shared one id and owner, so the second always reported "did not fail". This keeps the first.install-policy-banner-per-phasecell already owns that line, so this cell broketests/lifecycle/test_core_example.py.Validation
uv run pytest tests/unit/scripts/test_lifecycle_evidence.py: 206 passed.uvx [email protected] checkandformat --checkon the file: clean.tests/lifecycle/test_core_example.py(208 passed together with the unit file).Refs #4113