Skip to content

Add pantheon community race team leaderboard endpoint - #137

Merged
owens1127 merged 4 commits into
mainfrom
feat/pantheon-community-race-leaderboard
Jun 13, 2026
Merged

Add pantheon community race team leaderboard endpoint#137
owens1127 merged 4 commits into
mainfrom
feat/pantheon-community-race-leaderboard

Conversation

@owens1127

@owens1127 owens1127 commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds GET /leaderboard/team/custom/pantheon-community-race for the final pantheon community-hosted raid race
  • Queries team_pantheon_custom_race_leaderboard with pagination and player search
  • Surfaces race leaderboard rank on instance PGCRs

Depends on Raid-Hub/Services#51 (migration 011 + MV refresh) being deployed first.

Test plan

  • After Services migration is applied, hit /leaderboard/team/custom/pantheon-community-race?page=1&count=10
  • Search for a known race participant via search param
  • Confirm PGCR shows leaderboardRank for qualifying race clears
  • bun test src/routes/leaderboard/team/custom.test.ts src/services/leaderboard/custom.test.ts

owens1127 and others added 3 commits June 13, 2026 09:10
Exposes /leaderboard/team/custom/pantheon-community-race for the 5-feat Insurrection Prime Revolutionary raid race window.

Co-authored-by: Cursor <cursoragent@cursor.com>
Completers are listed first, then by time played within each group.

Co-authored-by: Cursor <cursoragent@cursor.com>
Query the custom race view separately with a missing-relation fallback, and skip custom race integration tests until migration 011 is applied.

Co-authored-by: Cursor <cursoragent@cursor.com>
@barecheck

barecheck Bot commented Jun 13, 2026

Copy link
Copy Markdown

Barecheck - Code coverage report

Total: 90.89%

Your code coverage diff: -0.26% ▾

Uncovered files and lines
FileLines
src/routes/leaderboard/team/custom.ts46, 48-54
src/services/instance/instance.ts190, 219-225, 227-228, 234-237
src/services/leaderboard/team/custom.ts74-80

Restore custom race integration tests now that migration 011 is on Services main.

Co-authored-by: Cursor <cursoragent@cursor.com>
@owens1127
owens1127 merged commit 73759d7 into main Jun 13, 2026
7 checks passed
@owens1127
owens1127 deleted the feat/pantheon-community-race-leaderboard branch June 13, 2026 14:03
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