Skip to content

PM-4631: preserve default public review opportunity#1579

Merged
jmgasper merged 2 commits intodevfrom
PM-4631
Apr 2, 2026
Merged

PM-4631: preserve default public review opportunity#1579
jmgasper merged 2 commits intodevfrom
PM-4631

Conversation

@jmgasper
Copy link
Copy Markdown
Collaborator

@jmgasper jmgasper commented Apr 1, 2026

What was broken
Manual reviewer cards in the new Work Manager opened with public review opportunity disabled for dev challenges even when the default reviewer metadata enabled it.

Root cause
The work app dropped shouldOpenOpportunity while normalizing default reviewers, and new manual reviewer rows fell back to false.

What was changed
Added shouldOpenOpportunity to the work default reviewer model and preserved it in default reviewer fetch normalization.
Updated manual reviewer row creation to honor the fetched default public review opportunity flag.

Any added/updated tests
Added a challenges.service test covering shouldOpenOpportunity normalization.
Added a HumanReviewTab test covering the checked default state after adding a reviewer.


Open with Devin

What was broken
Manual reviewer cards in the new Work Manager opened with public review opportunity disabled for dev challenges even when the default reviewer metadata enabled it.

Root cause
The work app dropped shouldOpenOpportunity while normalizing default reviewers, and new manual reviewer rows fell back to false.

What was changed
Added shouldOpenOpportunity to the work default reviewer model and preserved it in default reviewer fetch normalization.
Updated manual reviewer row creation to honor the fetched default public review opportunity flag.

Tests added/updated
Added a challenges.service test covering shouldOpenOpportunity normalization.
Added a HumanReviewTab test covering the checked default state after adding a reviewer.
@jmgasper jmgasper requested a review from kkartunov as a code owner April 1, 2026 14:39
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@jmgasper jmgasper merged commit 2efbbdc into dev Apr 2, 2026
9 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