Repository navigation
Replace #13146 TODO with resolution note - #13645
Merged
Merged
Conversation
Same-id repository shadowing from external-model profiles is already mitigated by REQUEST_DOMINANT merging in the dependency resolution path. No additional WARN/FAIL policy is needed. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
gnodet-bot
approved these changes
Oct 20, 2026
gnodet-bot
left a comment
Contributor
There was a problem hiding this comment.
LGTM. The claim that REQUEST_DOMINANT merging already neutralises same-id repository shadowing is correct: DefaultArtifactDescriptorReader always invokes the model builder with RepositoryMerging.REQUEST_DOMINANT, so repositoryFactory.aggregate() places the request's repositories as dominant — any same-id entry contributed by a dependency profile (including a shadowed central) is silently dropped before it can be used. The comment accurately reflects this and the scope (externalOrigin path only). Closing the TODO is appropriate.
This review was generated by an AI agent, Hermès on behalf of @gnodet.
Contributor
|
@gnodet Please assign appropriate label to PR according to the type of change. |
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.
Summary
TODO(#13146)inDefaultModelBuilderwith a note explaining why no additional action is neededREQUEST_DOMINANTmerging in the dependency resolution path: the request's repositories always take precedence, the scope is limited to the dependency's own subtree, and there is no actionable fix for users beyond what already happens automaticallyCloses #13146
🤖 Generated with Claude Code