-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 intermittent beatmap recommendations test #30526
Conversation
CI seems to say "no" to the test being fixed, seemingly. Albeit it's only |
The irony is not lost on me re: new CI failures. Can repro locally at least. |
Turns out that the tests actually all did not actually work correctly (only work by chance), because the beatmap is processed immediately upon import which in this case resets all star ratings to 0 (there's no hitobjects). I'm not sure why the Windows runs passed - likely pure luck. Hopefully the path I've taken here of extracting Breadcrumbs: osu/osu.Game/Beatmaps/BeatmapImporter.cs Lines 218 to 230 in 35397d9
Line 334 in 35397d9
osu/osu.Game/Beatmaps/BeatmapUpdater.cs Lines 58 to 86 in 35397d9
|
This has been failing for a while now and it's really annoying.
What I speculate (more on this later...) is:
OsuGame.PresentBeatmap()
.carouselBeatmapsLoaded()
and somehow loads the first presented beatmap.Here's some annotated logs from https://github.com/ppy/osu/actions/runs/11699524005/job/32581685084?pr=30525:
I don't know how to write a practical test nor can I even test my solution, but here's how I've reproduced it (run only the single test):
Could this happen in practice? Maybe? I'm not sure what the resolution is - would likely need @peppy to take over.