Skip to content

bug: the startup season repair only looks at tournament matches a season rebuild re-rates, so a match without a result can't trigger a rebuild on every boot - #855

Merged
lukepolo merged 1 commit into
mainfrom
bug/season-repair-detection
Oct 29, 2026

Conversation

@lukepolo

Copy link
Copy Markdown
Contributor

The startup repair from #854 matched any bracketed match with season-less ratings, but a season rebuild only re-rates finished, ranked 5stack matches of the rating's type, so an odd match (result cleared, type changed) would rebuild its season after every api restart.

  • Detection uses the same conditions as the rebuild: 5stack source, counts toward ranking, a winner or a tie, and rows of the match's own type
  • Test: a bracketed match whose result was cleared no longer queues a rebuild

…son rebuild re-rates, so a match without a result can't trigger a rebuild on every boot
@lukepolo
lukepolo merged commit d9835a2 into main Oct 29, 2026
7 checks passed
@lukepolo
lukepolo deleted the bug/season-repair-detection branch October 29, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant