You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Links to outdated comments in pull request reviews don't work #2247
If you debug into PullRequestReviewCommentViewModel.DoOpen and click on one of the comments, you can see that it's trying to get the file at the branch's HEAD commit, but at this commit the comment is outdated. So looks like we need to check the thread model and if it's outdated use the OriginalCommitSha.
Also PullRequestSessionService.BuildCommentThreads appears to filter out outdated threads, so that check probably needs to be removed (at least if building comments for the non-HEAD commit?)
Activity
grokys commentedon Feb 28, 2019
If you debug into
PullRequestReviewCommentViewModel.DoOpenand click on one of the comments, you can see that it's trying to get the file at the branch's HEAD commit, but at this commit the comment is outdated. So looks like we need to check the thread model and if it's outdated use theOriginalCommitSha.Also
PullRequestSessionService.BuildCommentThreadsappears to filter out outdated threads, so that check probably needs to be removed (at least if building comments for the non-HEAD commit?)