Skip to content

PM-5825: set track-specific submission download defaults - #2116

Merged
jmgasper merged 1 commit into
devfrom
PM-5825
Aug 10, 2026
Merged

PM-5825: set track-specific submission download defaults#2116
jmgasper merged 1 commit into
devfrom
PM-5825

Conversation

@jmgasper

@jmgasper jmgasper commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

What was broken

New work-app challenges enabled winning-submission downloads for all registrants, including Development challenges that should restrict access to passing submitters.

Root cause

The new-challenge creation payload hard-coded the download-access metadata to true instead of deriving it from the selected challenge track.

What was changed

Development challenges now default to passing-submitter access. Design and other challenge tracks retain all-registrant access, and the existing field documentation now describes the track-specific defaults.

Any added/updated tests

Added creation-payload regression cases verifying Design persists true and Development persists false. The ticket-specific tests, lint, and production build pass.

The full test command was also run. It reports 18 failing suites and 32 failing tests that were independently reproduced with identical counts on origin/dev; those existing failures cover module aliases, AI review mocks, approval/launch behavior, and other areas unrelated to PM-5825.

What was broken

New work-app challenges enabled winning-submission downloads for all registrants, including Development challenges that should restrict access to passing submitters.

Root cause

The new-challenge creation payload hard-coded the download-access metadata to true instead of deriving it from the selected challenge track.

What was changed

Defaulted Development challenges to passing-submitter access while preserving all-registrant access for Design and other tracks. Reused normalized Development-track detection and updated the existing field documentation.

Any added/updated tests

Added creation-payload regression cases verifying Design persists true and Development persists false.
@jmgasper
jmgasper requested a review from kkartunov as a code owner August 9, 2026 22:59
@jmgasper
jmgasper merged commit f96fea8 into dev 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