Repository navigation
test: agent-skills migration fixture holds the legacy deployment receipt (#4049) - #4359
Merged
Daniel Meppiel (danielmeppiel) merged 1 commit intoNov 20, 2026
Conversation
…ipt (#4049) Skill path migration deletes the legacy copy only with deployment evidence (req-lk-024). The fixture now seeds the receipt the installing machine holds for the legacy SKILL.md; no product change. #4302 makes local bundle installs record it themselves (#4223). Refs #4049 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 14:59
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the test-only migration receipt updates.
No open issues 🎉
What changed in this PR
This test-only PR updates two agent-skills migration tests to supply the deployment receipts required by #4049’s deletion-evidence rule. Product behavior is unchanged; automatic receipt recording for local bundles is handled separately in #4302.
Changes:
- Seeds a receipt for the legacy
SKILL.mdafter installation in both migration tests. - Preserves coverage of legacy-path removal and lockfile-path updates without weakening deletion checks.
| File | Description |
|---|---|
tests/integration/test_agent_skills_target.py |
Adds legacy deployment receipts to the two migration test setups. |
Review effort: Balanced
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-agent-skills-migration-receipts
branch
November 20, 2026 15:23
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_agent_skills_target.py::test_auto_migration_removes_legacy_skill_pathsand::test_auto_migration_updates_lockfile_pathsfail onmain(pre-RC validation 44749031804). Under the #4049 deletion-evidence rule (req-lk-024, steward ruling), skill path migration keeps the legacy.github/skills/test-skill/SKILL.md, because the fixture's local-bundle install holds no deployment receipt for it and a bundle can't be rendered.Fix (test only; no product change, no skip): after the legacy install, each test seeds the deployment receipt the installing machine holds for the legacy file. It uses
tests/utils/deployment_evidence.seed_receipts, which landed in #4250. Migration then proves and removes the legacy copy, as the tests expect.The product-side fix is #4302 (#4223): local bundle installs record those receipts themselves, and with it these two tests already pass unmodified. Once #4302 lands, the seeded receipt is redundant but harmless, since it covers the same bytes.
Issue and approved scope
Issue: Refs #4049
Human scope-approval comment: #3701 (comment). The 0.37 Hardening PM requested this fix as RC-blocking.
Does this PR complete the issue, or what remains? It fixes the two failing tests only. #4302 carries the product fix.
Type of change
Testing
Changelog
Spec conformance (OpenAPM v0.1)