Files
arena-tracker/docs/adr/0006-provisional-matches-count-in-the-challenge.md
T
2026-11-23 18:59:49 +01:00

1.5 KiB

status
status
accepted

Provisional Matches count in the Challenge

A Match counts in the Challenge, the statistics and the end-of-Match animation from the moment the game client's end-of-game block arrives, with its provisional Placement. When Riot publishes the result, the Match is corrected silently: Marks and statistics are recomputed without animation and no trace of the provisional values is kept. We chose immediate feedback at the player's exit because Riot publishes a Match only when the whole game ends (up to about 8 minutes later observed, #23), and we accept that a Mark can light up and then go out, such as a provisional 3rd place in Arena 3x6 (a Win) published as 4th.

Considered Options

  • Count only published Matches: the provisional Match would show in the history but not in the Challenge until Riot publishes it. Always exact, but the animation and the Challenge would lag behind the end of the player's game by minutes.
  • Keep provisional Matches out of the domain: a separate pending item until publication. Strict, but a second concept for the same game.

Consequences

  • A provisional Match never expires. It keeps counting until Riot publishes it, and every synchronisation looks for it again (an expired API key can leave several Matches provisional for days).
  • A provisional Match belongs to the Account whose PUUID is in the end-of-game block, whatever Account is active when Riot publishes it.
  • Publication is a correction, not an import: it never plays the end-of-Match animation.