Guard the suggested-change surface against GitHub 422s: drop the suggestion (but keep the finding as a plain comment) when its target line isn't a commentable RIGHT-side diff line. The finding's own line already goes through rightSideLinesFromPatch; this slice makes the suggestion respect the same set and fail-safe.
Deliverables
References
src/review/inline-comments.ts:49
src/review/inline-comments.ts:79
src/review/inline-comments.ts:90
part of #1956
Part of #1956.
size: S · held for later release (gittensor:feature once activated)
Guard the suggested-change surface against GitHub 422s: drop the suggestion (but keep the finding as a plain comment) when its target line isn't a commentable RIGHT-side diff line. The finding's own line already goes through
rightSideLinesFromPatch; this slice makes the suggestion respect the same set and fail-safe.Deliverables
selectInlineComments(src/review/inline-comments.ts:79) validate the suggestion's anchor against the file'srightSideLinesFromPatchset; strip the suggestion (not the whole comment) when un-anchorableReferences
src/review/inline-comments.ts:49src/review/inline-comments.ts:79src/review/inline-comments.ts:90part of #1956Part of #1956.
size: S · held for later release (gittensor:feature once activated)