Skip to content

Pull Request counter offset after deleting branch #19349

Closed
@PotatoesFall

Description

@PotatoesFall

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions