Merging a PR is not an atomic action #9653

Closed
opened 2025-11-02 08:45:36 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @otbutz on GitHub (Oct 4, 2022).

Description

If i close the browser tab right after hitting the "Merge" button, gitea merges the branch but fails to mark the PR as merged.

Gitea Version

1.17.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

No response

How are you running Gitea?

Binary downloaded from Github and executed via systemd

Database

PostgreSQL

Originally created by @otbutz on GitHub (Oct 4, 2022). ### Description If i close the browser tab right after hitting the "Merge" button, gitea merges the branch but fails to mark the PR as merged. ### Gitea Version 1.17.2 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ![image](https://user-images.githubusercontent.com/22315436/193765534-3f18a611-822c-4422-bca3-c1fd5de8f1ff.png) ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Binary downloaded from Github and executed via systemd ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 08:45:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9653