cloudaxe-opencode/packages/opencode/test/fixture
Kit Langton 4c52af2a65 test: add reproducer for write tool hanging on slow LSP initialize (#22872)
Adds a failing regression test that reproduces the write tool hang
reported in #22872. The write tool calls lsp.touchFile + lsp.diagnostics
to enrich its output; if a matching LSP server spawns but never responds
to the initialize request, the tool blocks on LSPClient.create's 45s
withTimeout.

The test configures a fake LSP server (hanging-lsp-server.js) that
swallows every message and never replies, asserts the file is still
written correctly, and checks the tool returns within 10s. On dev today
the assertion fails with ~45s actual, proving the hang. The fix should
make this green by bounding the diagnostic-enrichment tail.
2026-04-16 15:50:06 -04:00
..
lsp test: add reproducer for write tool hanging on slow LSP initialize (#22872) 2026-04-16 15:50:06 -04:00
skills chore: generate 2026-02-19 20:12:16 +00:00
db.ts feat: unwrap storage namespaces to flat exports + barrel (#22747) 2026-04-15 23:30:49 -04:00
fixture.test.ts fix(git): stop leaking fsmonitor daemons e.g. 60GB+ of commited memory after running tests (#16249) 2026-03-06 15:42:08 +10:00
fixture.ts feat: unwrap Config namespace to flat exports + barrel (#22689) 2026-04-15 21:26:24 -04:00
flock-worker.ts migrate: move flock and hash utilities to shared package (#22640) 2026-04-15 15:50:24 +00:00
plug-worker.ts feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
plugin-meta-worker.ts fix: remove 10 unused type-only imports and declarations (#22696) 2026-04-16 02:17:59 +00:00
tui-plugin.ts rector(core,tui): handle workspace state in project context, add workspace status, improve ui (#21896) 2026-04-10 13:03:20 -04:00
tui-runtime.ts CLI perf: reduce deps (#22652) 2026-04-16 02:03:03 -04:00