osu-web icon indicating copy to clipboard operation
osu-web copied to clipboard

Remove usage of legacy score tables

Open nanaya opened this issue 1 month ago • 2 comments

The osu_scores{,_{taiko,fruits,mania}}{,_high} table. The data should all be available in the new table with two exceptions (non-best score id and mania perfect).

Update steps

  • [ ] 1. use new score model for replay file download
  • [ ] 2. use new score model for legacy view count relation (osu_replays{,_{taiko,fruits,mania}})
    • this includes moving handling of replay file deletion
    • there may be existing bug of has_replay in new model not being updated correctly
  • [ ] 3. ??? something else I probably forgot about
  • [ ] 4. replace legacy score models with plain class (mainly for legacy transformer)
  • [ ] 5. remove most of legacy score models logic
    • simplify just enough for it to be plainly deleted by the removal job

nanaya avatar Oct 30 '25 14:10 nanaya

@nanaya i think some pieces of this may have been completed (hopefully?)

peppy avatar Dec 10 '25 08:12 peppy

I think number 1 is only halfway done atm. Number 2 ended up requiring a few test updates. Number 4 is partially done but no pr yet.

nanaya avatar Dec 10 '25 12:12 nanaya