Skip to content

[PROD RELEASE] - June 16 - #273

Merged
kkartunov merged 66 commits into
masterfrom
develop
Jun 16, 2026
Merged

[PROD RELEASE] - June 16#273
kkartunov merged 66 commits into
masterfrom
develop

Conversation

@kkartunov

@kkartunov kkartunov commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces several enhancements and fixes across the AI workflow, review, and submission modules. Key improvements include stricter controls and auditability for manual AI workflow score edits, new support for Marathon Match validation submission uploads with fine-grained scope controls, and codebase simplification for score calculations. Additionally, new database fields and permissions are added to support these features.

AI Workflow Score Editing & Auditability

  • Added support for privileged users (Admin, Copilot, ProjectManager) to manually update AI workflow run item question scores, but only during the approval phase and with a required comment. The original score is now preserved for audit purposes. The overall run score is recalculated on each edit, and edits trigger downstream submission evaluation. [1] [2] [3] [4] [5] [6] [7] [8]

Review & Score Calculation Improvements

  • Refactored review score computation to use a shared utility function, simplifying the code and ensuring consistent score calculations across modules. [1] [2]

Submission & Marathon Match Validation Upload

  • Added a new endpoint POST /validation-upload to SubmissionController for Marathon Match validation submissions. This endpoint is protected by new scopes (update:marathon-match, all:marathon-match) and allows Admin/service accounts to upload clean validation submissions without side effects. Includes a test to ensure correct scope enforcement. [1] [2] [3] [4]

Permissions & Roles

  • Expanded permissions for AI review config creation and update endpoints to include ProjectManager role. [1] [2]

Global Providers

  • Registered SubmissionVirusScanRetryService as a global provider, making it available for dependency injection throughout the application. [1] [2]

vas3a and others added 30 commits June 2, 2026 09:30
…-submitters

PM-5226 - hide score for submitters
…er-platform/review-api-v6 into allow-to-edit-scores
vas3a and others added 28 commits June 10, 2026 15:01
Fix visibility for reviewer and MM for submissionId and score
Fixes for score visibility in MMs and challenges
What was broken
Review API only allowed create:submission scoped M2M tokens to call the clean validation-upload endpoint used by Marathon Match scorer validation. The Marathon Match API service token used in dev was rejected by Review API, so Work app test submission uploads failed before the ECS scorer task could be queued.

Root cause
The first PM-5231 implementation added the clean validation-upload endpoint but scoped it as a generic submission creation route. This missed the deployed Marathon Match service credentials, which authorize Marathon Match operations rather than Review API submission creation.

What was changed
Added Review API Marathon Match update/all scopes and allowed them on POST /submissions/validation-upload while keeping the existing create:submission access. Updated the validation-upload documentation comment and Swagger description to match the accepted scopes.

Any added/updated tests
Added a SubmissionController metadata test that verifies validation-upload accepts create:submission, update:marathon-match, and all:marathon-match scopes.
PM-5231: Allow Marathon validation upload scopes
@vas3a vas3a changed the title [PROD] - Hotfixes [PROD RELEASE] - June 16 Jun 16, 2026
@kkartunov
kkartunov merged commit cd5a1f1 into master Jun 16, 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.

3 participants