opencode/packages/cli/test
Simon Klee dccc014c3a
fix(client): close gaps found reviewing the Session family work
Learn the family route's absence per connection where the data layer
already invalidates on disconnect. server.connected is delivered after
the connection reports connected, so route effects started family reads
before the old reset and kept using the fallback after reconnecting to
an upgraded server.

Key family membership by the client's own root. The server roots a
family whose top names a missing parent at the top, while resolveRoot
walks to the missing ID, so such a family read showed no members and
dropped its journaled events.

A fallback read invalidated in flight no longer starts member reads that
could complete with pre-reconnect data. Metadata updates and permission
replies now go through the journal, so an in-flight read cannot undo
them, and metadata updates raise time.updated like the projector does.

Test fixtures drop status values that were only needed while status was
required, and the TUI fixture's family route now roots orphan families
and forwards failed sub-reads as the real server does. The spec states
what is implemented and what is still to do.
2026-11-12 19:10:14 +01:00
..
acp fix(client): close gaps found reviewing the Session family work 2026-11-12 19:10:14 +01:00
fixture fix(cli): update npm installs through their own prefix (#63152) 2026-11-10 19:28:18 -06:00
run feat(core): always run subagents in the background (#63382) 2026-11-11 14:49:51 -05:00
app-archive.test.ts fix(cli): embed the web UI as raw bytes instead of base64 strings (#53643) 2026-10-07 11:35:19 +10:00
auth-form.test.ts feat(cli): support custom Console logins (#49542) 2026-09-17 13:50:32 +02:00
auth-login-choices.test.ts feat(cli): share grouped auth picker with MCP auth (#51006) 2026-09-26 11:42:04 +02:00
auth.test.ts refactor: v2.1 minor breaking changes (#57260) 2026-10-20 00:42:13 -05:00
config.test.ts feat(tui): add automatic tabs mode (#50456) 2026-09-22 01:00:26 +00:00
cors.test.ts chore: upgrade Effect to rc.118 (#50231) 2026-10-09 01:36:06 -07:00
cpu-profile.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
debug-config.test.ts fix(cli): redact credentials in debug config (#50957) 2026-09-23 14:04:22 -05:00
debug-heap-dump.test.ts feat(desktop): capture app and server heap snapshots into one folder (#58259) 2026-10-23 10:25:37 +10:00
debug-paths.test.ts feat(cli): restore debug paths command (#45063) 2026-08-25 23:01:43 +02:00
env.test.ts feat(tui): inherit terminal environment per session (#42957) 2026-08-17 20:18:28 +00:00
flag.test.ts test(cli): expect repeated optional-value flags to be rejected (#60786) 2026-10-30 22:51:00 -05:00
import-boundaries.test.ts fix(cli): rewrite noninteractive run and remove the V1 bridge (#61911) 2026-11-05 17:58:28 -06:00
import-export.test.ts refactor: v2.1 minor breaking changes (#57260) 2026-10-20 00:42:13 -05:00
mcp-auth-choices.test.ts feat(cli): share grouped auth picker with MCP auth (#51006) 2026-09-26 11:42:04 +02:00
mini-config.test.ts fix(cli): accept --server and --standalone in any position (#58505) 2026-10-23 10:43:38 -07:00
mini-host.test.ts mini v2 v2 (#46410) 2026-08-31 22:03:27 +02:00
mini-timeout.test.ts fix(cli): keep mini session waits alive (#50248) 2026-10-19 13:13:58 -04:00
mini.test.ts fix(cli): report run server connection errors as JSON (#59366) 2026-10-26 14:03:06 -05:00
node-assets.test.ts refactor(core): finish moving shell permission checks off tree-sitter (#60332) 2026-10-29 12:30:10 -07:00
pair-remote-consent.test.ts feat(cli): ask before pair --remote first exposes the server (#54561) 2026-10-11 18:28:16 +00:00
plugin-add.test.ts fix(cli): let plugin add install GUI-only packages (#59492) 2026-10-27 03:42:32 +00:00
prompt-open-url.test.ts fix(cli): don't crash auth login when no browser opener is available (#56082) 2026-10-16 13:42:50 +00:00
retained-image.test.ts feat(cli): publish and upgrade official WinGet packages (#54808) 2026-10-13 01:03:35 +02:00
server-connection.test.ts fix(cli): stop opencode run from leaving a background service running (#61564) 2026-11-04 00:05:12 -06:00
service-lifecycle.test.ts fix(cli): keep the service's XDG_STATE_HOME out of tool shells and name the port owner (#58815) 2026-10-25 07:15:19 -07:00
service.test.ts fix(cli): put dev builds back on the shared service and database (#59631) 2026-10-27 10:14:15 -04:00
session-target.test.ts fix(client): close gaps found reviewing the Session family work 2026-11-12 19:10:14 +01:00
shutdown-deadline.test.ts test: deflake shutdown-deadline cleanup and PowerShell permission timeout (#59667) 2026-10-27 12:21:31 -05:00
standalone.test.ts test: fix Windows flakes in cli standalone, Storybook and snapshot tests (#56181) 2026-10-16 18:24:02 +02:00
stats.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
updater-install.test.ts fix(cli): update npm installs through their own prefix (#63152) 2026-11-10 19:28:18 -06:00
upgrade.test.ts fix(cli): support Homebrew Core upgrades (#52753) 2026-10-02 20:27:14 +05:30
vite-refresh.test.ts fix(cli): recover dev hot reloads and preserve routes (#47979) 2026-09-08 11:19:51 -04:00
vite-route.test.tsx fix(cli): recover dev hot reloads and preserve routes (#47979) 2026-09-08 11:19:51 -04:00
web-ui.test.ts fix(cli): allow blob frames and objects in web UI CSP (#60453) 2026-10-30 14:06:15 +10:00