Repository navigation
Fetch a player's Steam profile after each new run - #14
Merged
github-actions[bot] merged 1 commit intoNov 7, 2026
Merged
Conversation
A player's avatar and country were fetched from Steam only when they signed in or someone opened their profile, so players who just play showed initials and no flag everywhere they were listed: recently active players, boards, search. Their runs now keep the copy fresh too: after a new run is stored, a profile older than a day (or never fetched) is queued for a refresh. It uses the existing queue, so Steam still sees at most one request every 2 s and no more than 50 waiting, however busy the servers are.
|
Merged into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
API change: players who just play were showing initials and no flag, because their Steam profile was fetched only at sign-in or when someone opened their profile. After a new run is stored, a profile older than a day (or never fetched) is now queued for a refresh, through the existing queue (one request every 2 s, at most 50 waiting).
Note: the dev previews only build the website and read from the beta API, so this takes effect once the API is deployed (
just deploy beta).Checked: the run submission tests (26 passed), clippy with warnings as errors, rustfmt.