Skip to content

Commit 313fb1e

Browse files
t3-code[bot]juliusmarminge
andcommitted
fix: keep legacy git actions tracked
Co-authored-by: Julius Marminge <[email protected]>
1 parent f127a3d commit 313fb1e

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

‎apps/web/src/rpc/requestLatencyState.test.ts‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,6 @@ describe("requestLatencyState", () => {
5959
expect(getSlowRpcAckRequests()).toEqual([]);
6060
});
6161

62-
it.each([WS_METHODS.gitResolvePullRequest, WS_METHODS.gitPreparePullRequestThread])(
63-
"ignores pull request action %s",
64-
(method) => {
65-
trackRpcRequestSent("1", method);
66-
vi.advanceTimersByTime(SLOW_RPC_ACK_THRESHOLD_MS * 2);
67-
68-
expect(getSlowRpcAckRequests()).toEqual([]);
69-
},
70-
);
71-
7262
it.each(Object.values(WS_METHODS).filter((method) => method.startsWith("pullRequests.")))(
7363
"ignores pull request workspace request %s",
7464
(method) => {

‎apps/web/src/rpc/requestLatencyState.ts‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ interface PendingRpcAckRequest {
2828
}
2929

3030
const pendingRpcAckRequests = new Map<string, PendingRpcAckRequest>();
31-
const untrackedRpcAckMethods = new Set<string>([
32-
WS_METHODS.gitPreparePullRequestThread,
33-
WS_METHODS.gitResolvePullRequest,
34-
WS_METHODS.previewAutomationConnect,
35-
]);
31+
const untrackedRpcAckMethods = new Set<string>([WS_METHODS.previewAutomationConnect]);
3632
const longRunningRpcAckMethods = new Set<string>([
3733
WS_METHODS.serverUpdateProvider,
3834
WS_METHODS.serverRefreshProviders,

0 commit comments

Comments
 (0)