Repository navigation
Conversation
Walk award pages until the viewer match or an empty raw page, preserving ownership checks and host routing. Implemented by GPT-6 Astra through the Codex harness.
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — GitLab reaction removal now searches later award pages while retaining viewer and emoji matching before deletion. The change is limited to the requested reaction-removal action and leaves product defaults and reaction creation unchanged. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Removing a GitLab reaction could report success without deleting it when the viewer’s award was beyond the first returned page. This affects both merge requests and note comments.
Page through the existing award endpoint until the matching name/viewer award is found or an empty raw page establishes exhaustion, then delete that award by ID. Preserve host/cwd routing, decoding errors and the add-reaction path. Ignored malformed entries do not terminate pagination.
Verification:
VITEST_MAX_WORKERS=1 vp run check:changed 567a105705bc7c8e963387f69c484178e0d8ae55 --concurrency 1passes all stages, 11 package typechecks and 109 selected tests.No live GitLab/glab account operation was performed. This is a focused correction to an established paginated API workflow, within the small obvious-bug exception.
Implementation: GPT-6 Astra in Codex. Completion verification and independent exact-head review: GPT-6.1 Sol in Codex.