Skip to content

Platform release 2 - September 2026 - #7283

Merged
jmgasper merged 6 commits into
masterfrom
develop
Sep 14, 2026
Merged

jmgasper merged 6 commits into
masterfrom
develop

Conversation

@jmgasper

Copy link
Copy Markdown
Collaborator

No description provided.

What was broken
A Marathon Match submission whose scorer was stopped because the member
submitted a newer solution stayed in the "Preparing" status with an empty Test
Status column forever, as shown in the PM-5368 screenshots. Members had no way
to tell that the run had been superseded rather than still being queued.

Root cause
The submission status helpers only recognized accepted and failed states, and
the Test Status column only rendered IN PROGRESS, SUCCESS and FAILED. The
CANCELLED test status that marathon-match-api-v6 now records was normalized away
and the row fell back to the generic preparing label.

What was changed
- getSubmissionStatus returns a new isCancelled flag when a matching review
  summation reports a cancelled test run.
- My Submissions list rows and the submission detail panel show a "Cancelled"
  status label, taking precedence over the accepted and preparing labels.
- The Test Status column normalizes and renders CANCELLED using a new neutral
  cancelled icon, and the provisional/final score stays hidden because a
  cancelled run never produced a score.

Any added/updated tests
- __tests__/shared/utils/challenge-detail/submission-status.test.js: new case
  covering that a cancelled review summation reports isCancelled instead of
  leaving the submission in the preparing state; existing cases updated for the
  new flag.
- __tests__/shared/components/challenge-detail/MySubmissions/SubmissionsList/index.jsx:
  new case covering that getSubmissionTestProgress surfaces a cancelled run.
…view

Fix Live Preview for unpublished Thrive articles
PM-5368: show cancelled Marathon Match scoring in My Submissions
@jmgasper
jmgasper requested a review from kkartunov as a code owner September 14, 2026 06:35
@jmgasper
jmgasper merged commit a6132bb into master Sep 14, 2026
12 of 28 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