-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[Bug] PullRequest: merge base branch into feature branch cause "broken fork" and other errors #12740
Comments
@6543 Resolving conflicts locally: did you mean on your own computer (not your server)? |
yes - the problem of this bug is, it happen only some times, when adding new commits via local PC or webUI (update button) |
Sounds like a race |
Fix go-gitea#12740 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Stop cloning unnecessarily on PR update Fix #12740 Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove unnecessary delete Signed-off-by: Andrew Thornton <art27@cantab.net> * fix lint Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Backport go-gitea#12839 Fix go-gitea#12740 Signed-off-by: Andrew Thornton <art27@cantab.net>
Please reopen if the provided PR does not fix. |
I missed "if" on first read :D - we will see when gitea.com got updated ... |
I have the same issue. When I click on Update, i have Missing fork information. It's only when i push an empty commit that it's coming back to normal. |
@ramasoft-dv interesting, what version did you migrate from? |
We were on 1.12.4 and update to 1.13 rc1. |
have you considered:
|
I've run the command, and I have now:
What does it means ? |
it means that merge bases for those PRs appear to be incorrect - you could check them yourself manually. Do they correspond to your problematic PRs? If you were to run:
Then gitea would check for you |
Yes, each of them were/are problematic. |
It won't happen again. There was a bug a while back that set these incorrectly. This fixes this. They should have been fixed during automatic db migration when you upgraded - I'm not certain why they weren't. |
So after having run your command :
So it seems that the 1.13 Dev + having run your fix command have fixed all of our problems. |
Thanks, it answer my previous question. |
if you resolve conlficts localy by mergin base branch or just click the "update button" sometimes this commit does not show up opull request packe and also CI is not triggerd
Workaround: push a empty commit to the branch afterwards
The text was updated successfully, but these errors were encountered: