Skip to content

Conversation

@Urgau
Copy link
Member

@Urgau Urgau commented Jan 17, 2026

This PR adds support for pull-request to our GitHub comments viewer.

It can be accessed at /gh-comments/{owner}/{repo}/pull/{pr}.

The support is not perfect unfortunately, we are missing the diff selection for review threads, GitHub's API only gives us the file and line number, we would have to fetch the diff our-selves.

Another thing that is not perfect is suggestions, they don't seems to be supported by github-comments.css. I will investigate later. (I managed to hack the generator and have something good enough)

Otherwise the support is quite good IMO.

Requested multiple times in #triagebot > Our own GitHub issue comments viewer
Best reviewed commits by commits.

Example in image image

@Urgau Urgau requested a review from Kobzol January 17, 2026 14:50
Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Urgau
Copy link
Member Author

Urgau commented Jan 17, 2026

Stress tested this on http://0.0.0.0:8000/gh-comments/rust-lang/rust/pull/112049 😆

👀 I certainly hope "1950 comments and reviews" is a stress test.

@Urgau Urgau added this pull request to the merge queue Jan 17, 2026
Merged via the queue into rust-lang:master with commit b94c050 Jan 17, 2026
3 checks passed
@Urgau Urgau deleted the gh-comments-pr branch January 17, 2026 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants