Repository navigation
test(package-shape): smoke-mark plugin subset lifecycle and pin frozen lock bytes - #4462
Merged
Daniel Meppiel (danielmeppiel) merged 1 commit intoNov 21, 2026
Merged
Conversation
…rozen lock bytes Follow-up to #4326 review threads: the plugin-with-root-skills subset test runs in the PR-time lifecycle_smoke lane, and the cold frozen pass asserts apm.lock.yaml is byte-identical (semantic_bytes drops presentation and generation time). 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 18:28
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are identified for this test-only update expanding plugin lifecycle coverage.
No open issues 🎉
What changed in this PR
This test-only follow-up to #4326 strengthens coverage for plugin packages with root-level skills and subset selection.
Changes:
- Adds both plugin-manifest cases to the PR-time lifecycle smoke suite.
- Verifies that a cold
install --frozenpreserves the exact lockfile bytes, alongside the existing semantic-state checks.
| File | Description |
|---|---|
tests/integration/test_package_shape_lifecycle_contract.py |
Adds the smoke marker and byte-for-byte frozen lockfile assertion to the plugin subset lifecycle test. |
Review effort: Balanced
5 of 10 tasks
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-hn-4326-followup
branch
November 21, 2026 05:24
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
Follow-up to #4326. This folds its two open review threads on
tests/integration/test_package_shape_lifecycle_contract.py:test_plugin_with_root_skills_subset_lifecyclenow carrieslifecycle_smoke, so the PR-time lifecycle smoke job (lifecycle_smoke and not lifecycle_merge_group) runs both of its manifest cases next to the manifestless control. The module markers are unchanged (tm006: one behavioral marker,e2e, pluspromise).install --frozenpass now asserts thatapm.lock.yamlis byte-identical to the converged lock, read withread_bytes()before and after.semantic_bytesdrops YAML presentation and generation time, so on its own it cannot prove that the lockfile was not rewritten.Issue and approved scope
Issue: Refs #4326 (follow-up to its review threads; no issue to close)
Human scope-approval comment: the two #4326 review threads, assigned by the 0.37 Stream H lead.
Does this PR complete the issue, or what remains? It completes both #4326 follow-up threads. Nothing remains.
Type of change
Testing
Local static checks:
uv run --extra dev ruff check/ruff format --checkon the module: clean.uv run --extra dev python -m tests.quality.taxonomy --changed:[+] tm006: 1 changed test module(s) carry their marker and promise.uv run --extra dev python scripts/check_test_assertions.py:[+] assertion-quality ratchet clean.The tests themselves run in CI: the lifecycle smoke and integration lanes.
Changelog
## [Unreleased]inCHANGELOG.mdSpec conformance (OpenAPM v0.1)