Skip to content

fix(web): reuse host identity and verify service editor shortcuts - #3

Open
jdd-canada wants to merge 1 commit into
binjamshid:fix/open-in-same-home-servicefrom
jdd-canada:fix/31358-reuse-host-identity
Open

jdd-canada wants to merge 1 commit into
binjamshid:fix/open-in-same-home-servicefrom
jdd-canada:fix/31358-reuse-host-identity

Conversation

@jdd-canada

@jdd-canada jdd-canada commented Nov 9, 2026 •

Copy link
Copy Markdown

The parent PR adds getHomeEnvironmentId, but its base already exposes the same read through getHostEnvironmentId. Reuse that existing bridge and remove the duplicate handler, channel, preload entry, contract and test. Keep the same-home routing, missing-ID retry and picker fixes. The combined upstream diff becomes web-only.

The ChatView regression now presses Ctrl+O with the details panel open and closed and checks the editor, selected workspace path and destination environment. A temporary probe disabling both shortcut handlers fails this assertion; the original marker-only assertion stayed green under that probe.

Verification:

  • vp run check:changed e455200077ce60806a01c8f28435b58860dcfc74 --concurrency 2 passes format, lint, both knip checks, typecheck, 129 tests in 12 files and six React Compiler checks.
  • Packaged this cleanup as 0.1.7+local.31358.audit2, with build metadata identifying 3390fd5. On Linux under Xvfb, paired the desktop to an independent server built from this source, sharing one isolated T3 home with Local environment disabled.
  • Verified the new-thread Open in VS Code action, Ctrl+O with the details panel open and closed, and the returned file link → preview → editor flow. A forwarding code launcher recorded the arguments and invoked Void's real Code OSS 1.100.3 in an isolated profile. The editor displayed the selected file and its expected contents.
  • The repository's ACP mock agent supplied the returned link and shell block. Clicking its play action executed the command in T3's terminal and wrote the workspace receipt. No paid provider was used.

Fork CI: the agent-context budget job compares against the fork's older main (8b44f42), rather than this PR's target branch. apps/server/src/provider/agentContextBudget.json is unchanged between target 828d70c and cleanup 3390fd5; the reported increases are inherited from the target branch. Other CI jobs remain queued for Blacksmith runners. The checks and packaged verification above were run locally.

This is a follow-up to pingdotgg#31358 against its existing author branch. The original before/after captures remain in that PR; the images below show the current packaged verification. Native Windows/WSL and a systemd-installed service were not exercised.

New-thread editor action Selected preview file displayed in Code OSS
Packaged current branch with the new-thread Open in VS Code action enabled Real Code OSS displaying the file opened from the T3 preview

Implementation: GPT-6.1 Sol in T3 Code through the Codex harness.

Use the existing getHostEnvironmentId bridge and remove the duplicate desktop IPC and contract. Exercise the selected workspace editor shortcut with the details panel open and closed.

Verification: check:changed against the PR base passed 129 tests and six compiler checks. Disabling both shortcut handlers makes the strengthened browser test fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant