Skip to content

Server page redesign - #3

Merged
github-actions[bot] merged 8 commits into
sourcejump:u/zasbufrom
zasbu:feat/server-page-redesign
Nov 6, 2026
Merged

github-actions[bot] merged 8 commits into
sourcejump:u/zasbufrom
zasbu:feat/server-page-redesign

Conversation

@zasbu

@zasbu zasbu commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Slightly modified how the servers appear, and made the players graph a bit more compact to reduce vertical space wasted

@github-actions
github-actions Bot changed the base branch from main to u/zasbu November 6, 2026 07:57
@github-actions
github-actions Bot merged commit 128f4c1 into sourcejump:u/zasbu Nov 6, 2026
1 check passed
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Merged into u/zasbu. It'll be live at https://zasbu-sj.okwhiteli.st in a few minutes.

ddyfad pushed a commit that referenced this pull request Nov 6, 2026
ddyfad pushed a commit that referenced this pull request Nov 6, 2026
…g with it

External audit, 2026-11-06 (#3, #12, #18), measured on a synthetic 3M-run
database: on a board of 30k players, every run took seconds and most
timed out at the 5 s statement limit.

- A personal best rebuilds the totals of the players whose points changed
  and the run's own player, not everyone on its track. Totals are summed
  per player through the primary key; joined on the list, the planner read
  every personal best.
- Record-when-set is recounted from the board's earliest affected run on.
  The best before it is the latest stored record before it, found through
  a new partial index (migration 0049), so a run arriving now reads itself.
- World record holders are read from the board's best time instead of
  checking every personal best for a faster one.
- Lock order is the same everywhere: map row, personal bests, standings
  lock. A full recount locks personal_bests first and a tier change its
  map, so neither can deadlock with a run being stored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zasbu
zasbu deleted the feat/server-page-redesign branch November 9, 2026 09:32
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