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

fix smoke tests failing because Dir.entries order is not deterministic #8945

Merged

Conversation

jakecoffman
Copy link
Member

After #8933 I'm noticing some smoke tests are failing to pass and the depednency files are coming back in different order depending on what system is running the test.

I think I tracked it down to Dir.entries which doesn't guarantee any order, so by sorting we can have more deterministic tests.

Most likely this will break some smoke tests and I'll have to regenerate them.

@jakecoffman jakecoffman requested a review from a team as a code owner January 31, 2024 19:47
@jakecoffman
Copy link
Member Author

It actually fixed the actions smoke test 🙌

@jakecoffman jakecoffman merged commit 0de6d27 into main Jan 31, 2024
120 of 121 checks passed
@jakecoffman jakecoffman deleted the jakecoffman/ensure-dir-entries-deterministic-order branch January 31, 2024 20:29
Copy link

sentry-io bot commented Feb 5, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ ArgumentError: invalid byte sequence in UTF-8 common/lib/dependabot/file_fetchers/base.rb in ... View Issue
  • ‼️ ArgumentError: invalid byte sequence in UTF-8 common/lib/dependabot/file_fetchers/base.rb in ... View Issue
  • ‼️ ArgumentError: invalid byte sequence in UTF-8 common/lib/dependabot/file_fetchers/base.rb in ... View Issue
  • ‼️ ArgumentError: invalid byte sequence in UTF-8 common/lib/dependabot/file_fetchers/base.rb in ... View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants