-
Notifications
You must be signed in to change notification settings - Fork 1.4k
bring back identity improvements #3344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@swift-ci please test |
@swift-ci please self-hosted test |
@swift-ci please test self-hosted |
@swift-ci please smoke test self hosted |
@swift-ci please test package compatibility |
Hmm, that was supposed to be a response to a particular FIXME comment in the code about needing to rework this to be more resilient to errors. Don't know why the comment became dissociated from the code. |
@swift-ci please smoke test |
Linux failure looks quite unrelated indeed:
|
yea this is a know issue with the toolchain rn. will trigger those test again later |
I see — hadn't seen this one before myself so figured I would highlight it in case it saved some time. |
@swift-ci test |
@swift-ci test linux |
Does that mean root packages have an identity distinct from dependencies? That doesn't sound correct to me since root packages can override dependencies with the same identity today. |
this is a good point. I ended up not using I do think we need to overhaul the "override" behavior to be explicit, but that is a topic for another PR |
4db506a
to
650c4ba
Compare
@swift-ci please smoke test |
@swift-ci please test package compatibility |
Absolutely. IIRC we have been discussing some solutions as part of the registry conversations, right? |
motivation: improve correctness by using identity more broadly throughout the codebase changes: * expose identity on Package, ResolvedPackage and GraphLoadingNode * reduce calls to identityResolver.resolveIdentity since we now have identity more broadly available (also improves performance) * ManifestLoader now take PackageIdentity to reduce calls to identityResolver.resolveIdentity when the identity is already known * adjust call-sites * adjust tests
650c4ba
to
14fd2a5
Compare
@swift-ci please smoke test |
unrelated linux ci issue @swift-ci please smoke test linux |
@swift-ci please test package compatibility |
Bring back #3323
motivation: improve correctness by using identity more broadly throughout the codebase
changes: