cloudaxe-opencode/packages/opencode/test
Simon Klee 4a608b2026
snapshot: fix cwd for git commands in subdirs
When opencode is launched from a git repository subdirectory,
the snapshot service passes file paths relative to the worktree
root but sets cwd to the launch directory. Git cannot resolve
the paths and fails with "did not match any files".

Use the worktree root as cwd so paths resolve correctly
regardless of which subdirectory opencode is started from.

Fix #27688
Close #27737
2026-05-18 09:58:08 +02:00
..
account
acp chore: generate 2026-05-14 23:34:42 +00:00
agent refactor(flags): route scout through runtime flags (#27318) 2026-05-13 17:07:53 +05:30
auth
background
bus test(bus): fix flaky subscriber races with readiness latch (#27625) 2026-05-14 19:32:25 -04:00
cli dialog prompt submit keybind + opentui event sink (#27945) 2026-05-18 00:23:19 +02:00
config dialog prompt submit keybind + opentui event sink (#27945) 2026-05-18 00:23:19 +02:00
control-plane refactor(instance): remove legacy runtime fallback (#27757) 2026-05-15 23:05:44 +05:30
effect chore: generate 2026-05-15 19:48:45 +00:00
fake
file chore: generate 2026-05-15 07:36:10 +00:00
filesystem
fixture refactor(instance): retire WithInstance adapter (#27782) 2026-05-16 01:30:07 +05:30
format test(format): remove formatter check sleeps (#27407) 2026-05-13 21:02:34 -04:00
git
ide
image fix: image resizer wasm loading, reenable image resizing (#26805) 2026-05-13 23:06:07 -05:00
installation effect(installation): migrate to AppProcess.run (#27188) 2026-05-13 11:54:29 -04:00
lib test(lib): promote pollWithTimeout/awaitWithTimeout helpers (#27626) 2026-05-14 23:45:32 +00:00
lsp fix(lsp): preserve instance ref for update events (#28016) 2026-05-17 16:37:00 +05:30
mcp test(lib): promote pollWithTimeout/awaitWithTimeout helpers (#27626) 2026-05-14 23:45:32 +00:00
patch effect(patch,tool): migrate patch/index and tool/read to AppFileSystem (#27155) 2026-05-13 20:32:19 -04:00
permission chore: generate 2026-05-13 02:08:16 +00:00
plugin refactor(instance): remove legacy runtime fallback (#27757) 2026-05-15 23:05:44 +05:30
project refactor(instance): remove legacy runtime fallback (#27757) 2026-05-15 23:05:44 +05:30
provider Load models.dev snapshot from build global (#28077) 2026-05-17 21:59:44 -04:00
pty test(pty): migrate output isolation to Effect runner (#27235) 2026-05-13 03:25:52 +00:00
question refactor(instance): remove legacy runtime fallback (#27757) 2026-05-15 23:05:44 +05:30
reference refactor(flags): route scout through runtime flags (#27318) 2026-05-13 17:07:53 +05:30
server fix(tui): show config error details on startup (#27803) 2026-05-15 20:42:56 -04:00
session Load models.dev snapshot from build global (#28077) 2026-05-17 21:59:44 -04:00
share
shell
skill refactor(flags): migrate external skills flag (#27685) 2026-05-15 13:24:56 +05:30
snapshot snapshot: fix cwd for git commands in subdirs 2026-05-18 09:58:08 +02:00
storage refactor(flags): migrate skip migrations flag (#27705) 2026-05-15 14:54:29 +05:30
sync fix(sync): publish events on injected project bus (#27825) 2026-05-16 05:56:49 +00:00
tool fix read stream byte cap 2026-05-16 09:20:35 -04:00
util fix keymap fallback priority and TUI config diagnostics (#27384) 2026-05-13 23:00:48 +02:00
v2 Add Effect-native core event system (#27415) 2026-05-15 00:50:23 +00:00
AGENTS.md refactor(instance): remove legacy runtime fallback (#27757) 2026-05-15 23:05:44 +05:30
EFFECT_TEST_MIGRATION.md refactor(instance): retire WithInstance adapter (#27782) 2026-05-16 01:30:07 +05:30
permission-task.test.ts test: migrate permission task config tests (#27343) 2026-05-13 14:56:26 +00:00
preload.ts refactor(flags): route session workspaces through runtime flags (#27335) 2026-05-13 20:14:40 +05:30