Repository navigation
test(pkg): stale lockdir with a workspace/lockdir name collision - #15620
Merged
Merged
Conversation
Alizter
force-pushed
the
push-oluwzptvnysp
branch
2 times, most recently
from
July 31, 2026 13:47
30e3e62 to
a430b1e
Compare
A lockdir can be simultaneously out of sync with the project and collide with a local package name; the collision is then a symptom of the staleness, since relocking removes the package from the lockdir. Validation currently reports the collision rather than the staleness. Signed-off-by: Ali Caglayan <[email protected]>
Alizter
force-pushed
the
push-oluwzptvnysp
branch
from
July 31, 2026 14:00
a430b1e to
82ffcb6
Compare
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
Add a regression test for a lockdir that is both out of sync with the project and contains a package whose name is now defined locally.
Validation currently reports the workspace/lockdir name collision first, even though the collision is a symptom of staleness and relocking would remove the locked package. This captures the current behavior before the validation-ordering fix.
Related Issue and Motivation
Part of #8652.
Checklist