Skip to content

fix(web): remote subagent tooltips resolve child provider and thread - #45104

Merged
juliusmarminge merged 3 commits into
pingdotgg:mainfrom
only21mil:fix/web-remote-subagent-tooltip-env
Nov 28, 2026
Merged

juliusmarminge merged 3 commits into
pingdotgg:mainfrom
only21mil:fix/web-remote-subagent-tooltip-env

Conversation

@only21mil

Copy link
Copy Markdown
Contributor

Problem

Hovering a remote subagent row resolves providers in the parent environment, falls back to placeholder remote driver initials, and omits the remote child thread's live title, project, and branch.

Change

Forward remote from SubagentTimelineLink to SubagentTimelineTooltip in apps/web/src/components/chat/V2LifecycleRow.tsx: read serverEnvironment.providersValueAtom for props.remote?.environmentId ?? environmentId, look up the child thread shell and project there when props.threadId is null, and drop the placeholder remote driver fallback to match EnvironmentSubagentAvatar. Added a browser regression test in apps/web/src/components/chat/MessagesTimeline.browser.test.tsx.

Scope

Bug fix for wrong provider/model and omitted remote thread details; no GitHub issue is needed for this small, obvious web-only tooltip lookup fix matching EnvironmentSubagentAvatar in V2LifecycleRow.tsx. Cross-environment path comparison in packages/client-runtime's resolveSubagentMetadata is out of scope.

Verification

Setup: Linux · Chromium (1280×800) · light theme · fresh isolated state, two peer-linked local environments.

Steps: Pair Primary Workstation & Remote Build Box → open thread → expand work log → hover remote subagent row.

Base b3b67b31860d. Post-263d3488fd0b (MessagesTimeline.tsx), before capture ran on verified-green bf20a2ea4757; after capture and browser suite ran on local merge bf20a2ea4757 + 198548eae405 (clean git merge-tree).

bf20a2ea4757 198548eae405
Tooltip shows stale prompt title, placeholder RE initials, raw default slug, and omits remote project and branch. Tooltip shows stale prompt title, placeholder RE initials, raw default slug, and omits remote project and branch. Tooltip shows live child title, Build Worker icon and badge, Remote Build Repo, and feat/remote-branch. Tooltip shows live child title, Build Worker icon and badge, Remote Build Repo, and feat/remote-branch.

Links: Base b3b67b31860d · Verified main bf20a2ea4757 · Head 198548eae405 · Test apps/web/src/components/chat/MessagesTimeline.browser.test.tsx

Not shown:

  • Electron desktop (renders the same web V2LifecycleRow)
  • Native mobile (apps/mobile/src/features/threads/SubagentRow.tsx shares this remote child thread/project lookup gap; deferred to a follow-up PR to keep this web-only)
Automated checks
  • Failing-first regression test (198548eae405 test on unpatched bf20a2ea4757): failed as expected (Expected: "Verified remote checkout", Received: "Initial prompt titleWrong Modelcompleted0sChecked remote files").
  • Merged-tree browser suite (bf20a2ea4757 + 198548eae405): vp test run apps/web/src/components/chat/MessagesTimeline.browser.test.tsx passed (86/86 tests).
  • vp test run apps/web/src/components/chat/ on 198548eae405: 132 test files passed (968 tests).
  • vp run check:changed b3b67b31860d4527f851668e1eb3466d4f7e4765 on 198548eae405: format, lint, knip (1/2, 2/2), typecheck, test (2 files, 88 tests), and react compiler (1 file) all passed.
  • git merge-tree --write-tree bf20a2ea47576fd36da3f285d6e81b8c095fabde HEAD: clean (1258f47b0d45b592baa2ebac3f7e32e17508b9bb); git merge-tree --write-tree upstream/main HEAD: clean (e24599f7bb2c016514aa81a2475fb034a7513ccc).

Generated with Gemini 4 Neon in T3 Code Nightly

SubagentTimelineLink resolved remote child metadata for the row avatar but did not forward it to SubagentTimelineTooltip. Hovering a remote subagent row therefore looked up providers in the parent environment, fell back to the placeholder remote driver label, and missed the remote child thread title, project, and branch.

Pass remote into SubagentTimelineTooltip, read providers from the remote environment when present, look up the child thread shell and project in that environment, and omit the placeholder remote driver fallback to match EnvironmentSubagentAvatar.
Use a distinct live title for the remote child thread shell, drop unused parent project and turn item fixture entries, return null from providersValueAtom for the disconnected environment, and assert the fallback BotIcon slot directly instead of checking popup text for RE.
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Nov 28, 2026
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 198548e and cc9006d.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

Remote subagent tooltips now use provider, thread, and project data from the child environment when available. Browser tests cover connected and offline remote subagent rows.

Changes: Remote subagent tooltip context

Layer / File(s) Summary
Resolve tooltip context and verify remote rows
apps/web/src/components/chat/V2LifecycleRow.tsx, apps/web/src/components/chat/MessagesTimeline.browser.test.tsx
The tooltip resolves remote provider, thread, and project data from the child environment and omits the local driver for remote tasks. Browser tests check connected and offline rows.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: juliusmarminge

Merge Risk: Minimal · previous review 19854

Remote subagent tooltips now show the child environment's provider, live title, project and branch instead of the parent's data or a placeholder driver. The change is limited to web UI rendering, is covered by a browser regression test, and is easy to revert. No merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "fix(web): remote subagent tooltips resolve child provider and thread" matches the main change: the subagent tooltip for remote rows now resolves providers from the remote environment and lo…
Description check Passed The description follows the template sections (Problem, Change, Scope, Verification). It states the problem with expected behavior, explains the change and the files touched, justifies the scope as a …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "fix(web): remote subagent tooltips resolve child provider and thread" matches the main change: the subagent tooltip for remote rows now resolves providers from the remote environment and looks up the child thread and project there. It is a conventional commit title in plain language, and it names the affected area (web) and the specific behavior fixed.

Full details: Description check

Explanation

The description follows the template sections (Problem, Change, Scope, Verification). It states the problem with expected behavior, explains the change and the files touched, justifies the scope as a small web-only bug fix, and gives detailed verification: environment, steps, before/after screenshots, a failing-first test, and the commands run with results. It also notes what was not checked (Electron, native mobile). The template's comment asks for a model and harness line when an agent was used; the description includes 'Generated with Gemini 4 Neon in T3 Code Nightly'. The Scope section does not link an issue, but it gives a reason for omitting one, as the template allows.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between e65c4c3 and 198548e.

Files selected for processing: 2

  • apps/web/src/components/chat/MessagesTimeline.browser.test.tsx
  • apps/web/src/components/chat/V2LifecycleRow.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.

@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 28, 2026
…nt-tooltip-env

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@juliusmarminge

Copy link
Copy Markdown
Member

Evidence

Configure A with OpenCode and a Pi instance named worker; configure B with OpenCode instances opencode, worker, and remotebox. Delegate one real task to each B instance, then rename the children to Verified Audit in remote-audit-project on remote-audit-branch. Pair the browser with B, expand the parent's work and subagent group, and hover each remote row. Remove B from the browser and repeat worker and remotebox.

Both sides used light theme and a 1280×800 CSS viewport. Stills are cropped hover cards; recordings use the same 290×330 region. Head high-DPI captures were normalized before cropping. Real-run durations and tool grouping vary; the parent reply is exactly DONE on both sides.

Case Before 7ef2893c88 After cc9006dad8
worker: ID collision Before: worker uses Pi After: remote OpenCode provider and live child metadata
remotebox: remote-only ID Before: placeholder RE initials and raw model label After: Remote Box Only provider and live child metadata
opencode Before: parent provider catalog and stale title After: Remote Box OpenCode and live child metadata
worker after removal Before: still borrows Pi After: generic bot and raw model fallback
remotebox after removal Before: placeholder RE initials remain After: generic bot replaces placeholder initials
Interaction Before After
Connected: worker → remotebox → opencode Recording Recording
Removed environment: worker → remotebox Recording Recording

Scenario and seed steps · Manual head seed driver

Base completed all five captures and failed its provider assertion. The runner was interrupted during head; head was reseeded with the same steps and verified manually. Manual stills were byte-identical 500 ms apart. The visual evidence covers remote provider/model resolution, live child title/project/branch, and fallback without parent-provider borrowing or placeholder remote initials.

@juliusmarminge juliusmarminge added takeover:ready Takeover done; auto-lands when gates pass and removed takeover:in-progress A takeover lead is working on this PR labels Nov 28, 2026
@juliusmarminge
juliusmarminge merged commit 6b5ace1 into pingdotgg:main Nov 28, 2026
57 checks passed
@juliusmarminge juliusmarminge removed the takeover:ready Takeover done; auto-lands when gates pass label Nov 28, 2026
imetn added a commit to imetn/t4code that referenced this pull request Nov 29, 2026
…, web/desktop, sidebar perf)

Ports 38 selected upstream PRs from v0.1.14-nightly.20261128.5399 while preserving all T4 Code locked customizations, zero-telemetry stance, and self-hosted infrastructure:
- Mobile (5): pingdotgg#45003, pingdotgg#45131, pingdotgg#45106, pingdotgg#44947, pingdotgg#45108
- Server & Agents (11): pingdotgg#45102, pingdotgg#31357, pingdotgg#41766, pingdotgg#45078, pingdotgg#45152, pingdotgg#44922, pingdotgg#45137, pingdotgg#30062, pingdotgg#45058, pingdotgg#34051, pingdotgg#31293
- Web & Desktop (21): pingdotgg#45049, pingdotgg#45023, pingdotgg#45032, pingdotgg#45051, pingdotgg#45035, pingdotgg#45080, pingdotgg#45034, pingdotgg#45076, pingdotgg#45132, pingdotgg#45044, pingdotgg#45167, pingdotgg#45168, pingdotgg#30170, pingdotgg#45081, pingdotgg#45046, pingdotgg#45084, pingdotgg#45085, pingdotgg#45104, pingdotgg#45013, pingdotgg#45043, pingdotgg#45074
- Optional sidebar perf graft (1, user-approved): pingdotgg#45026 (useSidebarMobile)

Also addresses independent pre-merge review catches (inline code protection in markdown links, Object.hasOwn guard for custom run stop reasons, and revisioned asset URL refresh for workspace images).
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Nov 29, 2026
## What's Changed
* fix(server): scheduled tasks keep their original creation source when updated by @only21mil in pingdotgg/t3code#45031
* fix(web,mobile): queued-message edits save /usage-limits as text by @viktorce in pingdotgg/t3code#45013
* fix(web): refreshing workspace files reloads open large file previews by @only21mil in pingdotgg/t3code#45035
* fix(web): Files panel Retry clears errors from collapsed folders by @only21mil in pingdotgg/t3code#45046
* fix(server): overloaded-machine warnings never list a busy process as 0 cores by @iamshadmantaqi in pingdotgg/t3code#45045
* fix(web): copied chat text keeps plain closing brackets so math rendering does not pick them up by @iamshadmantaqi in pingdotgg/t3code#45043
* fix(web): Cmd/Ctrl+A in table and large text previews selects only the file by @iamshadmantaqi in pingdotgg/t3code#45044
* fix(devices): Test connection says when Node or npm is missing on an SSH host by @watashiwaaniket in pingdotgg/t3code#33198
* fix(web): image preview no longer closes when a press is dragged across its edge by @iamshadmantaqi in pingdotgg/t3code#45051
* fix(cli): select the linked project for files that do not exist yet by @only21mil in pingdotgg/t3code#45054
* fix(server): old-log cleanup removes deleted threads' provider event logs by @juliusmarminge in pingdotgg/t3code#45058
* fix(web): Copy as CSV keeps values under their headers when cells are merged by @iamshadmantaqi in pingdotgg/t3code#45056
* fix(server): refuse worktrees from ancestor repositories by @voltcrash in pingdotgg/t3code#31293
* fix(web): share hover delays between adjacent subagent previews by @brandon-julio-t in pingdotgg/t3code#34145
* fix(server): search snippets do not start with a detached mark or skin tone by @iamshadmantaqi in pingdotgg/t3code#45061
* fix(server): threads launched without a branch record the checkout's by @radomirml in pingdotgg/t3code#34051
* fix(server): avoid completion alerts before delegated work resumes by @AkiVonAkira in pingdotgg/t3code#31357
* fix(server): sessions imported from a reftable worktree keep their real branch by @iamshadmantaqi in pingdotgg/t3code#45062
* fix(web): hide Copy contents when a large text attachment fails to authorize by @only21mil in pingdotgg/t3code#45066
* fix(web): image preview size follows the app language by @iamshadmantaqi in pingdotgg/t3code#45067
* fix(client): a delivered queued message hidden by an old cache shows again by @EtanHey in pingdotgg/t3code#41766
* fix(client-runtime): highlight attached short inline scripts for python, perl, and ruby by @only21mil in pingdotgg/t3code#45063
* fix(server): preserve trailing history when Windows ConPTY starts a terminal by @birdringxD in pingdotgg/t3code#45048
* fix(client-runtime): an approved step no longer reads "and used 1 tool" by @AymanKhan9 in pingdotgg/t3code#45074
* fix(web): refreshing workspace files reloads images in large Markdown previews by @iamshadmantaqi in pingdotgg/t3code#45076
* fix(web): restore highlighted stashed prompt on Enter from stash badge by @only21mil in pingdotgg/t3code#45081
* fix(server): t3 update no longer says a service with an unreadable home serves another one by @iamshadmantaqi in pingdotgg/t3code#45082
* fix(web): refreshing workspace files reloads open PDF previews by @only21mil in pingdotgg/t3code#45080
* fix(server): re-importing a deleted Claude Code or Codex session brings its thread back by @juliusmarminge in pingdotgg/t3code#45078
* fix(scripts): dev runner skips a port the OS reserves instead of stopping by @NickoGNS in pingdotgg/t3code#45075
* fix(web): a lone file read shows its path relative to the workspace by @AymanKhan9 in pingdotgg/t3code#45085
* fix(client-runtime): PR diff order follows the source beside a test, not a same-named one elsewhere by @iamshadmantaqi in pingdotgg/t3code#45077
* fix(shared): avoid splitting combining marks when truncating by @only21mil in pingdotgg/t3code#45086
* fix(client-runtime): refreshing the issue list keeps pages loaded with Load more by @juliusmarminge in pingdotgg/t3code#45084
* fix(server): Cursor recovers on its own after a network outage by @maria-rcks in pingdotgg/t3code#44922
* fix(mobile): settings and keyboard palette list projects in desktop order by @maria-rcks in pingdotgg/t3code#44947
* fix(web): clear stale pull request resolution error when editing input by @only21mil in pingdotgg/t3code#45095
* fix(web): sidebar toggle no longer re-renders every thread row by @maria-rcks in pingdotgg/t3code#45026
* fix(desktop): preview browser presents as Chrome so sites accept sign-in by @maria-rcks in pingdotgg/t3code#45049
* fix(web): model picker provider tooltips open at once when moving between icons by @iamshadmantaqi in pingdotgg/t3code#45097
* fix(web): Enter saves the drawing after using the annotation toolbar by @only21mil in pingdotgg/t3code#45098
* fix(cli): reject blank --track folder values in t3 project add by @only21mil in pingdotgg/t3code#45100
* fix(client-runtime): psql -Atc and mysql -Ne scripts are highlighted as SQL in the work log by @iamshadmantaqi in pingdotgg/t3code#45099
* fix(server): Antigravity turns end when a subagent goes idle without send_message by @juliusmarminge in pingdotgg/t3code#45102
* fix(web): large text row, column and line counts follow the app language by @iamshadmantaqi in pingdotgg/t3code#45103
* fix(web): thread details Servers rows share the tooltip hover delay by @iamshadmantaqi in pingdotgg/t3code#45113
* fix(web): archive and SQLite preview counts and dates follow the app language by @only21mil in pingdotgg/t3code#45116
* fix(web): drop duplicate imports from merged attachment preview tests by @juliusmarminge in pingdotgg/t3code#45146
* fix(mobile): removing a queued edit attachment also removes its chip from the text by @iamshadmantaqi in pingdotgg/t3code#45106
* fix(mobile): side chats can be deleted from the phone by @juliusmarminge in pingdotgg/t3code#45131
* fix(server): a linked peer that answers again no longer lists a stale error by @juliusmarminge in pingdotgg/t3code#45137
* fix(web,mobile): "Stopped by user" follows the app language by @AymanKhan9 in pingdotgg/t3code#45108
* fix(web): remote subagent tooltips resolve child provider and thread by @only21mil in pingdotgg/t3code#45104
* fix(web): stashed prompt previews no longer cut a combining mark off its letter by @iamshadmantaqi in pingdotgg/t3code#45140
* fix(web): keys pressed on a focused audio player stay with the player by @only21mil in pingdotgg/t3code#45145
* fix(server): t3 project add refuses a blank path instead of adding the current folder by @iamshadmantaqi in pingdotgg/t3code#45151
* fix(web): refreshing workspace files reloads open image, video and audio previews by @iamshadmantaqi in pingdotgg/t3code#45132
* fix(client-runtime): highlight fish -lc and other bundled flags in the work log by @iamshadmantaqi in pingdotgg/t3code#45159
* fix(client-runtime): shell heredocs run with -s and arguments are highlighted in the work log by @only21mil in pingdotgg/t3code#45157
* fix(server): t3 thread start title no longer cuts a combining mark off its letter by @iamshadmantaqi in pingdotgg/t3code#45165
* fix(server): a failing Codex MCP server is reported once per thread by @maria-rcks in pingdotgg/t3code#45152
* fix(web): queued Edit tooltip opens at once from adjacent actions by @only21mil in pingdotgg/t3code#45161
* fix(test): device evaluations keep POSIX paths on Windows by @rebelscumm in pingdotgg/t3code#45163
* fix(web): Cmd/Ctrl+A in archive and SQLite previews selects only the table by @only21mil in pingdotgg/t3code#45167
* fix(web): Cmd/Ctrl+A in Word document previews selects only the document by @only21mil in pingdotgg/t3code#45168
* fix(shared): files ending _tests count as tests in the diff panel by @iamshadmantaqi in pingdotgg/t3code#45169
* fix(server): t3 uninstall names a service whose home it cannot read by @iamshadmantaqi in pingdotgg/t3code#45170
* fix(shared): match SCP remotes with repeated slashes by @StiensWout in pingdotgg/t3code#45172
* fix(web): preserve ODS column addresses after wide hidden spans by @StiensWout in pingdotgg/t3code#45171

## New Contributors
* @watashiwaaniket made their first contribution in pingdotgg/t3code#33198
* @radomirml made their first contribution in pingdotgg/t3code#34051
* @birdringxD made their first contribution in pingdotgg/t3code#45048
* @NickoGNS made their first contribution in pingdotgg/t3code#45075
* @rebelscumm made their first contribution in pingdotgg/t3code#45163

**Full Changelog**: pingdotgg/t3code@v0.1.14-nightly.20261128.5399...v0.1.14-nightly.20261128.5413

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.14-nightly.20261128.5413
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants