Internal server error creating blender-addons PR with base branch blender:blender-v3.6-release and personal fork as the branch to pull from #61
Labels
No Label
Service
Buildbot
Service
Chat
Service
Gitea
Service
Translate
Type
Bug
Type
Config
Type
Deployment
Type
Feature
Type
Setup
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/blender-projects-platform#61
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As of about June 9th 00:00 (UTC+1), I have been unable to directly create a pull request in the https://projects.blender.org/blender/blender-addons repository where the base branch is
blender-v3.6-release
and the branch to pull from is any branch from my fork of the blender-addons repository. Attempting to do so brings me to a 500 internal server error page.In isolation, I can set the branch to merge into to
blender:blender-v3.6-release
or the branch to pull from to a branch from my fork, but not both at the same time.The same issue occurs if I set
blender:blender-v3.5-release
as the base branch, but the issue does not occur if I setblender:blender-v3.4-release
as the base branchCreating PRs in the https://projects.blender.org/blender/blender repository with the same setup works without issue.
I previously successfully made a PR with the base branch set to
blender:blender-v3.6-release
on June 8th 23:12 (UTC+1), so it was working not long beforehand: blender/blender-addons#104681It could be unrelated, but projects.blender.org was very slow around June 9th 00:00 (UTC+1).
The steps are that I take are:
blender:blender-v3.6-release
Mysteryem
fork.Which then changes the url to the below and gives me to a 500 internal server error page:
https://projects.blender.org/blender/blender-addons/compare/blender-v3.6-release...Mysteryem/blender-addons:104669_pr
I tried creating a branch with minimal changes to see if it was a problem with a commit in my branch and I've tried creating the PR by logging into a different web browser.
It's possible to work around this issue by creating the PR with the base branch set to
main
and then changing the base branch in the created PR afterwards.It seems to happen for some forked repositories but not others.
Fails:
https://projects.blender.org/blender/blender/compare/blender-v3.6-release...LukasStockner/blender:glass-albedo-fix
Works:
https://projects.blender.org/blender/blender/compare/blender-v3.6-release...brecht/blender:with-gtests-default
From looking at trace logging, it appears that
GetMergeBase
inmodules/git/repo_compare.go
is not returningtmpBaseName
when it should. That's possible when there is an error in git fetch, however manually running the git fetch command does not give an error.I will add some logging to figure out what the error is, since it's silently ignored and not logged now.
This appears to be due to
commit-graph-chain.lock
files that should not exist, probably same underlying cause as:https://github.com/go-gitea/gitea/issues/22578
We deployed a workaround now.