Skip to content
Source
Sign inSign up
pingdotgg/t3code

PR watch: option to skip the checks-passed wake #36865

ClosedErneG(GitHub profile, opens in a new tab) opened this issue 1 comment

Request

Add an option to watch_pull_request to skip the "checks passed" wake.

Problem

A watched PR wakes the agent thread when checks pass. Some workflows do not need that wake. For example, a separate merge process acts on a green PR. The agent then starts a turn only to read a green status and do nothing. Each turn costs tokens and slows other work.

Proposal

Add a per-watch setting, for example wakeOn: ["checks_failed", "review", "merged"]. The default stays as it is today. A watch can leave out checks_passed.

Why not unwatch

Unwatching also drops the failed-check and review wakes. These are the wakes that matter.

  1. tanstack-source added labelsfeature

  2. Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.

  3. juliusmarminge closed this

Sign in to join this conversation.