Skip to content

Reopening a PR reopened another merged PR in the same reporitory #22957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Greg-NetDuma opened this issue Feb 17, 2023 · 1 comment
Closed

Reopening a PR reopened another merged PR in the same reporitory #22957

Greg-NetDuma opened this issue Feb 17, 2023 · 1 comment
Labels

Comments

@Greg-NetDuma
Copy link

Greg-NetDuma commented Feb 17, 2023

Description

I don't know how to reproduce this, I've only seen this happen this one time.

My guess is that reopening a PR (id - 198) somehow reopened another already merged in PR (id - 213) in the same repo along with the one it's supposed to, the timestamps in the activity log are the same.

I can't close (change the state of) the PR from the API because it says it has been merged in.

(non-debug) Logs:

2023/02/13 18:42:21 router: completed POST /NetDuma/api/issues/status for 172.25.0.1:54348, 200 OK in 233.8ms @ repo/issue.go:2554(repo.UpdateIssueStatus)
2023/02/13 18:42:21 [63ea848d-21] router: completed GET /NetDuma/api/pulls?q=&type=all&sort=&state=closed&labels=&milestone=0&assignee=0&poster=0 for 172.25.0.1:54354, 200 OK in 162.2ms @ repo/issue.go:408(repo.Issues)
2023/02/13 18:42:22 [63ea848e] router: completed GET /NetDuma/api/pulls?q=&type=all&sort=&state=open&labels=&milestone=0&assignee=0&poster=0 for 172.25.0.1:54428, 200 OK in 123.7ms @ repo/issue.go:408(repo.Issues)

Gitea Version

1.18.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

PR log
Screenshot from 2023-02-17 11-26-12

Activity log
Screenshot from 2023-02-17 11-58-09

Git Version

The one provided in the docker image

Operating System

Ubuntu 20.04

How are you running Gitea?

Official docker image

Database

MySQL

@lunny
Copy link
Member

lunny commented Jul 27, 2023

This should be resolved by #26108

@lunny lunny closed this as completed Jul 27, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants