Skip to content

[6.0][Basics] Switch IdentifiableSet to use OrderedDictionary #7634

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

Merged

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 4, 2024

  • Explanation:

    Turns IdentifiableSet into an ordered collection which should cut on flakiness in tests and other spots that expect certain ordering of elements.

  • Scope: All uses of IdentifiableSet i.e. package graph.

  • Main Branch PR: [Basics] Switch IdentifiableSet to use OrderedDictionary #7630

  • Risk: Low

  • Reviewed By: @MaxDesiatov

  • Testing: No tests since the change is somewhat NFC.

(cherry picked from commit b0afde9)

Turns `IdentifiableSet` into an ordered collection which
should cut on flakiness in tests and other spots that expect
certain ordering of elements.

(cherry picked from commit b0afde9)
@xedin xedin requested a review from bnbarham June 4, 2024 16:54
@xedin
Copy link
Contributor Author

xedin commented Jun 4, 2024

@swift-ci please test

@bnbarham
Copy link
Contributor

bnbarham commented Jun 4, 2024

IIRC there was a test that was sorting because this wasn't sorting (that we can now remove). I ... do not remember it though 😅 @MaxDesiatov is your memory better than mine?

@xedin
Copy link
Contributor Author

xedin commented Jun 5, 2024

@swift-ci please test Linux platform

@xedin xedin merged commit 9afe748 into swiftlang:release/6.0 Jun 5, 2024
5 checks passed
@MaxDesiatov MaxDesiatov added bug modules graph Modules dependency resolution swift 6.0 Related to Swift 6.0 release branch labels Jun 5, 2024
@xedin xedin changed the title [Basics] Switch IdentifiableSet to use OrderedDictionary [6.0][Basics] Switch IdentifiableSet to use OrderedDictionary Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug modules graph Modules dependency resolution swift 6.0 Related to Swift 6.0 release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants