The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 18:30 UTC
feat(server): watched GitHub pull requests react when a check suite completes (#35709)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Julius Marminge committed
Nov 12, 2026 at 16:11 UTC
e0d6aadb88d229746be9503c510baaccbad84f4f
2 files changed
+3
-1
packages/source-control-github/src/server/gitHubPullRequestEvents.test.ts
+1
@@ -120,6 +120,7 @@ it.effect("follows a pull request across a refused app token, reconnects, and re
120
"com.github.pull_request.head.changed.v1",
121
"com.github.pull_request.state.changed.v1",
122
"com.github.pull_request.merge_conflict.v1",
123
+ "com.github.pull_request.check_suite.status.changed.v1",
124
],
125
});
126
assert.deepEqual(deletes, ["event-subscriptions/1", "event-subscriptions/2"]);
packages/source-control-github/src/server/gitHubPullRequestEvents.ts
+2
-1
@@ -12,12 +12,13 @@ import { HttpClient, HttpClientRequest } from "effect/http";
12
13
import * as GitHubRest from "./GitHubRest.ts";
14
15
-/** Events only say that something changed; readers fetch the pull request for what. */
15
+/** Readers fetch the pull request on every event, so check suites' conclusions go unused. */
16
const EVENT_TYPES = [
17
"com.github.pull_request.review.submitted.v1",
18
"com.github.pull_request.head.changed.v1",
19
"com.github.pull_request.state.changed.v1",
20
"com.github.pull_request.merge_conflict.v1",
21
+ "com.github.pull_request.check_suite.status.changed.v1",
22
];
23
const API_ORIGIN = "https://api.github.com";
24
/** GitHub sends a keep-alive at least every 15 seconds while a stream is idle. */