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
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).
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.
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.
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.
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: 4
Check name
Status
Explanation
Title check
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
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
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
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
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.
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.
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:S10-29 changed lines (additions + deletions).vouch:unvouchedAuthor is not yet trusted in the VOUCHED list.
2 participants
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.
Problem
Hovering a remote subagent row resolves providers in the parent environment, falls back to placeholder
remotedriver initials, and omits the remote child thread's live title, project, and branch.Change
Forward
remotefromSubagentTimelineLinktoSubagentTimelineTooltipinapps/web/src/components/chat/V2LifecycleRow.tsx: readserverEnvironment.providersValueAtomforprops.remote?.environmentId ?? environmentId, look up the child thread shell and project there whenprops.threadIdisnull, and drop the placeholderremotedriver fallback to matchEnvironmentSubagentAvatar. Added a browser regression test inapps/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
EnvironmentSubagentAvatarinV2LifecycleRow.tsx. Cross-environment path comparison inpackages/client-runtime'sresolveSubagentMetadatais 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-greenbf20a2ea4757; after capture and browser suite ran on local mergebf20a2ea4757+198548eae405(cleangit merge-tree).Links: Base b3b67b31860d · Verified
mainbf20a2ea4757 · Head 198548eae405 · Testapps/web/src/components/chat/MessagesTimeline.browser.test.tsxNot shown:
V2LifecycleRow)apps/mobile/src/features/threads/SubagentRow.tsxshares this remote child thread/project lookup gap; deferred to a follow-up PR to keep this web-only)Automated checks
198548eae405test on unpatchedbf20a2ea4757): failed as expected (Expected: "Verified remote checkout",Received: "Initial prompt titleWrong Modelcompleted0sChecked remote files").bf20a2ea4757+198548eae405):vp test run apps/web/src/components/chat/MessagesTimeline.browser.test.tsxpassed (86/86 tests).vp test run apps/web/src/components/chat/on198548eae405: 132 test files passed (968 tests).vp run check:changed b3b67b31860d4527f851668e1eb3466d4f7e4765on198548eae405:format,lint,knip(1/2, 2/2),typecheck,test(2 files, 88 tests), andreact 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