-
-
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
Last commit status in pull request lists are not shown #8160
Comments
|
Isn't that what #6465 was about? Or am I misinterpreting its screenshots and looking at a wrong place? |
@dschmidt missed that. So that should be a bug of that. |
FWIW I'm using the Jenkins integration (uargh), in case it's related. |
I may found the bug. When the base repository is the same as the head repository, then it works. If it's from a forked repository, it will not work. Look at https://github.com/go-gitea/gitea/blob/master/models/pull.go#L349 it should be |
#7877 is the same issue and we don't use forks. I couldn't dive deep into the problem, but when there are multiple PRs open, you might see the status from PR 1 at PR 5 for example, so it could just be an off by n issue somewhere in the view :-) |
Okay, that's good to know - I found setting up Jenkins quite wonky and was afraid it might be related to the plugin because it's not being maintained so well :)
Maybe several issues here? As you can see in my screenshot I'm also not using forks... |
As I said I'm using the 1.9.3 docker image, I assume it's built from the v1.9.3 tag. |
I finally got some time to look at this, but I didn't manange to reproduce it when building from HEAD, so I'll backtrack to 1.9.3, and check with the same steps there. Have you managed to see any patterns in which PR's or commits that are missing the build status? |
Well, I'm afraid the pattern is "always". I have never seen those little dots in my installation so far, and I've been working with it since I posted this issue... |
@dschmidt how many PRs are open in your repositories? Do they show up if you have a full page of PRs in the list? |
Usually only one or two, I could possibly try with more... probably not this week anymore though. |
I found the cause of this, and the reason why I couldn't reproduce it in my tests - we were checking against the ID of the issue instead of the ID of the PR. These coincide as long as no issues exists. After the first issue is created, they will not match anymore. I've also fixed the headRepo/baseRepo mismatch that lunny mentioned above. |
Is this for the "not shown" issue or "off by some" issue? Because we don't use Gitea issues, just PRs ;-) |
@MarkusAmshove hopefully it will fix both cases. |
closed by #8316 |
[x]
):Description
I updated from 1.8.1 to 1.9.3 because I wanted better status reporting for CI. The report underneath the PR itself works fine, but I see no trace of the feature "Show last commit status in pull request lists" from PR #6465, which to my understanding should be included in 1.9.3, right?
I'm sorry to open a new issue, but commenting isn't possible anymore after the pull request was closed.
Screenshots
Nothing to see really, the little dots are simply not there:
Although the single PR view shows the status just fine:
The text was updated successfully, but these errors were encountered: