GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — perf: bring in upstream desktop and mobile performance fixes by eyeveil · Pull Request #95 · issuelt/t3code

Conversation

@eyeveil

@eyeveil eyeveil commented Nov 13, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Why

Six open upstream performance PRs that merge cleanly on the fork, picked for the desktop app and the Android app. Each is brought in as a merge of its upstream branch, so the authors' commits and credit stay as they are upstream.

What changed

  • fix(desktop): typing no longer freezes while the renderer polls topology pingdotgg/t3code#23601 (juliusmarminge): typing no longer freezes while the desktop renderer polls topology over synchronous IPC.
  • fix(mobile): keep thread lists stable during streaming pingdotgg/t3code#24651 (PixPMusic, taken over by juliusmarminge): mobile thread lists stay stable during streaming.
  • fix(client-runtime): opening a thread no longer freezes with thousands of threads pingdotgg/t3code#35848 (juliusmarminge): opening a thread no longer freezes with thousands of threads.
  • perf(web): batch first-send composer updates pingdotgg/t3code#36166 (StiensWout), perf(web): completed Markdown blocks no longer render twice pingdotgg/t3code#33794 (voltcrash), perf(web): typing no longer re-renders the composer's footer controls pingdotgg/t3code#32323 (OmarAlex24): fewer composer and Markdown re-renders, and a faster first send.

Scope

Left out for now: pingdotgg#35711 (idle session release), until its effect on Home is checked. pingdotgg#23601 was reverted once upstream and is unproven on a packaged desktop build here: the packaged-build check was stopped because its scratch app opened windows on the desktop. Watch for typing freezes or topology regressions in the next desktop build.

Verification

  • Typecheck of desktop, web, client-runtime, contracts and mobile passes.
  • Tests beside the changes pass: desktop 14, web 77, client-runtime 16.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
juliusmarminge and others added 26 commits October 22, 2026 11:57
@juliusmarminge @claude
test(desktop): reproduce pingdotgg#12689 topology polling blocking on…
2669a8b
… sendSync

These tests reproduce pingdotgg#12689: every topology poll calls the
sendSync-backed bridge reads for bootstraps and local-environment
enabled, so a busy main process freezes the renderer while typing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(desktop): stop blocking the renderer during topology polling
0427a89
Every 3 s topology poll and every composer render called sendSync for the
local-environment bootstraps and enabled flag, so a busy main process froze
the renderer while typing (pingdotgg#12689).

The preload now reads each value synchronously once for the first paint and
caches it. The enabled flag only changes through a setter that relaunches the
app, so the startup value stays correct. Bootstraps are refreshed by a new
async bridge method over ipcRenderer.invoke on the same channel; the platform
poll awaits it before reading the primary and secondary topology, so a
WSL/secondary backend appearing, disappearing or changing still reaches the
UI within one poll.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
test(desktop): stub window listeners so the preload test loads on macOS
60084db
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge
Merge remote-tracking branch 'origin/main' into fix/issue-12689
fc73657
@juliusmarminge @claude
test(client-runtime): reproduce pingdotgg#25823, one shell update reb…
51a48ac
…uilds the quiet list per changed thread

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(client-runtime): the quiet thread list rebuilds once per shell up…
6fd4cfc
…date

The quiet thread shell list read one quiet atom per thread, and each of those
read the whole thread index. Every shell frame re-ran all of them and rebuilt
the list once per changed thread, which froze the renderer for about a minute
when a thread opened with ~13k threads.

The list now builds from each enabled environment's threads and pending
subagent requests, the same way the other shell lists do. It holds shells
through streaming ticks itself, keyed by thread and pruned on every rebuild.

Fixes pingdotgg#25823

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge
Merge remote-tracking branch 'origin/main' into fix/issue-25823
da9db8b
@PixPMusic
fix(mobile): keep thread lists stable during streaming
d1c7b1a
@juliusmarminge @claude @PixPMusic
test(client-runtime): takeover tests for stable navigation thread shells
b1094d0
Replace the PR's single all-in-one navigation test with two focused tests
for pingdotgg#24651: navigation keeps its list and row identities through streaming
ticks while threadShellAtom follows live values, and changes a list shows
(count zero crossing, status, pending request, run stop, stopped thread's
timestamp) still rebuild it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude @PixPMusic
fix(client-runtime): navigation thread shells reuse the quiet per-thr…
17e450d
…ead shells

Derive navigationThreadShellsAtom from quietThreadShellsAtom instead of
comparing each row against the previous list's row at the same index. Rows
are now matched by thread key through the existing quietThreadShellAtom
family, so a streaming thread keeps its row when threads are inserted,
removed or reordered, and there is one streaming comparison site.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude @PixPMusic
fix(client-runtime): keep the contributor's positional navigation reuse
e8a926a
Building navigation from quietThreadShellsAtom mounts one per-thread atom for
every thread on mobile and measured 6-25x more derivation work per streaming
tick than main. The positional reuse costs what main costs, since unchanged
sources keep their cached shell and only changed rows are compared.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@OmarAlex24 @claude
perf(web): typing no longer re-renders the composer's footer controls
ecafd4e
Every keystroke in the composer re-rendered the whole footer (model picker,
controls menu and their popovers), because the runtime mode options were
rebuilt as a new array on each render. Since the managed policy hook was
called between deriving the modes and using them, React Compiler could not
memoize that derivation.

Call useManagedPolicy before the derivation so the compiler caches the mode
options on runtime mode, supported modes and policy. Typing 20 characters
drops from 542 to 293 component renders, and the render scenario now asserts
the footer re-renders only for the first character.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@maria-rcks
Merge remote-tracking branch 'github/main' into pr-32323
31cf4b5
# Conflicts:
#	apps/web/src/components/chat/ChatComposer.tsx
@voltcrash
perf(web): completed Markdown blocks no longer render twice
684c3ab
@juliusmarminge
Merge remote-tracking branch 'origin/main' into fix/issue-25823
99eacfe
# Conflicts:
#	packages/client-runtime/src/state/threadShell.ts
@juliusmarminge
test(client-runtime): the quiet thread list still leaves out tag-hidd…
3a4a1c8
…en threads
@juliusmarminge
Merge remote-tracking branch 'origin/main' into fix/issue-12689
28cb743
# Conflicts:
#	apps/desktop/src/ipc/methods/window.ts
#	apps/desktop/src/preload.ts
#	packages/contracts/src/ipc.ts
@juliusmarminge @claude
test(desktop): keep the topology polling regression test loading afte…
692eb7a
…r main's preload changes

AI-assisted; verified with the tests and tools listed above.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
Merge remote-tracking branch 'origin/main' into fix/issue-25823
fb9d42b
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@StiensWout @codex
@claude Grok 4.7
perf(web): batch first-send composer updates
43cf7bc
Avoid forcing a separate desktop render to dock a draft composer before send.
Keep docking with the optimistic message updates; only real mobile view
transitions need a synchronous commit and an awaited update.

Co-authored-by: GPT 6.1 Sol <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Grok 4.7 <[email protected]>
@eyeveil
Merge upstream pingdotgg#23601: fix(desktop): typing no longer freeze…
03d66f0
…s while the renderer polls topology (by juliusmarminge)
@eyeveil
Merge upstream pingdotgg#24651: fix(mobile): keep thread lists stable…
f8931f9
… during streaming (by PixPMusic)
@eyeveil
Merge upstream pingdotgg#35848: fix(client-runtime): opening a thread…
58c743e
… no longer freezes with thousands of threads (by juliusmarminge)
@eyeveil
Merge upstream pingdotgg#36166: perf(web): batch first-send composer …
f2b5928
…updates (by StiensWout)
@eyeveil
Merge upstream pingdotgg#33794: perf(web): completed Markdown blocks …
b36c0df
…no longer render twice (by voltcrash)
@eyeveil
Merge upstream pingdotgg#32323: perf(web): typing no longer re-render…
3715e72
…s the composer's footer controls (by OmarAlex24)
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L labels Nov 13, 2026
@greptile-apps

greptile-apps Bot commented Nov 13, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed changes appear safe to merge.

Summary

This PR reduces repeated work in desktop connections, thread lists, and chat rendering.

  • Desktop topology polling refreshes asynchronously after its first cached read.
  • Thread lists keep their rows steady during streaming-only updates.
  • Finished Markdown blocks enter the shared cache after React commits them.
  • Mobile composer docking batches inline updates and commits transition updates right away.
  • Composer footer controls stop rerendering on every typed character.

No actionable issues were found.

Reviews (1) · Last reviewed commit: "Merge upstream pingdotgg/t3code#32323: p..." · Reviewed by Greptile

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eyeveil
eyeveil merged commit e39c48a into main Nov 13, 2026
33 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:L vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@eyeveil @juliusmarminge @PixPMusic @OmarAlex24 @maria-rcks @voltcrash @StiensWout
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.