Skip to content

Use outdated property on review thread#8404

Merged
alexr00 merged 1 commit intomainfrom
alexr00/elated-galliform
Jan 20, 2026
Merged

Use outdated property on review thread#8404
alexr00 merged 1 commit intomainfrom
alexr00/elated-galliform

Conversation

@alexr00
Copy link
Copy Markdown
Member

@alexr00 alexr00 commented Jan 20, 2026

Part of #8401

Copilot AI review requested due to automatic review settings January 20, 2026 09:13
@alexr00 alexr00 enabled auto-merge (squash) January 20, 2026 09:13
@alexr00 alexr00 self-assigned this Jan 20, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 20, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR propagates the isOutdated property from review threads to individual comments within those threads, allowing comments to be marked as outdated independently of their position data.

Changes:

  • Added isOutdated property to the IComment interface
  • Updated parseGraphQLComment to accept and assign the isOutdated parameter
  • Modified the outdated comment filter logic to include comments marked as outdated via the new property

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/common/comment.ts Added optional isOutdated property to the IComment interface
src/github/utils.ts Updated parseGraphQLComment signature to accept isOutdated parameter and pass thread's isOutdated status to comments; updated all call sites
src/github/pullRequestModel.ts Updated all parseGraphQLComment call sites to pass the isOutdated parameter (either from thread or as false for new comments)
src/view/reviewManager.ts Enhanced outdated comment filtering to include comments with isOutdated property in addition to those without position
src/test/view/reviewCommentController.test.ts Added isOutdated: false to test comment fixture to match updated interface

@alexr00 alexr00 merged commit c61ad28 into main Jan 20, 2026
12 checks passed
@alexr00 alexr00 deleted the alexr00/elated-galliform branch January 20, 2026 09:24
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.

3 participants