Skip to content

Mark the triggering inline comments done when Hackbot updates a patch - #7734

Open
ayoubdiourin7 wants to merge 6 commits into
mozilla:masterfrom
ayoubdiourin7:ayoubdiourin7/hackbot-when-updating-a-patch-in-response-to-inl
Open

ayoubdiourin7 wants to merge 6 commits into
mozilla:masterfrom
ayoubdiourin7:ayoubdiourin7/hackbot-when-updating-a-patch-in-response-to-inl

Conversation

@ayoubdiourin7

Copy link
Copy Markdown
Contributor

Resolves #6431

@ayoubdiourin7
ayoubdiourin7 marked this pull request as ready for review December 1, 2026 00:13
@ayoubdiourin7
ayoubdiourin7 requested a review from a team as a code owner December 1, 2026 00:13
@ayoubdiourin7
ayoubdiourin7 marked this pull request as draft December 3, 2026 17:28
@ayoubdiourin7
ayoubdiourin7 marked this pull request as ready for review December 5, 2026 01:49


@tool
async def mark_inline_comments_done(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think making it comment by comment would be better, the reasoning would be also more useful. WDYT?



class MarkInlineCommentsDoneHandler:
async def apply(self, params: dict[str, Any], ctx: ApplyContext) -> ActionResult:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It does not seem that we group the transactions.

This branch has not been deployed

No deployments
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.

Hackbot: When updating a patch in response to inline comments, tick those comments done.

2 participants