Skip to content
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

Sort distributions when computing hash #9185

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Sort distributions when computing hash #9185

merged 1 commit into from
Nov 18, 2024

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Nov 18, 2024

Summary

The distributions used to be stored in a BTreeMap, keyed by name. They're now stored in a graph... so iteration isn't guaranteed to produce a deterministic hash!

This fixes a "flaky" test, though it's actually a real bug. The test was right!

Closes #9137.

@charliermarsh charliermarsh added the bug Something isn't working label Nov 18, 2024
@charliermarsh charliermarsh marked this pull request as ready for review November 18, 2024 02:30
@charliermarsh charliermarsh merged commit 8d25865 into main Nov 18, 2024
35 of 36 checks passed
@charliermarsh charliermarsh deleted the charlie/s branch November 18, 2024 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tool_run_cache is flaky on Windows
1 participant