Skip to content

PM-5826: Show N/A during system tests - #7259

Merged
jmgasper merged 1 commit into
developfrom
PM-5826
Aug 10, 2026
Merged

PM-5826: Show N/A during system tests#7259
jmgasper merged 1 commit into
developfrom
PM-5826

Conversation

@jmgasper

@jmgasper jmgasper commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

What was broken

The community app submissions tab displayed a placeholder final score of 0 while Marathon Match
system tests were still in progress. The expected value during that state is N/A.

Root cause

The public submission row treated every finite final score as displayable when final results were
enabled. In-progress system summations include a placeholder score and status metadata, but final
score rendering did not consult the status.

What was changed

The row now checks the submission's existing system-test progress metadata and displays N/A while
the test status is active. Completed zero scores remain visible.

Any added/updated tests

Added focused submission-row coverage verifying:

  • an in-progress system test with a placeholder zero renders N/A;
  • a successful system test with a legitimate zero continues to render 0.

Validation completed successfully:

  • npm run jest -- __tests__/shared/components/challenge-detail/Submissions/SubmissionRow/index.jsx
  • npm test (151 suites and 328 tests passed; 5 suites and 23 tests skipped)
  • npm run lint
  • npm run build

What was broken

The community app submissions tab displayed a placeholder final score of 0 while Marathon Match
system tests were still in progress.

Root cause

The public submission row treated every finite final score as displayable when final results were
enabled. In-progress system summations include a placeholder score and status metadata, but final
score rendering did not consult the status.

What was changed

The row now displays N/A for final scores while that submission's system test is active. Completed
zero scores remain visible.

Any added/updated tests

Added focused row tests verifying an in-progress system test renders N/A and a successful system
test preserves a zero score. The focused tests, full test suite, lint, and production build pass.
@jmgasper
jmgasper requested a review from kkartunov as a code owner August 9, 2026 23:11
@jmgasper
jmgasper merged commit 9460495 into develop Aug 10, 2026
7 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