@devries-cameron20 / t3code-1 / commits / 8729bdd42c
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) (#38860)

Julius Marminge committed Nov 18, 2026 at 18:53 UTC 8729bdd42c6a6d0b0ea715ed29a1760875d4ecda
2 files changed +9 -6
docs/operations/relay-observability.md
+4 -3
@@ -153,9 +153,10 @@ was about 2,100).
153 **Traffic dropped.** The Worker is down, a deploy broke it, or spans stopped reaching Axiom. Check
154 `https://relay.t3.codes/health` first.
155
156 -**Tunnel cleanup stopped / tunnel deletions failing.** Warnings for the five-minute reaper that deletes
157 -idle Cloudflare tunnels. "Stopped" counts sweeps that finished, so it also fires when every sweep
158 -fails; a sweep fails when listing tunnels does, usually behind Cloudflare 429s. Idle tunnels are
156 +**Tunnel cleanup stopped / tunnel deletions failing.** Monitors for the five-minute reaper that deletes
157 +idle Cloudflare tunnels. "Stopped" pages after two hours without a finished sweep, so it also fires
158 +when every sweep fails; a sweep fails when listing tunnels does, behind Cloudflare 429s or listings
159 +that outlast the sweep's list timeout. "Deletions failing" is a warning. Idle tunnels are
160 billed until the reaper catches up, which the "Idle tunnels in Cloudflare" chart shows. A failed
161 sweep records no counts, so while sweeps fail the chart stops at the last good one; check the tunnel
162 list in the Cloudflare dashboard for current numbers. For failed
infra/relay/src/monitoring.ts
+5 -3
@@ -181,15 +181,17 @@ const relayMonitors: ReadonlyArray<RelayMonitor> = [
181 },
182 {
183 id: "RelayTunnelCleanupStoppedMonitor",
184 - severity: "warn",
184 + // Pages because nothing else surfaces it: unnoticed, it ran 2026-11-15..18 while 27k+ idle tunnels piled up.
185 + severity: "page",
186 name: "T3 Connect relay: tunnel cleanup stopped",
187 description:
187 - "Tunnel cleanup sweeps that finished in 30 min. Healthy: 6. The cron is not running, or every sweep fails, as during the 2026-10-19 Cloudflare 429s when listing tunnels timed out. Idle tunnels pile up and are billed meanwhile.",
188 + "Tunnel cleanup sweeps that finished in 2 h. Healthy: 24. The cron is not running, or every sweep fails, as during the 2026-10-19 Cloudflare 429s and from 2026-11-15 when listing tunnels timed out. Idle tunnels pile up and are billed meanwhile.",
189 query: (dataset) =>
190 `['${dataset}']\n| where ${SWEEP} and error != true\n| summarize sweeps = count()`,
191 operator: "Below",
192 threshold: 1,
192 - rangeMinutes: 30,
193 + rangeMinutes: 120,
194 + intervalMinutes: 15,
195 triggerFromNRuns: 2,
196 alertOnNoData: true,
197 },