@devries-cameron20 / t3code-1 / commits / a7522ff02f
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

feat(server): pairing-link sessions renew with the device's DPoP key (#37980) (#38841)

Julius Marminge committed Nov 18, 2026 at 18:19 UTC a7522ff02f710e8ddc5129b2b8dc432c239d0e2e
1 file changed +7 -1
infra/relay/src/monitoring.ts
+7 -1
@@ -12,7 +12,8 @@ const RUNBOOK_URL =
12
13 const LINK_ROUTE = `"/v1/client/environment-links"`;
14 const TUNNEL_ROUTES = `"/v1/environments/:environmentId/tunnel", "/v1/environments/:environmentId/tunnel/recovery"`;
15 -const CLOUDFLARE_API = `['attributes.url.full'] startswith "https://api.cloudflare.com"`;
15 +// The Cloudflare SDK client spans record the host but not the full URL.
16 +const CLOUDFLARE_API = `['attributes.server.address'] == "api.cloudflare.com"`;
17 const STATUS = `toint(['attributes.http.response.status_code'])`;
18 // The tunnel reaper records its counters on this span every five minutes,
19 // including while cleanup is off.
@@ -227,6 +228,11 @@ const relayDashboardCharts = (dataset: string): ReadonlyArray<QueryChart> => {
228 const tunnelRequests = `${source}\n| where kind == "server" and ['attributes.http.request.method'] == "POST" and ['attributes.http.route'] in (${TUNNEL_ROUTES})`;
229 const clientConnections = `${source}\n| where name == "relay.connection.attempt" and error != true\n| extend surface = tostring(['resource.custom']['t3.client.surface'])\n| where isnotempty(surface)`;
230 return [
231 + timeSeries(
232 + "traffic",
233 + "Requests and agent activity publishes",
234 + `${source}\n| where kind == "server" or name == "relay.agent_activity_publisher.publish"\n| summarize requests = countif(kind == "server"), publishes = countif(name == "relay.agent_activity_publisher.publish") by bin_auto(_time)`,
235 + ),
236 timeSeries(
237 "links",
238 "Links by outcome",