cloudaxe-opencode/packages/opencode/test
Kit Langton f4cb3170d4 refactor(httpapi-exercise): migrate query-schema-drift scenarios into harness
Move the 8 standalone scenarios from
packages/opencode/test/server/httpapi-query-schema-drift.test.ts into
the route-coverage exerciser as `.viaSdk(...)` scenarios. Each one
exercises a routing-aware GET through the real SDK client wired to the
in-process router, so the SDK's auto-injected `?directory=...` /
`?workspace=...` query params hit the same typed schemas as in production.

Routes now covered by `.viaSdk(...)` scenarios in the exerciser:
  /session                          (session.list.via_sdk)
  /session/{sessionID}/message      (session.messages.via_sdk)
  /find/file                        (find.files.via_sdk)
  /find                             (find.text.via_sdk)
  /file/content                     (file.read.via_sdk)
  /experimental/session             (experimental.session.list.via_sdk)
  /experimental/tool                (experimental.tool.list.via_sdk)
  /vcs/diff                         (vcs.diff.via_sdk)

Standalone httpapi-query-schema-drift.test.ts deleted — its coverage
now lives in the harness alongside every other route test, single
source of truth.

149/149 scenarios pass after migration (139 existing + 2 from
proof-of-concept #26604 + 8 migrated here).
2026-05-09 20:27:14 -04:00
..
account refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
acp ignore: fix typerrs on dev (#26544) 2026-05-09 12:08:00 -05:00
agent fix(task): subagent inherits parent agent's deny rules (Plan Mode security bypass) (#26597) 2026-05-09 23:51:55 +00:00
auth core: move cross-spawn-spawner to root and remove unused types 2026-04-25 14:30:16 -04:00
bus Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
cli chore: generate 2026-05-09 22:47:54 +00:00
config flatten to keybind compatible config (#26421) 2026-05-09 01:29:13 +02:00
control-plane research: delete Hono backend (do not merge) (#25667) 2026-05-09 13:10:42 +00:00
effect fix(instance): run bootstrap from instance store (#25475) 2026-05-02 19:33:38 -04:00
fake refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
file Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
filesystem refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
fixture test(server): expand workspace routing fixed-id coverage (#26458) 2026-05-09 00:00:18 -04:00
format core: move cross-spawn-spawner to root and remove unused types 2026-04-25 14:30:16 -04:00
git fix(vcs): avoid unbounded diff memory usage (#25581) 2026-05-03 17:49:46 +05:30
ide
installation Refactor npm config handling (#24565) 2026-04-27 03:54:59 +00:00
lib chore: generate 2026-05-03 00:32:24 +00:00
lsp Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
mcp Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
memory
patch
permission Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
plugin feat(core): copy file changes when warping (#26190) 2026-05-07 10:24:17 -04:00
project research: delete Hono backend (do not merge) (#25667) 2026-05-09 13:10:42 +00:00
provider refactor(provider): share model status schema (#26595) 2026-05-09 19:20:31 -04:00
pty chore: generate 2026-05-04 02:57:18 +00:00
question Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
server refactor(httpapi-exercise): migrate query-schema-drift scenarios into harness 2026-05-09 20:27:14 -04:00
session fix(session): accept legacy summary diffs (#26579) 2026-05-09 16:44:24 -04:00
share refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
shell refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
skill fix(skill): allow missing descriptions (#26391) 2026-05-08 18:50:06 +00:00
snapshot Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
storage fix(storage): default workspace time migration (#26556) 2026-05-09 14:18:55 -04:00
sync feat(core): session warping (#25768) 2026-05-04 21:28:38 -04:00
tool fix(tool/read): match permission patterns against worktree-relative path 2026-05-09 18:46:29 -04:00
util Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
v2 Improve v2 session message rendering (#25634) 2026-05-05 02:35:21 +00:00
AGENTS.md chore: generate 2026-05-09 04:06:08 +00:00
permission-task.test.ts Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
preload.ts Refactor v2 session events as schemas (#24512) 2026-05-02 22:09:48 -04:00