Incorrectly showing Minimum required approvals
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
There's a couple of odd things we discovered around Minimum required approvals.
1. Minimum required approvals rule duplicates itself when set for the first time
The rule was duplicated when set for the first time, that is done with POST request. Later edits with PUT requests to update it do not cause to duplicate further. After refreshing the page, the UI renders correctly with only one table row for the Minimum required approvals rule
Location: Project > Settings > Merge requests > Merge request approvals
Original thread: &15733 (comment 2184398064)
2. Minimum required approvals rule render two times
This screenshot is with one any approver rule for all branches and one for main, currently viewing main
Also viewing All branches. So seems like it's just displaying all any approver rules. Is there some frontend logic that is trying to filter from all any approver rules and doing so incorrectly.
Location: Project > Settings > Repository > Branch rule details > Merge request approvals
Original thread: &15733 (comment 2184398090)