Repository navigation
Ask on remote reviews - #940
Merged
Merged
Conversation
thesiti92
added this pull request to stack #943
October 5, 2026 19:37
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 5, 2026 19:38
5302d3d to
1ac94f9
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 5, 2026 20:00
1ac94f9 to
6e36260
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 5, 2026 20:19
6e36260 to
561c68a
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
2 times, most recently
from
October 5, 2026 20:40
4766a95 to
b5d28da
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 5, 2026 20:41
b5d28da to
4766a95
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 5, 2026 21:24
4766a95 to
f82f3fe
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 5, 2026 21:38
f82f3fe to
516a783
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 5, 2026 21:47
516a783 to
d8426a2
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 5, 2026 23:08
d8426a2 to
1b2aaa5
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
2 times, most recently
from
October 6, 2026 01:58
ca672c8 to
e7810ff
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 6, 2026 02:46
e7810ff to
419e2c8
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 6, 2026 03:46
419e2c8 to
50dc428
Compare
thesiti92
added this pull request to stack #1105
October 13, 2026 15:38
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 13, 2026 16:00
c1e73e4 to
ed4906e
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 13, 2026 17:22
ed4906e to
432ce3b
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 13, 2026 17:38
432ce3b to
c2b3610
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 13, 2026 21:49
c2b3610 to
6b1b12f
Compare
thesiti92
removed this pull request from stack #1105
October 13, 2026 22:42
thesiti92
added this pull request to stack #1117
October 13, 2026 22:42
thesiti92
force-pushed
the
remote/7-remote-ask
branch
2 times, most recently
from
October 13, 2026 22:54
a9d0fb1 to
3c5ce09
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
5 times, most recently
from
October 14, 2026 17:27
bb360f0 to
f6f2321
Compare
thesiti92
force-pushed
the
remote/7-remote-ask
branch
from
October 14, 2026 17:51
79fb91a to
dff3556
Compare
Ask's agent environment is resolved on first use, so a slow login shell no longer delays startup.
The gateway's slow-route and stream-silence handling, thread idle close and reopen, and the install's API checks are tested where they live; what stays covers Ask's own routes and wiring.
The remote-ask journey drives the gateway's Ask routes end to end; route-table, copy and package-listing checks and tests of unchanged Ask code are gone.
sidkmenon
approved these changes
Oct 14, 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Stacked PR 7 of 9 for remote reviews (base:
remote/6-installer-connect; #934, the rename, is merged). Review in order; each PR builds and passes its suites on its own.Manual test plan
Purpose. Ask works on a review whose checkout is on a host: the headless server serves Ask, the agent runs on the host with its own sign-ins, and threads live on the host. File names in answers show as text because Source windows do not exist yet.
Setup. Worktree at
origin/remote/7-remote-ask.R up a --fake-agent; R install a(a fake OpenCode that answersYou asked: <question>). Create the remote review on a. Launch; addwb-test-a.Steps.
S wb-test-a 'mv ~/.opencode ~/.opencode.off', refocus the window → Claude Code, Codex and OpenCode each readNot installed on wb-test-a. Move it back → the composer returns.what does f.ts do→You asked: what does f.ts dostreams in.f.tsin the answer is plain text with the tooltipSource windows are not available for a review on another machine.; clicking it does nothing.online→ Saved conversations lists the thread.DEV_REVIEW_HOME(redo the settings file), add the host → the same thread is listed (threads are on the host).and then, thenR pause a→ the panel shows an alert containinglost its connectionwithin 15 s; the host readsofflinewithin 15 s.R resume a.Negative checks.
$URL; none carries the remote token; nonavigatororfilesrequest.src/server/headless-host.test.ts. Journeyremote-ask.Cleanup. Common cleanup; also
rm -rfthe second home.Folded in from #945. Remote installs keep
--omit=optional(drops ~650 MB of agent binaries), so the install script reads diffr's version from the tarball and installs@dev.fast/diffr-<target>@<version>explicitly. The installer containers test checks the diffr binary;remote-installchecks it came through the relay.Rebased onto main's Ask changes (#947, #948). One
POST ask/watchstream replaces the per-thread watch route, and the gateway forwards it plusGET ask/:thread(saved conversations). The stack's own headless idle close is gone; main's sweep covers it.Common setup for all plans
Common setup (read once)
git -C <core> worktree add --detach ../review-prN origin/<head>, thenpnpm installthere. Run everything below from that worktree root.DEV_REVIEW_HOME=$H DEV_FAST_REVIEW_SSH_CONFIG=/tmp/wbt.$WB_TEST_RUN/ssh_config pnpm dev(prefixDEV_FAST_REVIEW_DESKTOP_BACKGROUND=1to keep it from taking focus).D=$(ls $H/review-desktop/instances/dev-*.json); URL=$(node -p "require('$D').url"); TOK=$(node -p "require('$D').token"); api() { curl -s -H "x-review-token: $TOK" "$URL$1"; }ID=$(S wb-test-a 'bash -s -- Remote-order' < /tmp/wb-review.sh | head -1)(repo~/wbrepo, review "Remote-order" with a prose line and a code peek of f.ts)./tmp/wb-push.shis the same withopen: truein~/wbrepo2.(cd apps/review-desktop && TSX_TSCONFIG_PATH=tsconfig.test.json node --import tsx --test --test-force-exit <files>). Package tests:pnpm --filter @dev.fast/whiteboard test <files>.apps/review-desktop/scripts/e2e/TESTING.md("Staging the runtime"), thennode apps/review-desktop/scripts/e2e/run.mjs --runtime "$REVIEW_E2E_RUNTIME" --journey <name>.pause/resume(there is nounpause).sshmasters count as leftovers), thenR down --all; R verify-clean; rm -rf $H /tmp/wb-*.sh. Without anaws sso loginsessionverify-cleanalso printsAWS could not be checkedand exits 1; no other line may appear.