Skip to content

Conversation

@Urgau
Copy link
Member

@Urgau Urgau commented Feb 1, 2026

This PR change our de-serialization of the author field for the /gh-comments endpoint as GitHub GraphQl api can return a null author when the account/user no longer exist.

In that case we should just do what GitHub does and link it to the ghost account.

Fun fact: I discovered this bug while at FOSDEM, I was looking at some of our most commented issues and rust-lang/rust#32838 was not loading at all due to having deleted accounts.

@Urgau Urgau requested a review from Kobzol February 1, 2026 22:43
@Kobzol
Copy link
Member

Kobzol commented Feb 2, 2026

I think it's better to make it more explicit, so I like this version better.

@Urgau Urgau added this pull request to the merge queue Feb 2, 2026
Merged via the queue into rust-lang:master with commit 9692c95 Feb 2, 2026
3 checks passed
@Urgau Urgau deleted the gh-comments-ghost branch February 2, 2026 14:03
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