-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Intermittent wrong comment count on PRs #16901
Comments
hmm, now the comment count on that specific issue is correct, without further action (to my knowledge).. 🤔 |
This is a regression of #16075:
I'm not sure if we actually should add reviews to the comment counter. It intuitively makes sense, but brings issues in other aspects of Gitea: |
github does the following:
this feels like a reasonable solution, that could even be backported |
It seems now it's correct. I think maybe we could close this one and remove it from v1.15.7 . |
No this bug is not fixed yet, just reproduced on 1.15.6 and gitea.com. |
If we follow Github's method, we need a new number column but I think it's difficult to add a new column in a stable version. Maybe we can do it in v1.16 if possible. I'll move this to v1.15.8 |
Could you have time to confirm if it's gone? |
fyi: bug is still present. In a followup for 1.16 or 1.17 we can aim at implementing PR comment counts similar to github with separate counters. |
Gitea version (or commit ref): 1.16.0+dev-109-gd17f555fe
Git version: ?
Operating system: linux
Database (use
[x]
):Can you reproduce the bug at https://try.gitea.io:
Log gist:
Description
A PR is listed as having comments, while none show up in the PR detail view (see gitea.com example above.)
This may be about approving reviews, and is probably caused by a fairly recent change, as an older PR has an approval too, but does not list additional comments that are not visible on the PR detail page.
The API also returns a higher comment count, while not returning any comments
Screenshots
The text was updated successfully, but these errors were encountered: