fix: isolate explicit local registry cache - #22
Open
rudijetson wants to merge 2 commits into
Open
Conversation
Honor RUDI_HOME through the workspace environment package and make a valid explicit Registry root authoritative over caches from other roots.
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.
Closes #21
Summary
@learnrudi/envpackage fromregistry-client, so child processes honor an explicitRUDI_HOMERUDI_REGISTRY_ROOTauthoritative instead of allowing a newer cache from another root to winFailure evidence
The same resolver fixture race appeared in two otherwise unrelated PRs:
The regression proved two sequential failures: package-local environment resolution pointed at the real follower cache, then a newer temporary cache overrode the explicit local root.
Verification
pnpm test: 634 passedpnpm buildnpm pack --dry-run --json: 6 expected filesgit diff --checkNo installed Registry state or primary dirty checkout was modified.