Skip to content

PM-5368: display cancelled Marathon attempts in Opportunities - #2293

Merged
jmgasper merged 1 commit into
devfrom
PM-5368
Sep 13, 2026
Merged

jmgasper merged 1 commit into
devfrom
PM-5368

Conversation

@jmgasper

Copy link
Copy Markdown
Collaborator

Opportunities did not recognize Marathon Match CANCELLED results, leaving superseded attempts without a useful test status and allowing placeholder or stale scores to display. Rows now show a neutral Cancelled label, select the newest result for each scoring phase, suppress cancelled phase scores and their legacy fallbacks, and exclude cancelled results from dashboard points.

The change covers the existing shared helpers used by submission rows and history, with documentation in the Opportunities README. It recognizes both CANCELLED and CANCELED aliases.

Validation: Node 22.13.0, yarn lint, and NODE_OPTIONS=--max-old-space-size=16384 yarn run build pass. All 111 tests across the Marathon utilities, challenge detail flows, and submission history suites pass. Four new utility cases fail on unchanged origin/dev (9d879b43d), and the row regression verifies the visible Cancelled label and unavailable score.

Companion marathon-match-api-v6 PR #435 serializes member dispatch, persists cancellation before stopping the old scorer, and waits for shutdown before replacement. Community-app is outside the requested scope.

@jmgasper
jmgasper requested a review from kkartunov as a code owner September 13, 2026 02:32
@jmgasper
jmgasper merged commit 38bd3d2 into dev Sep 13, 2026
8 checks passed
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