Skip to content

test(lifecycle): retire the #4572 strict cell after its fix (main red) - #4619

Merged
Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
danielmeppiel-w3-retire-4572
Nov 21, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
danielmeppiel-w3-retire-4572

Conversation

@danielmeppiel

@danielmeppiel Daniel Meppiel (danielmeppiel) commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Main is red. #4597 landed the change for #4572 (switching a dependency from git to registry now drops the stale .apm-pin), but it left the strict KnownCell registry-source-switch-stale-pin in tests/lifecycle/machines/test_m_source.py. The cell no longer fails, so the strict spine test_source_spine_covers_every_form_and_op (lifecycle_smoke, Linux shard 4) fails on every PR with assert set() == {'registry-source-switch-stale-pin (tracking #4572)'}.

This PR retires the cell. KNOWN_CELLS is now empty, the KNOWN_CELLS_BY_ID entry is gone, and so are the now-unused stale-pin helpers. Regenerating tests/quality/lifecycle_obligations.json with python -m tests.lifecycle.generator moves the pair X|install|pkg-registry|UPDATE=on from known-failing (#4572) to required, witnessed by the source spine.

This is the failure class the known-cell gate in #4584 catches: a strict cell that outlived its issue.

Issue and approved scope

Issue: Refs #4572, Refs #4565

Human scope-approval comment: Quality & Lifecycle lead ruling (2026-11-21): "Open a TINY separate PR now: drop the stale strict KnownCell registry-source-switch-stale-pin in test_m_source.py and move pair X|install|pkg-registry|UPDATE=on to required, regenerated." Main-red priority.

Does this PR complete the issue, or what remains? #4572 is already done (see #4597). This PR only retires its test cell.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

Changelog

  • One line in one section under ## [Unreleased] in CHANGELOG.md
  • N/A -- internal-only change (CI, tests, refactor).

Spec conformance (OpenAPM v0.1)

  • N/A -- this PR does not change OpenAPM-observable behaviour.

#4597 fixed #4572 (a git -> registry switch now drops the stale
.apm-pin) but left the strict KnownCell registry-source-switch-stale-pin
in test_m_source.py. The cell no longer fails, so the source spine
(test_source_spine_covers_every_form_and_op, lifecycle_smoke shard 4)
fails strict on every PR. Drop the cell and its KNOWN_CELLS_BY_ID entry;
the regenerated pair X|install|pkg-registry|UPDATE=on moves from
known-failing to required.

Refs #4572, #4565

Co-authored-by: Copilot App <[email protected]>

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.

🟢 Approval recommended

No active review issues remain for the change retiring the stale known-failure cell and making the registry-update interaction required.

No open issues 🎉

What changed in this PR

Retires the stale strict known-failure cell for #4572 after the fix landed in #4597, addressing the resulting lifecycle smoke failure without changing product behavior.

Changes:

  • Removes the stale-pin known cell, its tracking entry, and unused helpers.
  • Promotes X|install|pkg-registry|UPDATE=on from known-failing to required, retaining the source spine as its witness.
File Description
tests/​quality/​lifecycle_obligations.json Marks the interaction as required and adds it to the source spine's credited obligations.
tests/​lifecycle/​machines/​test_m_source.py Removes the retired known cell and stale-pin helpers, leaving both known-cell collections empty.

Review effort: Balanced

Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 21, 2026
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 21, 2026
@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit 6d5bcca into main Nov 21, 2026
58 of 60 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the danielmeppiel-w3-retire-4572 branch November 21, 2026 15:23
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 21, 2026
… changes

Rebase reds after the corpus PRs (#4637, #4619) met #3921's contract:
- J05 (code + cells): the O6 oracle requires every changed file to be
  announced. The native report said '.agents/plugins' and 'Claude Code
  settings' without naming files; it now prints '.agents/plugins/' and each
  settings file it rewrote with its harness label. J05 expects the native
  deploy (no loose .claude/commands) and its cold replay removes every
  deployed root; golden regenerated.
- M-SOURCE (cells): at project scope a Claude plugin deploys whole, so the
  model expects only its gated native unit; the oracle still observes the
  carried skill and MCP surfaces, so a loose deploy fails. The gate-off pass
  also asserts the plugin root is deployed (bin/ plugins stay parked without
  --trust-bin).

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