Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@haya14busa
Copy link
Member

@haya14busa haya14busa commented Jun 30, 2024

  • Updated Unreleased section in CHANGELOG or it's not notable changes.

Fix #568

}

func buildMetaComment(fprint string, toolName string) string {
func BuildMetaComment(fprint string, toolName string) string {
Copy link
Member

Choose a reason for hiding this comment

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

[golint-circleci] reported by reviewdog 🐶
exported function BuildMetaComment should have comment or be unexported

@haya14busa haya14busa marked this pull request as draft June 30, 2024 02:56
@@ -1,4 +1,4 @@
Custom text for testing
Custom text for testing!
Copy link
Contributor

Choose a reason for hiding this comment

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

[custom-rdjson] reported by reviewdog 🐶
test comment for deleting outdated comment 2

Copy link
Member Author

Choose a reason for hiding this comment

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

If there is a reply, this outdated comment should not be deleted.

@haya14busa
Copy link
Member Author

before: image

@haya14busa
Copy link
Member Author

After:
image

@haya14busa haya14busa marked this pull request as ready for review June 30, 2024 03:22
Comment on lines +216 to +217
// Do not remove comment with replies.
continue
Copy link
Contributor

@massongit massongit Jun 30, 2024

Choose a reason for hiding this comment

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

I think it would be easier to understand that reviewdog create a reply like This review comment has been resolved. if there is a outdated review comment with replies.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, I agree with you to some extent, but if we'll create a reply comment, then we need to check whether we already have the reviewdog reply or not to avoid posting duplicated replies.

It needs extra logic and maitainance cost. I prefer keeping it as-is, at least for now, unless we have a simple way to handle this problem.

Copy link
Contributor

@massongit massongit left a comment

Choose a reason for hiding this comment

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

LGTM

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
}

func buildMetaComment(fprint string, toolName string) string {
func BuildMetaComment(fprint string, toolName string) string {
Copy link
Member

Choose a reason for hiding this comment

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

[golint-circleci] reported by reviewdog 🐶
exported function BuildMetaComment should have comment or be unexported

@haya14busa haya14busa merged commit 1933304 into master Jun 30, 2024
@haya14busa haya14busa deleted the delete-outdated branch June 30, 2024 15:38
vaind added a commit to vaind/action-ktlint that referenced this pull request Jul 12, 2024
This adds a quality-of-life change of closing outdated discussions: reviewdog/reviewdog#1804
ghaiszaher pushed a commit to ScaCap/action-ktlint that referenced this pull request Jul 12, 2024
This adds a quality-of-life change of closing outdated discussions: reviewdog/reviewdog#1804
DuncSmith added a commit to fac/action-erblint that referenced this pull request Oct 16, 2025
Since reviewdog/reviewdog#1804, If you run multiple instances of this action there is a risk pr comments created by one are deleted by another.
By providing a different name, we should not see this happen
DuncSmith added a commit to fac/action-erblint that referenced this pull request Oct 16, 2025
Since reviewdog/reviewdog#1804, If you run multiple instances of this action there is a risk pr comments created by one are deleted by another.
By providing a different name, we should not see this happen
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.

[github-pr-review] Mark outdated review comments as obsolete or delete such comments

5 participants