Skip to content

test(lifecycle): drop duplicate and stale strict output cells that turn main red - #4341

Merged
Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
danielmeppiel-t1-stale-output-cells
Nov 20, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
danielmeppiel-t1-stale-output-cells

Conversation

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Fast-lane fix for main's red lifecycle jobs after #4142, #4227 and #4156 landed. It touches only tests/utils/lifecycle_evidence.py.

Changes

Validation

Refs #4113

…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]>
@danielmeppiel Daniel Meppiel (danielmeppiel) added this to the 0.37.0 milestone Nov 20, 2026
Copilot AI balanced review requested due to automatic review settings November 20, 2026 14:28
@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit b79a293 into main Nov 20, 2026
21 of 25 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the danielmeppiel-t1-stale-output-cells branch November 20, 2026 14:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants