Repository navigation
[0.38] test(arch): read-only lockfile owner has two selectors after #4067 (main red) - #4606
Merged
Daniel Meppiel (danielmeppiel) merged 1 commit intoNov 21, 2026
Conversation
#4067 registered src/apm_cli/deps/lockfile_lookup.py beside src/apm_cli/deps/lockfile.py in the read-only-lockfile-path owner (.apm/architecture/owners/contracts-tooling.json); the integration test still asserted a single selector, so the dispatch-only integration suite failed on main 5337f2f. 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:54
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the test-only update aligning the lockfile owner selector assertion with the registered modules.
No open issues 🎉
What changed in this PR
This test-only fix updates the architecture assertion to match the two selectors registered for the read-only lockfile owner after #4067, addressing the reported integration failure without changing runtime behavior.
Changes:
- Adds a constant for
deps/lockfile_lookup.pywith an explanatory comment. - Updates the selector assertion to expect both lockfile modules; all other checks remain unchanged.
| File | Description |
|---|---|
| tests/integration/test_architecture_pack_lockfile_read.py | Aligns the expected owner selectors with the registration introduced in #4067. |
Review effort: Balanced
Collaborator
Author
|
Closing as a duplicate of #4607 (the program reassigned the main-red lockfile-owner fix to its engineer). Same one-assertion change. |
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-p1-mainred-lockfile-owner
branch
November 21, 2026 11:58
4 of 10 tasks
Daniel Meppiel (danielmeppiel)
restored the
danielmeppiel-p1-mainred-lockfile-owner
branch
November 21, 2026 11:58
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-p1-mainred-lockfile-owner
branch
November 21, 2026 12:18
This was referenced Nov 21, 2026
Merged
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
MAIN-RED FIX. The dispatch-only integration suite fails on main 5337f2f:
tests/integration/test_architecture_pack_lockfile_read.py::test_bundle_lockfile_reads_have_one_registered_ownerassertsowner.selectors == ("src/apm_cli/deps/lockfile.py",), but #4067 (8cdd917) registeredsrc/apm_cli/deps/lockfile_lookup.pyas a second selector of theread-only-lockfile-pathowner in.apm/architecture/owners/contracts-tooling.json:180. Test-only fix-forward: the test now asserts both selectors. Everything else in the test is unchanged.Issue and approved scope
Issue: Refs #4067
Human scope-approval comment: main-red fix-forward ordered by the 0.38 program (Regent standing rule for trunk-red test-only fixes); the scope is the one assertion that #4067 made stale.
Does this PR complete the issue, or what remains? Restores the integration suite on main; nothing remains.
Dependency order: none. Land first.
Type of change
Testing
pytest -q -p no:xdist tests/integration/test_architecture_pack_lockfile_read.py(host guard) -> 13 passed.uvx [email protected] check/format --checkon the file -> clean.Changelog
## [Unreleased]inCHANGELOG.mdSpec conformance (OpenAPM v0.1)