From 7b47327cac0a7151ccc2b237fb633910bfbb38ac Mon Sep 17 00:00:00 2001 From: claw Date: Wed, 13 May 2026 14:29:24 -0700 Subject: [PATCH] fix(gitea): clarify per-comment CommitID forwarding comment Address NIT from sonnet-review: the old wording 'CommitID from vcs.ReviewComment is intentionally not forwarded' was misleading since the review-level CommitID IS forwarded. Tightened to 'Per-comment CommitID is not forwarded' for clarity. Also confirmed vcs/types.go passes gofmt (no changes needed). --- gitea/adapter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea/adapter.go b/gitea/adapter.go index 5d13d8b..4c1155c 100644 --- a/gitea/adapter.go +++ b/gitea/adapter.go @@ -170,7 +170,7 @@ func (a *Adapter) PostReview(ctx context.Context, owner, repo string, number int if err != nil { return nil, fmt.Errorf("translate position %d in %s: %w", c.Position, c.Path, err) } - // CommitID from vcs.ReviewComment is intentionally not forwarded: + // Per-comment CommitID is not forwarded: // Gitea review comments are pinned to the PR head SHA automatically, // and the CreatePullReview API has no per-comment commit_id field. giteaComments = append(giteaComments, ReviewComment{