GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||
GeezerVison is showing github.com — fix(web): onboarding rechecks an agent when its install command finishes by artbom · Pull Request #36477 · pingdotgg/t3code Conversation
Contributor
ProblemOn the welcome page I clicked Install on Claude. The setup terminal opened, I pressed Enter, and the installer printed "Installation complete!". The row still said Install. It stayed that way until I restarted the app. The page only checks an agent again when the setup terminal closes or its shell exits. After an install the shell just sits at its prompt, so neither happens. Nothing on the page says that closing the terminal would help. My logs on 0.1.9 show the installer finishing at 02:16:07 and no provider check until I relaunched at 02:18:31. Expected: the row turns Ready (or Sign in) once the install command finishes, with the terminal still open. ChangeThe server already reports whether a terminal's shell has a running child process ( Install, Sign in and Codex's "Use existing CLI" all open ScopeSmall fix for an obvious bug, so I didn't open an issue first. #34354 looks similar but has a different cause. There the server's PATH never had Verification
Before ( After, with the terminal still open: Written with Claude Opus 5.5 in Claude Code.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe setup terminal's shell stays open after an install or sign-in, so the page never checked the agent again until the terminal closed. It now refreshes the provider once the command it ran exits.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Detect terminal completion and refresh provider apps/web/src/components/onboarding/WelcomePage.tsx, apps/web/src/components/onboarding/WelcomePage.import.browser.test.tsx |
The install terminal reports completion after it stops following a running state. The callback refreshes the provider matching the terminal session’s instance ID. The browser test checks that refresh waits until the terminal stops and that the terminal is not closed. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested reviewers: t3dotgg, juliusmarminge
619c5This change makes onboarding recheck an agent's status as soon as its install command finishes, without waiting for the terminal to close. No actionable merge-blocking risk was found. Commands that finish very quickly may still wait for the terminal to close before the status updates.
Explanation
The title names the main change: onboarding now rechecks an agent when its install command finishes. It follows the conventional commit format and matches the raw summary, which describes a completion callback that refreshes the matching provider when the terminal stops running.
Explanation
The description follows the template. It covers Problem, Change, Scope, and Verification. The Problem section gives reproduction steps and expected behavior. The Change section explains the approach and why it covers Install, Sign in, and Codex. The Scope section explains why no issue was opened and links a related issue. The Verification section gives a focused test, a manual check with observed results, and items not checked. The description leaves the before/after screenshot placeholders unfilled. It also does not include the agent model line in the required form, though it does name Claude Opus 5.5. These are minor gaps, so the check passes.
598ff829-3d41-4ffe-908b-aa452348305eapps/web/src/components/onboarding/WelcomePage.import.browser.test.tsxapps/web/src/components/onboarding/WelcomePage.tsxIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…k-agent-after-install
EvidenceOn both commits, open
Scenario · Fixture and runner adjustments · Redacted runner logs The completed browser reports fail on base and pass on head. Runner teardown received SIGTERM; its existing report-reading and pairing functions assembled proof.json from those completed reports. Not shown:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…hes (pingdotgg#36477) Co-authored-by: Julius Marminge <[email protected]> (cherry picked from commit 62ba72f)
* feat(native): advance connection, SSH, Welcome, and Access parity Implements native client web parity across CN-* and ST-SHARING: - Socket frameParts=1 multipart frame reassembly so big server configs on slow links do not drop connections in a loop (#279, `pingdotgg#23758`). - Saved service access picker and supervised client/grants lookup when Local environment is off (#281, `pingdotgg#26464`), plus Tailscale Serve reachability and non-loopback direct endpoint selection (`pingdotgg#35543`). - Folded Authorized clients header keeping the newly created pairing link visible with its share/QR panel open without expanding the client list (#232, `pingdotgg#30498`). - Managed-policy exit 77 startup diagnostics and restart suppression (#217, `pingdotgg#30319`). - T3 Connect device approval toggle, pending approve/deny list, trusted device revoke with approval-off confirmation, and HTTP 403 awaiting-approval supervisor state (#388, `pingdotgg#36419`). - Single scrollable Welcome page (`pingdotgg#33209`), Found/More agents grouping, embedded terminal auto-recheck on install completion (`pingdotgg#36477`), and CLI t3 install/PATH prompts (`pingdotgg#33150`, `pingdotgg#33153`). - Version skew detection/manual update commands, legacy-permission re-pair notice, expandable connection diagnosis panel with Copy diagnostics and host-freeze notice, providerStatusDeltas, snapshot-required resubscribe, ServerConfig.serverTime clock offset (`pingdotgg#36420`), known-machine link reuse (`pingdotgg#34139`), RetryNow stalled-connect interrupt/backoff reset (`pingdotgg#34623`, `pingdotgg#24932`), and SSH .launch.lock / 5s probe / persistent launcher_id hardening (`pingdotgg#32587`, `pingdotgg#35418`, `pingdotgg#35874`, `pingdotgg#36351`). - Updates CN-* and ST-SHARING rows in apps/native/parity/LEDGER.md. * fix(native): address PR #416 review findings across Access, Welcome, SSH, and clock sync Addresses all 6 review findings on PR #416: - Gate Connect approval toggle on managedTunnelActive (/api/connect/link-state) + advertised requireConnectDeviceApproval, gate T3 Connect devices on can_read && (requests || devices), watch server_config_extras/session_state for non-active targets, format device.approved_at as relative/date label, and cover cloud-connect ClientSession and Revoke others in approval-off confirmation. - Cache legacy-permission dismissal lookup in memory (HashMap<String, bool>) in ConnectView and AccessPageState so render() never reads disk per frame. - Port packages/shared/src/shell.ts pathSetup (fish_add_path --append --path for fish, omit macOS bash, safe-path check), run profile updates on background executor with exact line check, surface write errors, and refresh cli_status. - Guard Welcome AppEvent::Phase provider refresh + project scan on connection ID changes. - Preserve discovered SSH host target (hostname/username/port) in ConnectView::add_ssh_host and preserve subscribeServerConfig-scoped clock_sample in environments.rs. - Keep CN-REPAIR partial in apps/native/parity/LEDGER.md noting the remaining workspace.rs global toast gap.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.