Repository navigation
[0.38] test(arch): read-only lockfile owner has two selectors after #4067 (main red) - #4607
Closed
Daniel Meppiel (danielmeppiel) wants to merge 1 commit into
Closed
Daniel Meppiel (danielmeppiel) wants to merge 1 commit into
Daniel Meppiel (danielmeppiel) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 21, 2026 11:58
5 of 10 tasks
Collaborator
Author
|
Superseded by #4606 (same fix, opened first, already queued at the landing desk). |
Daniel Meppiel (danielmeppiel)
deleted the
fix/main-red-lockfile-owner-selectors
branch
November 21, 2026 11:58
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the test-only update aligning the selector assertion with the expanded owner registration.
No open issues 🎉
What changed in this PR
This test-only repair aligns the architecture integration test with the two selectors registered for read-only-lockfile-path after #4067, addressing the reported stale assertion on main. Production behavior is unchanged.
Changes:
- Expect both
lockfile.pyandlockfile_lookup.pyin the owner's selectors. - Preserve
OWNER, which is also used to read source text.
| File | Description |
|---|---|
tests/integration/test_architecture_pack_lockfile_read.py |
Updates the selector assertion to match the expanded owner registration. |
Review effort: Balanced
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
Test-only fix for the integration red on
main. #4067 addedsrc/apm_cli/deps/lockfile_lookup.pyas a second selector on ownerread-only-lockfile-path(.apm/architecture/owners/contracts-tooling.json:180), buttests/integration/test_architecture_pack_lockfile_read.pystill asserted a single selector. This updates that one assertion.OWNERis unchanged because it is also used to read source text. No behavior change.Issue and approved scope
Issue: Refs #4067
Human scope-approval comment: main-red repair of a stale test assertion introduced alongside #4067; no product change.
Does this PR complete the issue, or what remains? Completes the main-red repair; nothing remains.
Type of change
Testing
ruff check/ruff format --checkon the file: pass)Changelog
## [Unreleased]inCHANGELOG.md.Spec conformance (OpenAPM v0.1)