-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
"This pull request is broken due to missing fork information." after pushing #31779
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
Comments
Have you tried to refresh multiple times? |
Do you mean refreshing the browser? It didn't work |
The problem is gone for now after I merged the branches into each other a bit. I don't know what caused it in the first place. |
We are encountering this issue too and I think this might be (in our case) due to aborted requests. Is it possible that if the server is under heavy load and the user clicks on "Update branch by merge" but doesn't wait for the request to finish that this will break fork information on this PR/branch? |
What's your Gitea version? |
1.23.7 |
Please help to check |
Ty for your feedback. I'll provide the requested information as soon as we encounter the issue again. I think that the answer to all these questions if "yes", because a simple push (e.g. an empty commit) will fix the issue. Maybe this is helpful too: |
Hello again. I successfully reproduced the issue. The CPU was maxed out due to other tasks running on the same server. I clicked the "Update branch by merge" button and immediately navigated away (which cancelled the request). After going back to the page I was greeted by "This pull request is broken due to missing fork information.". I hope the following context helps. I can leave this branch in this state a couple of days if you need me to run some more commands against the repo.
Just some speculation on my end: |
I sent the PR #34509 to try to fix the problem. Can you try that patch? |
I tried to reproduce the bug locally with 1.23.7 and 1.23.8 for the last 3 hours, but it seems like I cannot recreate the exact conditions. Sadly we cannot easily deploy the patch remotely. I don't have much time the next couple of weeks. I'll try again when I got time. If you think the changes in #34509 are a step in the right direction (regardless of whether they'll fix the issue or not) we can wait for a new release that we can deploy to our production environment and report back. |
Uh oh!
There was an error while loading. Please reload this page.
Description
I have been using Gitea 1.20.2 for over a year now and recently I started to get "This pull request is broken due to missing fork information" on my pull requests. I can still interact with my repositories in the normal way
I then updated Gitea to 1.21.11 and the issue persisted. I have tried going to the dashboard and:
The hooks from a repository suffering this issue are:
Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No logs are generated for
gitea/log
andlog
in the gitea directory, so I'm not sure what log to includeScreenshots
Git Version
2.44.1
Operating System
NixOS 24.05.20240803.a633d89 (Uakari)
How are you running Gitea?
Using the gitea module from NixOS's
configuration.nix
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: