Skip to content

Conversation

@bdach
Copy link
Collaborator

@bdach bdach commented Jun 10, 2025

Closes #33609.

Case of leftover code that should have been removed.

This condition is still active in the online leaderboards path via

if (newCriteria.Beatmap.OnlineID <= 0 || newCriteria.Beatmap.Status <= BeatmapOnlineStatus.Pending)
{
scores.Value = LeaderboardScores.Failure(LeaderboardFailState.BeatmapUnavailable);
return;
}

Not sure trying to add test coverage is a productive use of time? Will do on request though.

…e beatmap statuses

Closes ppy#33609.

Case of leftover code that should have been removed.

This condition is still active in the online leaderboards path via

	https://github.com/ppy/osu/blob/4dcc928c7e46e020c62f4d60e7b859ba18c9142f/osu.Game/Online/Leaderboards/LeaderboardManager.cs#L91-L95

Not sure trying to add test coverage is a productive use of time? Will
do on request though.
@bdach bdach self-assigned this Jun 10, 2025
@bdach bdach added the blocked/don't merge Don't merge this. label Jun 10, 2025
…han once

This is a very dodgy fix, but it fixes an edge case that has so far - to
my knowledge - not been reported by users in the wild, only by me trying
to break things, so my hope is that we can do this and move on for now.
@bdach
Copy link
Collaborator Author

bdach commented Jun 10, 2025

c84988a is a bit dodgy change for a 'test fix' but I hope it can be understood after reading the commit message.

#33612 is tangentially related to it, because the failure that the failing test produced is the same as the stack trace of the issue that PR is attempting to fix, but I see them as disparate issues.

@bdach bdach removed the blocked/don't merge Don't merge this. label Jun 10, 2025
@peppy peppy self-requested a review June 10, 2025 12:46
Copy link
Member

@peppy peppy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense on paper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Leaderboards don't show up on results screen of graveyarded maps

2 participants