Pull Request counter offset after deleting branch #8802

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

Originally created by @PotatoesFall on GitHub (Apr 8, 2022).

Description

possibly related to #19190

Unfortunately not able to reproduce.

Multiple PRs were based on a branch, which also had a PR to the master branch. upon closing the PR to the master branch and deleting the underlying branch, the other PRs were automatically closed. so far so good, but the pull request counter is not permanently off by 1.

See screenshots.

Right now there are two PRs open but the counter says 2. If no pull requests are open, it says -1 which is extra fun

Gitea Version

1.15.11

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

alpine

How are you running Gitea?

from openRC

Database

PostgreSQL

Originally created by @PotatoesFall on GitHub (Apr 8, 2022). ### Description possibly related to #19190 Unfortunately not able to reproduce. Multiple PRs were based on a branch, which also had a PR to the master branch. upon closing the PR to the master branch and deleting the underlying branch, the other PRs were automatically closed. so far so good, but the pull request counter is not permanently off by 1. See screenshots. Right now there are two PRs open but the counter says 2. If no pull requests are open, it says `-1` which is extra fun ### Gitea Version 1.15.11 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ![image](https://user-images.githubusercontent.com/58218546/162457520-a2216a83-88ca-4f1e-8850-e0786a7c4416.png) ### Git Version _No response_ ### Operating System alpine ### How are you running Gitea? from openRC ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 08:19:03 -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#8802