Skip to content

Reflect CLI name changes in charts and historical leaderboards - #271

Merged
msaroufim merged 1 commit into
mainfrom
feat/display-name-renames
Dec 1, 2026
Merged

msaroufim merged 1 commit into
mainfrom
feat/display-name-renames

Conversation

@msaroufim

Copy link
Copy Markdown
Member

After a user changes their name through Popcorn, ended leaderboard summaries can retain the old name indefinitely in Redis. Store user IDs in cached rankings and resolve their current display names in one batched database query when serving summaries. Version the cache keys so existing entries without IDs are recomputed. Rankings and chart-history queries already join the canonical user record.

Escape display names in ECharts HTML tooltips so punctuation and HTML characters display literally. Companion CLI rename API: gpu-mode/kernelbot#539.

Validation: 20 PostgreSQL/Redis integration tests and 37 frontend tests passed, along with Ruff, ESLint, production build, and diff checks. Regressions cover renamed users in cached ended-board summaries, leaderboard rows, user/fastest chart history, and search results while retaining scores and submission IDs.

@msaroufim
msaroufim marked this pull request as ready for review December 1, 2026 03:44
@msaroufim
msaroufim merged commit c12167a into main Dec 1, 2026
1 check passed
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