Repository navigation
test: assert every git lock entry kind, commit pin and content hash - #4310
Merged
Daniel Meppiel (danielmeppiel) merged 5 commits intoNov 20, 2026
Merged
Conversation
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 20, 2026 12:25
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for this metadata-only update linking the content-hash lifecycle test to its promise identifier.
No open issues 🎉
What changed in this PR
This metadata-only follow-up to #4274 links the existing content-hash lifecycle test to its promise identifier. It supports the test-classification work tracked in #4092 without changing test behavior or completing that issue.
Changes:
- Adds
P-OWN-package-content-hashto the lifecycle module’s markers. - Registers the
promisemarker in pytest configuration.
| File | Description |
|---|---|
tests/integration/test_git_lock_content_hash_lifecycle.py |
Links the lifecycle module to its content-hash promise. |
pyproject.toml |
Registers and describes the promise marker. |
Review effort: Balanced
The test checks the exact direct, transitive, marketplace (discovered_via) and user-scope entries, and requires a commit pin and a content hash on each. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-hd-content-hash-promise
branch
November 20, 2026 15:46
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
Folds the two review threads from #4274 in
tests/integration/test_git_lock_content_hash_lifecycle.py: the test asserts the exact direct, transitive, marketplace (discovered_via) and user-scope entries, and requires a commit pin and a content hash on every git-sourced entry instead of skipping unpinned rows. The promise marker and itspyproject.tomlregistration are already on main (#4142), so this PR no longer carries them. Test-only.Issue and approved scope
Issue: Refs #4092
Human scope-approval comment: #4092 (comment)
This is a follow-up to #4274. It does not complete #4092.
Type of change
Testing
APM_E2E_TESTS=1 uv run --extra dev pytest tests/integration/test_git_lock_content_hash_lifecycle.py tests/quality -n 2: 290 passed, 1 skipped; after the thread fixes,pytest tests/integration/test_git_lock_content_hash_lifecycle.py -n 0: 1 passed.Changelog
## [Unreleased]inCHANGELOG.md:user-visible effect first, 25 words or fewer, ending with
(#PR);breaking changes only under upgrade notes; no Highlights; see
.github/instructions/changelog.instructions.md.Spec conformance (OpenAPM v0.1)
No behavior change.