Repository navigation
test(lock): deny contender expects the unmatched-deny refusal - #4415
Merged
Daniel Meppiel (danielmeppiel) merged 1 commit intoNov 20, 2026
Merged
Conversation
… refusal (#4189) 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 16:31
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for this regression-test-only change.
No open issues 🎉
What changed in this PR
Updates the workspace-lock regression test to match the intended unmatched-package refusal introduced by #4189, without changing production behavior.
Changes:
- Requires both
approve missinganddeny missingcontenders to exit with code 1 and report the unmatched-package error. - Verifies that the manifest content remains unchanged.
- Preserves the existing proof that contenders wait for the install lock.
| File | Description |
|---|---|
tests/integration/test_lifecycle_workspace_lock.py |
Tightens unmatched approve/deny assertions while retaining lock-serialization coverage. |
Review effort: Balanced
5 of 10 tasks
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
…eny refusal Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-lock-deny-contender
branch
November 20, 2026 17:02
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
Co-authored-by: Copilot App <[email protected]> # Conflicts: # tests/lifecycle/generator/rules.py # tests/quality/lifecycle_obligations.json
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 20, 2026
…4143) Take #4395's hook-summary dedupe and drop the #4243 cell widening it supersedes; generator anchors follow line drift; obligations regenerated. Co-authored-by: copilot-swe-agent[bot] <[email protected]>
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_lifecycle_workspace_lock.py::test_install_serializes_other_lifecycle_commands[install_args7-contender_args7-False-False](contenderapm deny missing) is red on main (Windows Compatibility 1/3, run 44771838954). The serialization half passes: the contender blocked behind the install's lock, andTimeoutExpiredwas raised. The failing assertion expectedapm deny missingto recordmissing:inapm.yml. Since #4189,apm denyrefuses a name that matches no installed package: it exits 1, printsmissing: not found in installed packages ...and records nothing. That product change is intended, so the expectation was stale.The oracle is tightened, not skipped. For both decision contenders (
approve missing, row 6, had the same latent looseness, anddeny missing, row 7) the test now asserts all of:missing: not found in installed packagesin the output;apm.ymlbyte-identical to the original.The serialization proof (
TimeoutExpiredwhile the install holds the lock) is unchanged.Issue and approved scope
Issue: Refs #4189
Human scope-approval comment: the 0.37 steward's advance approval relayed by the hardening PM (one-file oracle change for the main red).
Does this PR complete the issue, or what remains? It is partial: a test expectation follow-up only. #4189 itself is done.
Type of change
Testing
Results:
Changelog
## [Unreleased]inCHANGELOG.md.Spec conformance (OpenAPM v0.1)