Skip to content

Add popcorn rename for leaderboard display names - #84

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

Add popcorn rename "New Name" using the existing registered CLI identity. The command prints the saved name and number of changes remaining, and displays the server's explanatory error when the account has used all three lifetime changes. Invalid requests and the current name do not consume a change.

Requires the API and migration in gpu-mode/kernelbot#539 before releasing the command. Names apply to past leaderboard entries and chart history through the shared user record.

Validation: all 61 Cargo tests, formatting, and strict Clippy passed; targeted rename tests and help output rechecked after final wording. A real CLI → local FastAPI → isolated PostgreSQL test verifies three successful changes, unchanged-name retries, and a fourth distinct rename returning HTTP 403 and exit code 1. No dependencies added.

@msaroufim
msaroufim marked this pull request as ready for review December 1, 2026 03:45
@codecov

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 67.74194% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/cmd/mod.rs 0.00% 10 Missing ⚠️

📢 Thoughts on this report? Let us know!

@msaroufim
msaroufim merged commit 6d8ced7 into main Dec 1, 2026
6 checks 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