Skip to content
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

Push comments of pull request sometimes are missed. #24237

Closed
lunny opened this issue Apr 20, 2023 · 7 comments · Fixed by #24238
Closed

Push comments of pull request sometimes are missed. #24237

lunny opened this issue Apr 20, 2023 · 7 comments · Fixed by #24238
Labels

Comments

@lunny
Copy link
Member

lunny commented Apr 20, 2023

Take a look at the PR https://gitea.com/gitea/blog/pulls/262 . There are 4 commits but no any commits comment on pull request conversation.

@lunny lunny added the type/bug label Apr 20, 2023
@wxiaoguang
Copy link
Contributor

wxiaoguang commented Apr 20, 2023

Have you checked the database? I guess the problem is that when a PR is open, the comments are displayed. But for merged PRs, the commits are not displayed?

@wxiaoguang
Copy link
Contributor

A old PR https://gitea.com/gitea/blog/pulls/180 (2 years ago) doesn't show the commits either

@lunny
Copy link
Member Author

lunny commented Apr 20, 2023

Ah, really. But it's not GH style. I just noticed that.

@wxiaoguang
Copy link
Contributor

The code was written as this ....

	CommentTypePullRequestPush // 29 push to PR head branch

image

@wxiaoguang
Copy link
Contributor

I think there is a bug.

latestCloseCommentID is always 0

@lunny
Copy link
Member Author

lunny commented Apr 20, 2023

Caused by #23189 @sillyguodong

@wxiaoguang
Copy link
Contributor

Oh, I have proposed a fix

Show commit history for closed/merged PRs #24238

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants