Skip to content

PM-5275: Show failed virus scan submissions#7217

Merged
jmgasper merged 1 commit into
developfrom
PM-5275
Jun 9, 2026
Merged

PM-5275: Show failed virus scan submissions#7217
jmgasper merged 1 commit into
developfrom
PM-5275

Conversation

@jmgasper

@jmgasper jmgasper commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

What was broken
My Submissions showed virus scan failed Marathon Match submissions as Preparing because the status logic only distinguished accepted review summations from the generic queue state.

Root cause
The Marathon Match submission aggregation dropped raw virusScan and url fields, and the display status helper did not treat failed scan signals as a failed submission state.

What was changed
Preserved raw scan metadata on Marathon Match attempts and added failed-status detection for virusScan: false, quarantine URLs, and failed raw statuses.
Updated My Submissions list and detail rendering to display Failed with failed styling.

Any added/updated tests
Added submission status tests for failed, quarantined, and pending scan cases.
Updated Marathon Match summation tests to verify scan metadata is preserved.

What was broken
My Submissions showed virus scan failed Marathon Match submissions as Preparing because the status logic only distinguished accepted review summations from the generic queue state.

Root cause
The Marathon Match submission aggregation dropped raw virusScan and url fields, and the display status helper did not treat failed scan signals as a failed submission state.

What was changed
Preserved raw scan metadata on Marathon Match attempts and added failed-status detection for virusScan: false, quarantine URLs, and failed raw statuses.
Updated My Submissions list and detail rendering to display Failed with failed styling.

Any added/updated tests
Added submission status tests for failed, quarantined, and pending scan cases.
Updated Marathon Match summation tests to verify scan metadata is preserved.
@jmgasper jmgasper requested a review from kkartunov as a code owner June 9, 2026 04:11
@jmgasper jmgasper merged commit cb28d0a into develop Jun 9, 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