Skip to content

fix(coworld): distinguish active champion from rating row#7

Open
0xNad wants to merge 1 commit into
mainfrom
codex/fix-live-version-display
Open

fix(coworld): distinguish active champion from rating row#7
0xNad wants to merge 1 commit into
mainfrom
codex/fix-live-version-display

Conversation

@0xNad

@0xNad 0xNad commented Jul 15, 2026

Copy link
Copy Markdown
Owner

What changed

  • fetches active Coworld champion memberships separately from leaderboard results
  • preserves the historical results.policy_label as rating-row provenance
  • displays the active champion and rating row independently when they differ
  • preserves the legacy policyLabel field for existing data.json consumers
  • keeps mirror publishing when membership lookup is unavailable

Why

The public league page showed proxywar-keystone:v7 as Auri's running version even though live Coworld episodes were executing proxywar-keystone:v40. The results API retains the policy label attached to the historical rating row, so treating that label as the active champion was misleading.

Validation

  • 23 focused mirror/site tests
  • 3 translation-system tests
  • TypeScript typecheck
  • focused ESLint
  • production build
  • live read-only Coworld smoke render
  • independent review with no remaining findings

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