Repository navigation
fix(connect): say when the SSH tab's list is withheld from this window - #3517
Conversation
The server keeps the SSH tab's list (this PC's ssh config hosts and Tailscale PCs) from a device on the relay, a Portal visitor and an open LAN window (owner_only). The tab then showed the address field alone with no word, which in the native app read as a PC that knows no other PC, or as a failure. One line above the field now says this connection does not list them and to type the PC's address. A watching device (read_only), which adds no PC, is shown nothing new. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
|
Merge pass: parked at f4b25c4. Both reviewers (a fresh Claude agent and Codex Terra through the team proxy) found the same thing, and I confirmed it in the code. HIGH: the new line cannot show in the cases the PR names.
MEDIUM: in the open LAN window the line gives an instruction the server refuses. It says to type the address, and LOW: the line can sit under rows of PCs saved in herdr and contradict them; the ko and zh strings say "saved SSH connections" where en and ja say the PCs this PC knows. What is needed is a decision, not a patch on top: either find where the empty tab was really seen in the native app and fix that, offer the SSH tab on the relay (a change to the tab rule, tested through |
Release PR for 0.5.2 (docs/development.md#releasing). ## What it does - `package.json` and `herdr-plugin.toml`: 0.5.1 → 0.5.2. - `CHANGELOG.md`: `bun scripts/changelog-fold.ts 0.5.2` moved the Unreleased notes and 83 fragments under `## [0.5.2] - 2026-11-10` and deleted the fragments; `by @login` added for the 13 PRs from outside contributors. - `release-summaries.json`: 0.5.2 in en, ko, ja and zh, five lines each under new, improved and fixed. - `shared/machines.ts`: `REMOTE_BUNDLE_VERSION` 43 → 44, as the release guards asked (the remote bundle's inputs changed since `remote-v43`). ## Not in this release - The production relay stays `off`. Turning it to `grace` waits for the production account service to issue relay passes (`account.ovis.sh/v1/relay-pass/keys` answers 404 today). - Parked PRs (#3517, #3442, #3472, #3289, #3281, #3338 to #3341 and the conflicting ones) move to 0.5.3. ## After the merge 1. Push the tag `remote-v44` on the merged commit and wait for **Remote PC bundles** to publish it. 2. Merge nothing that touches `server/`, `shared/`, `bun.lock` or `patches/` until the Release run is done. 3. `gh workflow run release.yml --ref main -f version=0.5.2`. ## Validation - `bun scripts/release-guards.ts`: "Release 0.5.2: remote bundle, telemetry Worker and release metadata are in order." - `bun run check fast`: pass (unit 14394 pass, 0 fail). - Skipped: `bun run check full`, browser regressions (this PR's CI and the Release run cover them). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Fable 5.2 <[email protected]>
…the open LAN window that reaches it
Deploying ovis with
|
| Latest commit: |
cd91118
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://04bb7394.ovis.pages.dev |
| Branch Preview URL: | https://fix-ssh-tab-refused-notice.ovis.pages.dev |
Merge passMerged head
Two reviewers at this head: Claude (Opus) CLEAR with no findings, Codex Terra CLEAR with no findings. The owner allowed the change on 2026-11-11 (relayed by the lead). The earlier head ( CodeRabbit did not review this head. Reports: |
… so herdr keeps their state reports (#3644) ## Change Since #3624, `server/pending-input.contract.test.ts` fails often on PR runs (#3517, #3639, #3551 each needed a rerun). The failure is an omp case of "delivers queued $text as $expected to $agent" at about 8.6 to 8.9 s ("queued command was not recorded", then "pending frame timeout" in `state("idle")`), and once, the hookless-process test after it. The cause is the test setup #3624 added, not the queue's wait for a starting omp. For every omp stand-in, setup reported a `herdr:omp` session (so a send would not wait for an omp that loads the integration on a PC where it is installed). After that report, herdr drops the manual `pane.report_agent` state report that `state("idle")` makes about half the time. The pane stays `working`, the queue never sees its turn end, and the queued message is never typed. Measured on the isolated test herdr (a stand-in reported `working`, the session report or not, then `idle`; the status read for a second after): | stand-in | pane still `working` after `idle` | |---|---| | omp, with the `herdr:omp` session report | 7 of 15 | | omp, without it | 0 of 15 | | claude | 0 of 15 | Fix: setup's omp stand-ins (other than the two omp-start tests', which load the integration with `-e`) start with `--no-extensions`. The bridge sees an omp that loads no integration, also on a PC where it is installed, so no send waits for a report, and no session is reported. The omp-start tests report their state before their session, and are unchanged. The hookless-process test that failed after the omp case did not fail in any run here once the omp case passed. Not proven beyond that. Test-only change. ## Validation - Before (main `dd21d2155` test file): `bun run check run bun test --timeout 30000 ./server/pending-input.contract.test.ts -t "connection-owned pending input"`, 6 runs: 2 failed, each with an omp case at about 8.6 to 9 s and one #540 neighbour. - After: the same, 6 runs: 81 pass, 0 fail in each. - The whole `server/pending-input.contract.test.ts`: 125 pass, 0 fail. - `bun run check fast`: passed (unit 15,982 pass, 0 fail; typecheck and build ok).
What
Add a connection → SSH lists the PCs this PC knows: its ssh config hosts and its Tailscale login's PCs. The server keeps that list (
owner_only) from an open LAN window, a Portal visitor and a device on the relay. Of those, only the open LAN window shows the SSH tab: the relay shell and a Portal visitor (read only) show no SSH tab (ConnectPhoneDialog.tsx,sshOffered). There the tab showed the address field alone, with no word, which reads as a PC that knows no other PC.Change
SshTab(src/components/ConnectPhoneDialog.tsx): when the list is refused asowner_only, one hint line above the field says where the list can be seen: "See the PCs this PC knows on this PC itself, or from a device paired with it directly." These are the server's own words for that refusal (server/dispatch.ts). Translated in en, ko, ja and zh.POST /api/machines/setupanswers 403 for it).read_only) adds no PC, so it is shown nothing new. A list that fails for any other reason keeps its own "could not be read" + Try again.docs/remote-pcs.mdand the changelog fragment name the open LAN window as the one window that shows the line.The owner OK'd the line on 2026-11-11, after seeing a before/after picture of it.
Merge pass findings on f4b25c4, and how each was resolved
Validation
bun run check fastat cd91118, with origin/main merged in (ed8c329): green (typecheck, build, unit tests).src/components/ConnectPhoneDialog.test.tsx: the test forowner_only(the line shown, with the server's words),read_only(no line) and an answered list (no line) failed on the old wording first. It passes with this change, together with the i18n, changelog and conventions tests (143 pass).check full, and a look at the line in an open LAN window by hand.