Repository navigation
watch_pull_request: let the caller ignore comment authors, and wake once when required checks settle
#35293
DavidMendesOS
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem. On repositories where CI bots post a result comment for each check, a watched PR wakes the agent for comments that only repeat check results. Over two weeks, 518 wakes reached my threads, and about 130 of them needed action. Each wake re-reads the whole thread. On a long thread, that is about 600K cached tokens for a one-line reply.
Proposal.
ignoreAuthorsargument onwatch_pull_request. Comments and reviews by those logins move the watermark but never wake the agent. Failed checks, conflicts and other authors wake as today. Nothing is lost, because a bot's failure report also fails its check.Related: #32275, #30674, #32276, #28183.
All reactions