ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
15.24k stars 2.27k forks source link

Fix stall when attempting to import replay after hitting nothing #29715

Closed bdach closed 1 month ago

bdach commented 1 month ago

Closes https://github.com/ppy/osu/issues/29065.

https://github.com/ppy/osu/issues/29065#issuecomment-2322809652 describes what's happened here already, but just to recap using perhaps more clear wording:

I previously stated pretty categorically that score import going into the submission flow looked pretty flagrantly wrong, but I'll eat crow now and double back on that - there are valid reasons to wait for submission on import, first and foremost being correct population of the online score ID. The fact that the submission logic is spread out between Player and SubmittingPlayer via abstract overrides and local function calls doesn't help in attempting to refactor this further anyway.