Skip to content

Fix incorrect parallax config migration - #38518

Merged
peppy merged 1 commit into
ppy:masterfrom
bdach:fix-config-migration
Aug 4, 2026
Merged

Fix incorrect parallax config migration#38518
peppy merged 1 commit into
ppy:masterfrom
bdach:fix-config-migration

Conversation

@bdach

@bdach bdach commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

See https://sentry.ppy.sh/organizations/ppy/issues/146906 (would show up as an ugly generic "error occurred" notification on every start-up).

Magic bindable config API strikes once more. 1 and 0 literals are inferred to be int in generic contexts, which then fails at trying to get the target bindable as Bindable<int> instead of Bindable<float>.

This is invisible in debug because config migrations do not run in debug.

See https://sentry.ppy.sh/organizations/ppy/issues/146906 (would show up
as an ugly generic "error occurred" notification on every start-up).

Magic bindable config API strikes once more. `1` and `0` literals are
inferred to be `int` in generic contexts, which then fails at trying to
get the target bindable as `Bindable<int>` instead of `Bindable<float>`.

This is invisible in debug because config migrations do not run in
debug.
@bdach
bdach requested a review from peppy August 4, 2026 13:04
@bdach bdach self-assigned this Aug 4, 2026
@bdach bdach added the type/reliability Deals with game crashing or breaking in a serious way. label Aug 4, 2026
@bdach bdach moved this from Inbox to Pending Review in osu! team task tracker Aug 4, 2026
@peppy
peppy merged commit 3c1c96f into ppy:master Aug 4, 2026
7 of 9 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Review to Done in osu! team task tracker Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS type/reliability Deals with game crashing or breaking in a serious way.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants