Skip to content

Request to change PR target branch (merge-base) sometimes does not work #13423

Closed
@opatut

Description

@opatut
  • Gitea version (or commit ref): 1.12.5
  • Git version: 2.20.1
  • Operating system: Debian 10 (buster) from official binary download
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No, I tried but I have no idea how to reproduce the issue.

Description

Changing the base branch of a pull request through the UI sometimes just does nothing. I have no clue what PRs this works on and which not, so I have no reliable way of reproducing this. The POST request to /<repo>/pull/<num>/target_branch never produces a response. Verbose logging of everything (according to the guide from the issue template) is only this:

==> router.log <==
2020/11/04 14:25:02 Started POST /XXX/XXX/pull/XXX/target_branch for <IP>

==> gitea.log <==
2020/11/04 14:25:02 ...s/context/context.go:330:func1() [D] Session ID: XXX
2020/11/04 14:25:02 ...s/context/context.go:331:func1() [D] CSRF Token: XXXX

No response, no more logging.

Whether or not the request works depends on the PR. It never works for the same PR, but other PRs work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions