The proof of a changed PUUID also requires the same champion in the
shared Match: anyone who played in it passed before, so a Friend whose
stale Riot ID was taken by a co-player could be merged into them. A
quota wait on a Friend's Riot ID resolution is told. The arc's paths
are built once per size and progress instead of at each paint of the
ring, and a signed-in Account the page has not read yet shows no arc.
Tests now cover the session state and the sync mark of a rekey.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
An import of 10 Matches or more of the Account shown draws a thin arc
around the ring's ticks, filled from noon as Matches arrive and gone
when the import ends. The ring stays a cached view, told at most once a
second. While the import waits for a 429's Retry-After, the progress
carries the wait and the status line counts it down each second
(« Quota Riot atteint : reprise dans 12 s »), on a timer that only
exists during the wait.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A PUUID depends on the Riot application of the API key, so the relay's
production key gives every stored Account another one. Before a request
that carries a stored PUUID (a sync, a Friend's import), the Riot ID is
resolved; when its PUUID differs and a stored published Match is among
the new PUUID's, the Account, its Matches (stored Riot responses
included), Mastery, sync mark, platform, last active mark and Friend
status move to it in one transaction. A new PUUID already stored is
merged, the published Match winning. Without proof nothing changes.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The relay forwards a Retry-After of up to a day, and an import waits out
each one: the app now clamps it to between a second and ten minutes (the
relay's longest quota window) where the header is read, and says so on
SourceError::RateLimited and with_retry.
The Death Recap comments now say what happens: the relay passes any
timeline 403, a rejected key included, and the Match asked next tells
the two apart. A test plays that case (timeline refused, Match
unavailable). The shared get and SourceError no longer speak only of
the relay, the routing docs tell a region from a platform, and test
names and comments no longer speak of a key the app does not have.
The riot suites share one local server and response builder, and the
app's first-launch setup reuses open_app.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every Riot call goes to {relay}/{routing value}{Riot path} and sends no
key. The relay's address is built in (arena-tracker.nessar.fr);
relay_url in config.toml replaces it for development. A riot_api_key
left by an older version is never read, and is written back on save.
The personal keys' local pacing is gone. An import waits out each
Retry-After as often as it comes (at least a second each time), and so
do Mastery requests. A 5xx is the service unavailable, with its own
banner; a 401/403 is a refusal, which for a timeline the Match itself
confirms before it is stored, so a key failing on the relay's side
stores no refused Death Recap.
The first-launch key prompt, the key field in « Paramètres » and the
Friend refusal's « Paramètres » button are removed; the follower starts
with the app. KeyForm, KeyStore and KeyEvent become SettingsForm,
SettingsStore and SettingsEvent. README, user guide and interface spec
no longer ask for a key.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- add_friend resolves a Riot ID, refuses it with a French reason (malformed,
unknown, other region, no key) or answers the stored Account, and stores a
Friend with the platform its region gives (accounts.friend, migrated)
- import_friend imports a Friend's history: the current Season first, then
the rest, resumes from the listing when cut, then lists only since the mark
sync also uses; Mastery Points once per call, on the stored platform when
the Friend has no Match yet
- Each request of a Friend's import waits on a Condvar while a follower round
or refresh runs or a finished game's Match is awaited
- account_summary and delete_account: Match count and client-only details for
the confirmation; one transaction removes Matches, points, marks, blocks and
the Death Recaps no other Account shares; the follower forgets the Account
so it is adopted again with a full import
- RiotApi asks the active region by puuid and maps platforms to routing
regions; marks and points are not written for a deleted Account
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One timeline download per Match even when the queue and an opened recap
ask together; a Death Recap matched with an outdated catalog is matched
again; end-of-game blocks keep their text only while their Match may still
need it; block platforms are upper case; unbuilt blocks are retried during
their window, then only after a sync; the queue thread no longer wakes each
minute; auto-open widens Season and Format when they hide the new Match;
clearer mitigation and control-score labels.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only the victimDamageReceived entries of the Match-V5 timeline are kept,
fetched after a followed Match is published or when an older one is first
opened; a refusal is remembered, a passing failure is not.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>