opencode/packages
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
..
app app: start migrating bootstrap data fetching to TanStack Query (#22756) 2026-04-16 06:10:23 +00:00
console Fix desktop download asset names for beta channel (#22766) 2026-04-16 06:10:03 +00:00
containers chore: bump Bun to 1.3.11 (#18144) 2026-03-23 10:19:21 +10:00
desktop feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741) 2026-04-15 23:27:32 -04:00
desktop-electron beta badge for desktop app (#14471) 2026-04-16 06:03:41 +00:00
docs
enterprise feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741) 2026-04-15 23:27:32 -04:00
extensions/zed release: v1.4.6 2026-04-15 07:26:23 +00:00
function feat: enable oxlint suspicious category, fix 24 violations (#22727) 2026-04-16 02:53:10 +00:00
identity
opencode test: add reproducer for write tool hanging on slow LSP initialize (#22872) 2026-04-16 15:50:06 -04:00
plugin fix: remove 10 unused type-only imports and declarations (#22696) 2026-04-16 02:17:59 +00:00
script refactor: replace bun semver with npm semver package 2026-03-09 15:29:55 -04:00
sdk chore: generate 2026-04-16 07:15:05 +00:00
shared fix: add missing glob dependency (#22851) 2026-04-16 13:21:04 -05:00
slack feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741) 2026-04-15 23:27:32 -04:00
storybook feat: enable type-aware no-base-to-string rule, fix 56 violations (#22750) 2026-04-16 03:50:47 +00:00
ui fix: clean up final 16 no-unused-vars warnings (#22751) 2026-04-16 03:54:21 +00:00
web zen: opus 4.7 2026-04-16 11:32:56 -04:00