-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Open
Labels
Description
Description
See https://gitea.com/gitea/go-sdk/pulls: there are two identical pull requests:
It happened while trying to submit a pull request while the gitea.com gateway was timeout (504 Gateway Time-out). Multiple requests were sent (reloading the URL creating the pull request with POST at https://gitea.com/gitea/go-sdk/compare/master...earl-warren/go-sdk:wip-issue-delete).
The final attempt showed a page explaining the pull request already exists:
But despite this safeguard two of the attempts raced against each other and created a duplicate. There is a race condition somewhere. An integration test trying to repeat these conditions would eventually run into this problem.
Gitea Version
dev
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
a
Screenshots
a
Git Version
a
Operating System
a
How are you running Gitea?
a
Database
No response

