You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(server): force-kill a relay client that ignores SIGTERM on restart - #42830
When cloudflared stopped responding (for example on a dead HTTP/2 socket) and T3 Code restarted it, T3 Code sent SIGTERM and then waited for it to exit with no time limit, while holding the lock that every reconcile needs. That kept T3 Connect down for about 10 minutes. Every way T3 Code stops the relay client now sends SIGKILL if it has not exited 5 seconds after SIGTERM:
restartConnector and the readiness watcher's restart pass forceKillAfter to kill().
The cloudflared spawn options set the same forceKillAfter, so it also applies when the connector's scope closes.
Commit c478fde (origin/main). (1) Live run: a vitest it.live test built the real CloudManagedEndpointRuntime layer with NodeServices' real ChildProcessSpawner and a RelayClient resolving to a bash stand-in for cloudflared. The stand-in prints 'INF Registered tunnel connection connIndex=0 protocol=http2', traps SIGTERM (logs it, keeps running) and loops. After applyConfig and tunnelConnected, calling restartConnector(pid, Effect.succeed(true)) logged 'Cloudflare has no live connection from the relay client; restarting it' and had not returned after 20 s (Effect.timeoutOption fired, elapsedMs 20006). No replacement was spawned, and the stand-in was still running after the test runner exited until I killed it by its captured PID. Control: the same harness with a stand-in that exits on SIGTERM restarted normally (test passed). (2) Deterministic test added to apps/server/src/cloud/ManagedEndpointRuntime.test.ts: the fake handle's kill() without forceKillAfter waits until the process exits, and with forceKillAfter it exits after that delay (SIGKILL). With TestClock advanced one minute, restartConnector is still pending (pollUnsafe undefined), so the test fails on main. With a temporary kill({ forceKillAfter: "5 seconds" }) in restartConnector, all 29 tests in the file pass; that fix was reverted and not committed. I did not run a real cloudflared against Cloudflare with an iptables blackhole.
Evidence
Run the same driver against fresh state on both commits: start the real server with a SIGTERM-resistant synthetic connector, expose synthetic HTTP 530/error 1033 through local HTTPS, wait for T3's automatic dead-connector restart, then observe for 25 seconds. Environment: Linux, Node v26.13.1, real OS processes, 1280×900 live observation recordings.
The captures show the actual server's restart behavior with synthetic external fixtures, not a real Cloudflare tunnel.
Not shown:
Did not reproduce a real cloudflared dead HTTP/2 socket using an iptables blackhole or measure the reported 9–13-minute outage; the connector deliberately ignores SIGTERM.
Real Cloudflare routing and remote-device recovery were not exercised. The synthetic HTTPS endpoint returns 200 once a replacement process spawns.
The separate readiness-watcher kill path and scope-cleanup escalation were not independently captured.
Tests
vp test run src/cloud/ManagedEndpointRuntime.test.ts (apps/server) without the fix: 1 failed (the repro test for this bug), 28 passed
vp test run src/cloud/ManagedEndpointRuntime.test.ts (apps/server) with the fix: 29 passed
vp run check:changed: format, lint, knip, graphql, typecheck and tests all passed
…ERM (#42813)
Fails on main: restartConnector calls kill() with no forceKillAfter, so a
cloudflared that keeps running after SIGTERM holds the reconcile lock and
no replacement starts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
restartConnector and the readiness watcher sent SIGTERM to cloudflared and
waited with no limit, while restartConnector held the reconcile lock. A
cloudflared stuck on a dead HTTP/2 socket kept T3 Connect down for minutes.
Every kill of the relay client, including scope cleanup, now escalates to
SIGKILL after 5 seconds.
Fixes#42813
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No actionable comments were generated in the recent review.
Walkthrough
The relay-client runtime now uses a five-second force-kill timeout during readiness recovery, scope cleanup, and explicit restart. A test checks restart behavior when the process does not exit after graceful termination.
Changes: Relay-client termination
Layer / File(s)
Summary
Apply and test the termination timeout apps/server/src/cloud/ManagedEndpointRuntime.ts, apps/server/src/cloud/ManagedEndpointRuntime.test.ts
The runtime applies a five-second force-kill timeout to spawned relay clients and to termination during readiness recovery and explicit restart. The test verifies that restart completes when graceful termination does not exit the process.
This change makes the relay client escalate to SIGKILL after five seconds when it ignores SIGTERM. A stuck cloudflared process should no longer block recovery or a replacement connector. No remaining merge-blocking risk was found.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: relay client restarts now force-kill a process that ignores SIGTERM. It follows the conventional commit format. It matches the linked issue #42813 and the diff summary…
Linked Issues check
Issue #42813 requires that T3 force-kill the old managed cloudflared after a bounded grace period when restartConnector runs, so a replacement starts promptly. The diff from merge base c478fde to h…
Out of Scope Changes check
All production changes in ManagedEndpointRuntime.ts touch only the relay client stop paths named in #42813: one constant, three kill or spawn option lines. The test file change adds one regression tes…
Description check
The description explains the problem, the fix, the reproduction, the tests, and the evidence. It covers the four template sections (Problem, Change, Scope, Verification). The problem is that T3 Code w…
Full details: Title check
Explanation
The title names the main change: relay client restarts now force-kill a process that ignores SIGTERM. It follows the conventional commit format. It matches the linked issue #42813 and the diff summary, which adds a five-second force-kill timeout in ManagedEndpointRuntime.ts.
Full details: Linked Issues check
Explanation
Issue #42813 requires that T3 force-kill the old managed cloudflared after a bounded grace period when restartConnector runs, so a replacement starts promptly. The diff from merge base c478fde to head 4ea12ab in apps/server/src/cloud/ManagedEndpointRuntime.ts adds RELAY_CLIENT_FORCE_KILL_AFTER = Duration.seconds(5) and applies it at all three stop paths named in the issue: (1) restartConnector calls active.child.kill({ forceKillAfter }); (2) the readiness watcher's restart pass calls connector.child.kill({ forceKillAfter }); (3) the cloudflared spawn options set forceKillAfter, which covers scope-close cleanup (stopActive). The test file adds a deterministic regression test: without forceKillAfter, restartConnector stays pending after one minute of TestClock time; with it, the process is SIGKILLed and the restart completes. The author reports the test fails on main and passes with the fix. I did not run the test suite. The real-world cloudflared repro with an iptables blackhole was not run, and the PR says so. That gap affects end-to-end confidence, not the coded requirement.
Full details: Out of Scope Changes check
Explanation
All production changes in ManagedEndpointRuntime.ts touch only the relay client stop paths named in #42813: one constant, three kill or spawn option lines. The test file change adds one regression test for the same restart path. No unrelated refactors or features appear in the reviewed diff summary. The PR description's evidence section is a placeholder pending capture, which is documentation status, not code scope. I did not inspect the test file hunks directly; the test scope rests on the raw summary and PR description.
Full details: Description check
Explanation
The description explains the problem, the fix, the reproduction, the tests, and the evidence. It covers the four template sections (Problem, Change, Scope, Verification). The problem is that T3 Code waited without a time limit for cloudflared to exit after SIGTERM, which held the reconcile lock and kept T3 Connect down for about 10 minutes. The change sets forceKillAfter to 5 seconds on restartConnector, the readiness watcher restart, and the cloudflared spawn options. Scope links issue #42813 as the bug. Verification lists focused test runs before and after the fix, a repo check run, and a real-process before/after capture with recordings. It also states what was not verified: no real cloudflared against Cloudflare with an iptables blackhole, no real Cloudflare routing, and no independent capture of the readiness-watcher or scope-cleanup paths. The template asks for a conventional commit title, and the PR title is not part of the provided description, so that could not be checked. The description also gives the agent and model attribution the template requests.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
* fix(web): xlsx previews no longer fail on cells truncated mid-emoji (pingdotgg#42718)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): report stopped and disabled launch agents in macOS service status (pingdotgg#42715)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(provider-core): keep a killed npm view from leaking into the user's npm cache (pingdotgg#42693)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): hide the right panel add-surface menu when no surfaces are available (pingdotgg#42722)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): EPUB chapter titles no longer end in a broken emoji (pingdotgg#42725)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): long thread titles no longer break dropped thread attachment names (pingdotgg#42727)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): tasks delegated to an older linked machine report back when they finish (pingdotgg#42717)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): diff panel reads GBK/GB18030 files instead of showing mojibake (pingdotgg#42735)
* fix(server): Claude skill picker lists only the skills a marketplace entry declares (pingdotgg#42743)
* fix(server): PowerPoint attachment text no longer includes slide animation names (pingdotgg#42741)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): include reopened issue selection in the /issues URL (pingdotgg#42745)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): reasoning previews no longer cut emojis in half (pingdotgg#42755)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): held overlay and Usage shortcuts no longer flicker (pingdotgg#42757)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): expanding linked issues no longer hides thread details sections (pingdotgg#42771)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): GB18030 RTF attachments no longer fail text extraction (pingdotgg#42776)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): iPad windowed composer sits on the keyboard, not its full height above (pingdotgg#42777)
* fix(web): bad workflow pane links no longer pick the first tab or crash (pingdotgg#42791)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): file picker highlights no longer break emoji in file names (pingdotgg#42805)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): threads deleted before upgrading are purged soon after startup (pingdotgg#42814)
* fix(web): issue number in the Issue panel follows 'Open links in' (pingdotgg#42824)
* fix(server): EPUB glossary entries no longer run together in extracted text (pingdotgg#42816)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): preserve split terminal output when rejoining (pingdotgg#42808)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): force-kill a relay client that ignores SIGTERM on restart (pingdotgg#42830)
* fix(web): GB18030 RTF files now preview instead of showing no preview (pingdotgg#42827)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): retain unfinished terminal sequences in attach history (pingdotgg#42817)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(release): preserve the web asset manifest (pingdotgg#42806)
Co-authored-by: usedhonda <70754+usedhonda@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Changes pane explains a diff of only hidden test files (pingdotgg#42851)
* fix(web): panel resize handle no longer covers the chat scrollbar on touch devices (pingdotgg#42852)
* fix(server): linked workflow steps recover replies from older pages (pingdotgg#42818)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web,mobile): Usage says "1 session", not "1 sessions" (pingdotgg#42837)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): clicking outside a citation comment keeps its dictation (pingdotgg#42856)
* fix(client-runtime): feedback trace shows "1 character", not "1 characters" (pingdotgg#42855)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(desktop): WSL-only backend no longer falls back to Windows when reg.exe is blocked by policy (pingdotgg#42857)
* fix(github): count team review requests in the Reviewing filter (pingdotgg#42835)
Co-authored-by: Pedro Sousa <4235827+pedrosousa13@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): timeline minimap no longer covers the Copy button when the chat lane is shifted left (pingdotgg#42876)
* perf(web): Files panel Refresh reads only the folders on screen (pingdotgg#42870)
* fix(web): Restart agent session toast says the conversation is kept (pingdotgg#42880)
* fix(mobile): / menu ranks an exact skill name above description matches (pingdotgg#42879)
* fix(server): EPUB attachment text no longer includes hidden passages (pingdotgg#42871)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): reopening a closed pull request tab keeps saved list filters (pingdotgg#42875)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web,mobile): mixed add/delete review selections no longer show backwards line ranges (pingdotgg#42863)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): reading position survives a panel resize right after a thread opens (pingdotgg#42915)
* fix(web): web search result links follow Open links in (pingdotgg#42882)
* fix(server): preserve split terminal control sequences across scrollback clears (pingdotgg#42810)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): update terminal labels when the language changes (pingdotgg#42872)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): show Labs device preferences read-only for projects (pingdotgg#42884)
Co-authored-by: huyuetian <huyuetian@xiaomi.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): t3 connect link says to restart a running server, not start t3 serve (pingdotgg#42904)
* fix(server): extensionless empty ZIP files are detected as application/zip (pingdotgg#42899)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): OpenCode /goal length rejection names the limit (pingdotgg#42905)
* fix(web,mobile): adding a project from a draft's picker no longer leaves the draft behind (pingdotgg#42889)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): localize terminal excerpt line ranges (pingdotgg#42886)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): separate nested EPUB list items in attachment text (pingdotgg#42891)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): empty files and folders in archive previews show 0 bytes instead of 1 KB (pingdotgg#42900)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): a composer send right after Stop queues instead of failing to steer (pingdotgg#42918)
* fix(web): Show more in Thread Details keeps every repository listed (pingdotgg#42919)
* test(web): Files panel Refresh test no longer fails on a late tree render (pingdotgg#42935)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(terminal): keep line breaks when joining a running terminal (pingdotgg#42927)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): separate ruby readings in EPUB attachment text (pingdotgg#42911)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): unsupported file preview no longer calls extensionless filenames a file type (pingdotgg#42932)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): Antigravity live sessions no longer overwrite default thinking levels (pingdotgg#42931)
Co-authored-by: huyuetian <huyuetian@xiaomi.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): release terminal reply ownership when the drawer closes (pingdotgg#42897)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): keep CSV headings below the iPad navigation bar (pingdotgg#42928)
Co-authored-by: Xander von Itzenplitz <xander@mbprom5.home.lan>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): comment timestamps follow 'Open links in' (pingdotgg#42873)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): SQLite 1-byte BLOB previews show "[blob: 1 byte]" (pingdotgg#42950)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): preserve image descriptions in EPUB attachment text (pingdotgg#42925)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): expired buffered signals no longer wake workflows (pingdotgg#42952)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): DOCX merged table cells no longer shift later columns in attachment text (pingdotgg#42955)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(terminal): keep other input out of large bracketed pastes (pingdotgg#42948)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): resend a Cursor request a restart cut off before its first checkpoint (pingdotgg#42938)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* test(scripts): WSL archive fixture works with Git Bash tar on Windows (pingdotgg#42962)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): EPUB attachments keep their table captions for agents (pingdotgg#42964)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Antigravity settings show only the fields the chosen sign-in method uses (pingdotgg#40494)
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
* fix(contracts): pull request and issue errors reach clients behind T3 Connect (pingdotgg#42956)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(web): exact 1,024-column CSV and TSV files no longer show the truncated-columns banner (pingdotgg#42973)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web,mobile): a running Read's image shows a loading frame, not "Image unavailable" (pingdotgg#42921)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(shared): usage page says "record was skipped" for one malformed record (pingdotgg#42974)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(antigravity): keep child skills visible under a root SKILL.md (pingdotgg#42971)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): PR timeline "Open activity on host" buttons honor 'Open links in' (pingdotgg#42914)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): images on drives Windows' native realpath cannot resolve preview again (pingdotgg#42981)
* fix(server): login-shell re-reads no longer pile up fnm multishell folders in PATH (pingdotgg#42996)
* fix(mobile): an Issues list with nothing more to load no longer spins forever (pingdotgg#42992)
* fix(server): Antigravity sessions no longer mark an unscanned folder's skills as scanned (pingdotgg#43002)
* fix(web): empty ODS sheets show 0 columns instead of 1 (pingdotgg#42991)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): new thread titles no longer end with a space before "..." (pingdotgg#43014)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): stop reading Antigravity usage limits from Google's internal APIs (pingdotgg#43026)
* fix(web): recognize composerEmpty in keybinding settings (pingdotgg#42986)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(terminal): finish shell startup after disconnect (pingdotgg#42940)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): pressing Escape on the Environments map clears selection without closing Settings (pingdotgg#43017)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(workflows): a run can declare its subject and be found by it (pingdotgg#42517)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(server): agents below Full access ask before a push runs repository hooks (pingdotgg#42535)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(server): asset responses pick their sandbox from the type they serve (pingdotgg#42999)
* fix(server): Claude no longer gets MCP app notes again after a server restart (pingdotgg#43008)
* fix(web): PR author profile links honor 'Open links in' (pingdotgg#43015)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Files tree opens a chain of single folders in one click (pingdotgg#43018)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(desktop): preview guests always run the app's own preload (pingdotgg#43036)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(server): list physical Android phones on hosts without emulator tools (pingdotgg#43007)
Co-authored-by: Fluffy-Bunny-23 <193831219+Fluffy-Bunny-23@users.noreply.github.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(vcs): keep emoji intact in review commit subjects (pingdotgg#43030)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(web): the command palette filters without re-rendering every row (pingdotgg#42988)
* perf(mobile): thread switches commit less and show their rows sooner (pingdotgg#43024)
* feat(scripts): client-metrics benchmarks the web client: switches, interactions, renders and memory (pingdotgg#42606)
* fix(gitlab): group work item links, such as epics, are no longer read as issues (pingdotgg#43028)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): theme CSS shorthands with var() can no longer load remote files (pingdotgg#39408)
Theme CSS shorthands that hold var() are now judged before the theme sheet is built, and removed when they could load a remote file. Harmless shorthands, including the documented background-image one, are kept.
Co-authored-by: elias1218 <69803556+elias1218@users.noreply.github.com>
* fix(server): forked Claude skills show their work in the subagent thread (pingdotgg#43023)
* perf(web): one shared tooltip serves every trigger in the app (pingdotgg#42671)
* feat(scripts): mobile:metrics benchmarks thread switches, tabs and memory on pool devices (pingdotgg#42975)
* fix(server): only a full-access MCP caller can pick an agent's own mode (pingdotgg#39489)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(server): the background service prints how to pair instead of pairing details (pingdotgg#43052)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(web): settings pages no longer flicker while switching sections (pingdotgg#42567)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(server): a saved secret is kept only while its address stays the same (pingdotgg#43043)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(desktop): long release-note items no longer end in a broken emoji (pingdotgg#43031)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): keep existing streaming text visible when reopening a thread (pingdotgg#40301)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): DOCX attachment text keeps only one alternate-content choice (pingdotgg#43048)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): the project icon picker search field stays put while typing (pingdotgg#43060)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* refactor(scripts): one benchmark per surface on a shared metrics core (pingdotgg#43058)
* fix(terminal): avoid lone surrogates in long command labels (pingdotgg#43067)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): notebooks with blank language names no longer show empty separator dots (pingdotgg#43072)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(relay): turn off Workers invocation logs (pingdotgg#43040)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(server): Automatically pull keeps unviewed project roots current (pingdotgg#43077)
* fix(acp): Auto-accept edits approves file changes in the thread's folders and asks about the rest (pingdotgg#43046)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(web): PR reply and load error links honor 'Open links in' (pingdotgg#43055)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): truncated previews no longer end with a space before "…" (pingdotgg#43076)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): macOS Control-click keeps the terminal selection for Add to chat (pingdotgg#43078)
* fix(gitlab): checkouts cloned from altssh.gitlab.com match their merge requests (pingdotgg#43079)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): grep matches under ./ or an absolute path become terminal links (pingdotgg#43088)
* fix(server): drop PostHog naming from telemetry (pingdotgg#43099)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(server): skip local status refreshes for unrelated Git ref changes (pingdotgg#43027)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(acp-registry): npm installs land in the managed prefix when npm is a shim (pingdotgg#43096)
* fix(server): Antigravity usage stays priced when agy names one model with and without effort (pingdotgg#43097)
* fix(shared): inline code with a <placeholder> path segment stays plain code (pingdotgg#43094)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): storage cleanup report says "1 more result" when one item is omitted (pingdotgg#43102)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): keep EPUB table columns aligned under merged cells (pingdotgg#43095)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* build(desktop): packaged app ignores Node inspector flags (pingdotgg#43039)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(server): separate wrapped EPUB nested lists from parent text (pingdotgg#43110)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): empty frontmatter no longer hides document content (pingdotgg#43115)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): an HTML preview loads its files from the page's own folder only (pingdotgg#43042)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(server): start extracted table rows on a new line (pingdotgg#43105)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): pressing Escape in the PR markdown editor keeps the right panel sheet open (pingdotgg#43118)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): workflow retry labels say "21st try" instead of "21th try" (pingdotgg#43121)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): log failure cause when checkpoint baseline capture fails (pingdotgg#43128)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): separate inline EPUB image descriptions from words (pingdotgg#43114)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(web): panel thread switches lay out the chat once before paint (pingdotgg#43137)
* perf(web): sidebar rows skip re-rendering when a checks reread changes nothing (pingdotgg#43117)
* fix(server): preserve EPUB columns after merged cells (pingdotgg#43120)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): scheduled-task runs no longer un-snooze the thread they post into (pingdotgg#43139)
* fix(server): discover checked-out submodules with mixed-case path keys (pingdotgg#43132)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): Claude threads in Auto ask about tools Claude sends back (pingdotgg#43035)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(web): terminal excerpt titles follow the app language (pingdotgg#43116)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): pressing Escape while editing an issue title keeps the right panel sheet open (pingdotgg#43133)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): folded Duo opens a thread picked while Back is still animating (pingdotgg#43148)
* fix(server): commented-out images no longer block HTML renders (pingdotgg#43134)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): Chinese Android dictation shows the microphone again (pingdotgg#41993)
* fix(mobile): Keep a copied message's image when Android pastes plain text (pingdotgg#37409)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): long thread and GitHub links wrap instead of cutting off (pingdotgg#43122)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): separate EPUB block quotes from adjacent text (pingdotgg#43156)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): pressing Escape in the Environments map stack filter clears it without closing Settings (pingdotgg#43149)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): preserve distinct CP437 filenames in ZIP previews (pingdotgg#43151)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): Escape in a diff comment, review reply or issue title keeps the right panel sheet open (pingdotgg#43147)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): Android subscription widget resizes down to 2×2 again (pingdotgg#35011)
* fix(mobile): attaching a photo on Android no longer fails while the + menu closes (pingdotgg#40825)
* fix(web): picker scrollbars match the list after you filter it (pingdotgg#43140)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): Android keyboard state resyncs when the activity is recreated (pingdotgg#40380)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): keep numeric merge subjects from matching the wrong PR watch (pingdotgg#43158)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): separate EPUB code blocks from nearby text (pingdotgg#43171)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
* fix(server): preserve Unicode at the linked-issue context limit for thread titles (pingdotgg#43166)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): shell commands with -- show their executable in the work log (pingdotgg#43164)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(claude): show Auto as unavailable where Claude's settings turn it off (pingdotgg#43162)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(web): a full prompt stash no longer discards your oldest prompt (pingdotgg#43183)
* fix(server): preserve EPUB thematic breaks in attachment text (pingdotgg#43177)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
* fix(client-runtime): workflow feed lines keep underscores in identifiers and paths (pingdotgg#43176)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): unknown shortcut conditions can incorrectly enable commands (pingdotgg#43181)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(web): stop devices individually or all at once from the Device panel (pingdotgg#43191)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(desktop): desktop update error messages no longer end in a broken emoji (pingdotgg#43182)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): separate EPUB figure captions from nearby text (pingdotgg#43190)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* docs(user): copy pass on user docs, add missing feature guides and onboarding index (pingdotgg#43206)
* fix(web): a draft moved to another machine takes that project's default workspace (pingdotgg#43205)
* fix(shared): file links with escaped quotes in titles keep their folder labels (pingdotgg#43194)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): cut failure messages and review findings no longer end in a space before the ellipsis (pingdotgg#43195)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): sidebar linked-item hover cards show 8 items and open beside the row (pingdotgg#43222)
* fix(client-runtime): uppercase Linear hosts open issues beside the thread (pingdotgg#43211)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): pressing Escape while editing a PR title keeps the right panel sheet open (pingdotgg#43220)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): worktree containers are refused on Git before 2.36 (pingdotgg#43224)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(mobile): side chats, subagents and previews open in the Android inspector (pingdotgg#43210)
* fix(server): keep EPUB asides separate from surrounding text (pingdotgg#43227)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* chore(mobile): bump app version to 2.4.0
* fix(cli): use singular counts in one-span trace summaries (pingdotgg#43231)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(provider-acp): fold single-underscore <id>_other companion fields in elicitation forms (pingdotgg#43233)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(review-guide): preserve tabbed filenames in rendered excerpts (pingdotgg#43234)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): preserve a checkout shared by a side chat on setup cancellation (pingdotgg#43230)
Co-authored-by: AppsAtMe <256263592+AppsAtMe@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(server): track Claude descendants with the macOS resource monitor (pingdotgg#43212)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): composer image overflow button says "Show 1 more image attachment" (pingdotgg#43238)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* perf(server): sample routine spans in local traces (pingdotgg#43209)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(web,mobile): approval cards show characters a screen would not draw (pingdotgg#43049)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* fix(server): /goal resume with no paused OpenCode goal says so instead of asking to retry (pingdotgg#43250)
* fix(server): a daily workflow schedule written another way keeps its next run (pingdotgg#43255)
* fix(server): separate EPUB contact blocks from surrounding text (pingdotgg#43248)
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): Antigravity ask_question shows the question as the card body (pingdotgg#43258)
* fix(web): file links with a line number open read-only files at that line (pingdotgg#43235)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(acp): optional number and integer questions can be left blank (pingdotgg#43251)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web,mobile): shared-agent force-stop message uses singular wording for 1 working thread (pingdotgg#43253)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): files viewer opens GBK/GB18030 text instead of rejecting it (pingdotgg#43214)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): export server total counters as monotonic OTLP sums (pingdotgg#43256)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): rendered Markdown keeps its scroll position across files and threads (pingdotgg#43254)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): restore outer shared tooltip when leaving a nested trigger (pingdotgg#43244)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): crash screen error preview keeps emoji whole at the 300-character limit (pingdotgg#43260)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): html_render refuses vmax and vb heights that grow the frame (pingdotgg#43252)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): highlight dotted capital I matches in message search (pingdotgg#43268)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): New worktree sends no longer wait on a layout command read (pingdotgg#43280)
* fix(server): a Cursor request stopped before its first checkpoint survives the session closing (pingdotgg#43278)
* fix(client-runtime): shell scripts after -c -- are highlighted (pingdotgg#43277)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): workflows load in browsers without URL.canParse or URL.parse (pingdotgg#43281)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): open sidebar settle tooltips to the right instead of covering the row above (pingdotgg#43245)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): file links wrapping images keep their disambiguating folder labels (pingdotgg#43284)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(opencode): skills added after a project loads show in the $ and / menus (pingdotgg#43282)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): file links with #L line anchors in their label no longer duplicate the filename (pingdotgg#43285)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(client-runtime): unwrap uppercase or mixed-case shell executables like Bash.exe in command display text (pingdotgg#43289)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): an expanded question card wraps its header instead of clipping it (pingdotgg#43293)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): DOCX table rows keep the columns skipped by w:gridBefore (pingdotgg#43290)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): agents start on hosts without /bin/sh, such as Termux (pingdotgg#43296)
* fix(cli): reject negative counts for t3 thread show --messages (pingdotgg#43298)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): dotnet build errors and PHP stack frames become terminal links (pingdotgg#43295)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(codex): recover prompts dropped by an early Stop (pingdotgg#43305)
* fix(composer): open @, #, $, and / menus after CJK full-width spaces and NBSP (pingdotgg#43302)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): unclosed brackets no longer swallow subsequent @-file link chips (pingdotgg#43301)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): context chips with `$` in their labels no longer break into raw Markdown as TeX math (pingdotgg#43304)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(server): notebook outputs with only text/markdown are no longer dropped (pingdotgg#43310)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): shortcut editor reports conflicts for a true condition (pingdotgg#43316)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): ZIP previews show each file's modified date as archived (pingdotgg#43307)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): proposed plan titles ignore code comments and empty headings (pingdotgg#43319)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): escape literal SSH path punctuation when switching to HTTPS (pingdotgg#43312)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): keep pull request summary fields in compact tool output (pingdotgg#43308)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): issue label picker search ignores leading and trailing spaces (pingdotgg#43327)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): command output no longer prints half an emoji after an escape character (pingdotgg#43326)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(mobile): keep the partial file warning below the iPad navigation bar (pingdotgg#43320)
Co-authored-by: Xander von Itzenplitz <xander@mbprom5.home.lan>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* feat(skills): mobile release videos in the launch-video skill (pingdotgg#43330)
* fix(shared): thread links after code blocks containing triple backticks still render (pingdotgg#43318)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): an interrupted color code no longer prints its leftover characters in command output (pingdotgg#43342)
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(web): notebook preview shows outputs that carry only text/markdown (pingdotgg#43337)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
* fix(shared): chunked Markdown previews keep a link definition right after "..." frontmatter (pingdotgg#43331)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
---------
Co-authored-by: Victor <satsdev@only21mil.xyz>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Alex Hatzenbuhler <hatz@hey.com>
Co-authored-by: 2SinceJuly <2929362966@qq.com>
Co-authored-by: AymanKhan9 <aymankhan.ak6@gmail.com>
Co-authored-by: Stanislav Zmiev <zmievsa@gmail.com>
Co-authored-by: Thomas Molinari <100191128+thomas0903@users.noreply.github.com>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: usedhonda <usedhonda@gmail.com>
Co-authored-by: usedhonda <70754+usedhonda@users.noreply.github.com>
Co-authored-by: Soroush Baraouf <soroushraouf44@gmail.com>
Co-authored-by: Pedro Sousa <me@pedrosousa.me>
Co-authored-by: Pedro Sousa <4235827+pedrosousa13@users.noreply.github.com>
Co-authored-by: Marcus Takagi <hyt577@gmail.com>
Co-authored-by: huyuetian <huyuetian@xiaomi.com>
Co-authored-by: nikalezah <67012982+nikalezah@users.noreply.github.com>
Co-authored-by: Simone <lucenz@proton.me>
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: xandev641 <143331243+xandev641@users.noreply.github.com>
Co-authored-by: Xander von Itzenplitz <xander@mbprom5.home.lan>
Co-authored-by: Shadman Taqi <61359614+iamshadmantaqi@users.noreply.github.com>
Co-authored-by: Thanh Hoai Anh Nguyen <hoaianh517@gmail.com>
Co-authored-by: Paul Dupuy, Jr. <70114489+pauldupuyjr@users.noreply.github.com>
Co-authored-by: Kyros Abas <kyroshendrix011804@gmail.com>
Co-authored-by: Dara Adedeji <76637177+SunkenInTime@users.noreply.github.com>
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Vir Khanna <102773390+v-khanna@users.noreply.github.com>
Co-authored-by: Matthew Waters <matthewwaters100@gmail.com>
Co-authored-by: Fluffy-Bunny-23 <193831219+Fluffy-Bunny-23@users.noreply.github.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Michel Liao <107891771+Michel-Liao@users.noreply.github.com>
Co-authored-by: elias1218 <69803556+elias1218@users.noreply.github.com>
Co-authored-by: Brandon Julio Thenaro <brandon.julio.t@icloud.com>
Co-authored-by: Igor Makowski <56691628+Mnigos@users.noreply.github.com>
Co-authored-by: Harold Hunt <harold@pwrdrvr.com>
Co-authored-by: spoukyii <61633921+spoukyii@users.noreply.github.com>
Co-authored-by: Alex Southwell <saphid@gmail.com>
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Greg Lum <62226188+greglum@users.noreply.github.com>
Co-authored-by: Mike Olson <mwolson@member.fsf.org>
Co-authored-by: Illia Panasenko <hello@ipanasenko.me>
Co-authored-by: Md Ehsanul Haque <133691757+EhsanulHaqueSiam@users.noreply.github.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: t3-code-bot[bot] <269035359+t3-code-bot[bot]@users.noreply.github.com>
Co-authored-by: ump45nose <52391318+ump45nose@users.noreply.github.com>
Co-authored-by: AppsAtMe <apps@andrewrmitchell.com>
Co-authored-by: AppsAtMe <256263592+AppsAtMe@users.noreply.github.com>
Co-authored-by: daniel-inderos <81823251+daniel-inderos@users.noreply.github.com>
Co-authored-by: Rushikesh Gaikwad <81632222+Wraient@users.noreply.github.com>
Co-authored-by: Alex Novosad <alextheukrainian@gmail.com>
Co-authored-by: Sergiy Dybskiy <sergiy.dybskiy@sentry.io>
zhenyu-cpu
pushed a commit
to zhenyu-cpu/m3code
that referenced
this pull request
Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size:XS0-9 changed lines (additions + deletions).vouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When cloudflared stopped responding (for example on a dead HTTP/2 socket) and T3 Code restarted it, T3 Code sent SIGTERM and then waited for it to exit with no time limit, while holding the lock that every reconcile needs. That kept T3 Connect down for about 10 minutes. Every way T3 Code stops the relay client now sends SIGKILL if it has not exited 5 seconds after SIGTERM:
restartConnectorand the readiness watcher's restart passforceKillAftertokill().forceKillAfter, so it also applies when the connector's scope closes.Fixes #42813
Reproduction on main
Commit c478fde (origin/main). (1) Live run: a vitest it.live test built the real CloudManagedEndpointRuntime layer with NodeServices' real ChildProcessSpawner and a RelayClient resolving to a bash stand-in for cloudflared. The stand-in prints 'INF Registered tunnel connection connIndex=0 protocol=http2', traps SIGTERM (logs it, keeps running) and loops. After applyConfig and tunnelConnected, calling restartConnector(pid, Effect.succeed(true)) logged 'Cloudflare has no live connection from the relay client; restarting it' and had not returned after 20 s (Effect.timeoutOption fired, elapsedMs 20006). No replacement was spawned, and the stand-in was still running after the test runner exited until I killed it by its captured PID. Control: the same harness with a stand-in that exits on SIGTERM restarted normally (test passed). (2) Deterministic test added to apps/server/src/cloud/ManagedEndpointRuntime.test.ts: the fake handle's kill() without forceKillAfter waits until the process exits, and with forceKillAfter it exits after that delay (SIGKILL). With TestClock advanced one minute, restartConnector is still pending (pollUnsafe undefined), so the test fails on main. With a temporary kill({ forceKillAfter: "5 seconds" }) in restartConnector, all 29 tests in the file pass; that fix was reverted and not committed. I did not run a real cloudflared against Cloudflare with an iptables blackhole.
Evidence
Run the same driver against fresh state on both commits: start the real server with a SIGTERM-resistant synthetic connector, expose synthetic HTTP 530/error 1033 through local HTTPS, wait for T3's automatic dead-connector restart, then observe for 25 seconds. Environment: Linux, Node v26.13.1, real OS processes, 1280×900 live observation recordings.
Driver · Connector fixture · Before observations · After observations
The captures show the actual server's restart behavior with synthetic external fixtures, not a real Cloudflare tunnel.
Not shown:
Tests
vp test run src/cloud/ManagedEndpointRuntime.test.ts(apps/server) without the fix: 1 failed (the repro test for this bug), 28 passedvp test run src/cloud/ManagedEndpointRuntime.test.ts(apps/server) with the fix: 29 passedvp run check:changed: format, lint, knip, graphql, typecheck and tests all passedNot in this change
Who did the work
Run by the t3code factory in T3 Code.