Repository navigation
Replies: 3 comments 1 reply
|
+1, this is a core part of my workflow, and I use it from both sides of a review:
Either way, after CI goes green the PR can sit for hours or days with nothing for me to do. Since the update those threads land back in my inbox next to the threads that actually need me, so the inbox stops telling me what needs my attention. I'm not asking to change the default. All I want is the option to keep a watched thread in Working until the watch ends or the thread asks for my input. I feel like xkcd-1172, but this is something I genuinely need it ruins the point of the inbox style of t3 for me. |
|
I built this as an opt-in toggle so you can try it: https://github.com/CadenEl/t3code/tree/feat/pr-watch-hold-setting It adds Keep watched PRs in Working under Settings → General, under the Working section setting. It's on web, desktop and mobile, and off by default. When it's on, a thread watching a PR stays in Working until the watch ends. It still comes back to the inbox for an approval, a question, a guest message, or a failed run. It only changes where the client lists the thread, so the server's watch behavior and alerts stay the same. Happy to open a PR if you want it. |
|
I'd like something similar, but I think it can be generalized further. Threads can wait for multiple reasons: a PR review, a long script, a subagent, a scheduled wakeup. Today some of them stay in working with a grey "Waiting" label and others are in the inbox (PRs, scheduled, etc...). I'd split Working into Working (an agent is running) and Waiting (nothing pending for me, and something will wake the thread). Approvals, questions and failures would still bring a thread back to the inbox. This would cover this discussion without needing a separate setting. One edge case: an agent can report something useful and go straight back to waiting, like a scheduled thread posting an hourly status. Ideally, thread with an unread message from the end of a turn should go to the top of the inbox as "done". Once I've read it, it should move to Waiting on its own. |
Uh oh!
There was an error while loading. Please reload this page.
Since #33214, a thread watching a PR leaves Working once the PR's checks finish. That fixed #34770, where the agent was done and the thread never came back.
My case is the opposite. I ask a thread to watch a PR and tell me when a reviewer responds. After CI passes I can do nothing on it, often for days, and it now sits in my active list among the threads that do need me.
Proposal: a setting under Settings → Threads for how long a watched PR holds its thread in Working:
Approvals, questions and failures would still bring the thread back, as they do for any Working thread.
Snooze does not cover this: it needs a wake time I cannot know, and a snoozed thread stays hidden when the watch wakes the agent for a review, because completed runs never end a snooze early (
threadRaisedHandWhileSnoozed).The hold is decided in one place,
pullRequestWatchTasksinpackages/shared/src/orchestrationV2PendingBackgroundWork.ts, which marks the watchawaitedonly whilechecksPending !== false.All reactions