fix: render PR review comments inline (#2382)

This commit is contained in:
Jinjing
2026-05-19 18:24:51 -07:00
committed by GitHub
parent e52ec0d454
commit 38ccb999d4
7 changed files with 198 additions and 17 deletions
+1
View File
@@ -2416,6 +2416,7 @@ export async function getPRComments(
path: c.path,
threadId: thread.id,
isResolved: thread.isResolved,
isOutdated: thread.line == null,
// Why: GitHub nulls out line/startLine when the commented code is
// outdated (e.g. after a force-push). Fall back to originalLine which
// always preserves the line numbers from when the comment was created.