Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(server): agents can watch a PR and get woken when checks, reviews, or conflicts need them #15057

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 13 commits intomain fromrefs/pull/15057/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 31 changed files with 4 additions and 1 deletion (loading 28).

x
0 of 31 viewed, 31 left
1 addition and 1 deletionapps/mobile/src/features/threads/git/GitOverviewSheet.tsxModified
View file
@@ -339,7 +339,7 @@
<SheetListRow
icon="arrow.triangle.pull"
title={`#${link.number} ${link.snapshot?.title ?? "Pull request"}`}
- subtitle={`${link.repository} · ${link.snapshot === null ? "Status pending" : link.snapshot.isDraft && link.snapshot.state === "open" ? "Draft" : link.snapshot.state}`}
+ subtitle={`${link.repository} · ${link.snapshot === null ? "Status pending" : link.snapshot.isDraft && link.snapshot.state === "open" ? "Draft" : link.snapshot.state}${link.watch === undefined ? "" : " · Watching"}`}
onPress={() => {
void tryOpenExternalUrl(link.url, "pull-request").then((opened) => {
if (!opened)
2 additions and 0 deletionsapps/mobile/src/features/threads/thread-work-log.tsxModified
View file
@@ -1368,6 +1368,8 @@
case "link-pr":
case "unlink-pr":
case "list-prs":
+ case "watch-pr":
+ case "unwatch-pr":
return "arrow.triangle.pull";
case "read":
return { ios: "eye", android: "visibility" };
1 addition and 0 deletionsapps/server/src/environment/ServerEnvironment.tsModified
View file
@@ -240,6 +240,7 @@
threadTitleRegeneration: true,
threadVisitedTracking: true,
threadPullRequests: true,