GitHub issue #15484 in cline/cline, created 2026-11-01 by morganlaplonge and titled "Plugin initialize times out at 34000ms in Cline Desktop, only for plugins that import runtime values from @cline/core", reports that on Cline Desktop, 6 of 9 installed plugins fail on a fresh boot with a plugin-worker call timing out after 34000ms on initialize, and their tools and hooks are unavailable. The failing set is stable across boots and splits exactly by import style: every plugin that imports a runtime value from `@cline/core` or `@cline/sdk` times out, and every plugin that only uses `import type` loads fine. The same install sometimes initializes all nine on the next launch, so this is a budget race rather than a hard failure, and a plugin that loses the race stays failed for the daemon's whole lifetime. The environment is Cline Desktop 0.0.49-1 (Arch package cline-desktop), Linux/Wayland, 12 cores, 31 GB RAM, Node v26.4.0; the desktop bundle carries `@cline/core` 0.2.0, while `npm i -g cline` installed 3.0.71 on 2026-10-14, which carries `@cline/core` 0.0.93 and `@cline/sdk` 0.0.93; the log `~/.cline/data/logs/hub-daemon.log` shows 30 occurrences of `timed out after 34000ms` in one day. The report explains the 34000ms number as arithmetic, not a default: this machine sets `CLINE_PLUGIN_IMPORT_TIMEOUT_MS=30000` in the launcher (a workaround for the bootstrap problem in #14695, plus the 4s default from #11065 / #11084), so the ceiling is 30000 plus 4000. The six plugins that import runtime values are agents-squad (declares `portable-subagents`), background-terminal, goal, nanobanana, typescript-lsp, and web-search; the three that only use `import type` and load fine are agent-browser, branch-protector, and env-blocker. Init is not retried: after the 21:32 timeout, the next `session.create` at 21:36 returned the same six failures in 1337 ms with no further import attempt, so one lost race costs every plugin tool, command, hook, and rule for the rest of the session and only restarting the app retries. The ask is to add the worker's `@cline/core` build version to the host/worker handshake and fail with a clear error on skew instead of letting it present as an initialize timeout, to retry a failed plugin init once on the next `session.create` instead of caching the failure for the daemon's lifetime, to expose `CLINE_PLUGIN_SETUP_TIMEOUT_MS` and report the split (import vs setup) in the timeout message, and to include the runtime directory's plugin-sandbox-bootstrap.js in the sibling candidate list so the desktop bundle uses its own bootstrap rather than one resolved through `CLINE_WRAPPER_PATH`. Related: #14695 (bootstrap not shipped, open), #11944 (VS Code, open), #11065 / #11084 (`CLINE_PLUGIN_IMPORT_TIMEOUT_MS` env override, merged).
Verbatim Excerpts from Cited Records
“21:31 boot: `session.create` reported 6 plugins as `failed` with `phase: "import"`, all six timeouts logged within 8 ms of each other”
·
cline/cline (issue 15484 opening body, Race evidence section)
·
2026-11-01T21:46:59Z
·GitHub Issue ↗
“The failing set is stable across boots and splits exactly by import style: every plugin that imports a runtime value from `@cline/core` or `@cline/sdk` times out, and every plugin that only uses `import type` loads fine.”
“The same install sometimes initializes all nine on the next launch, so this is a budget race rather than a hard failure, and a plugin that loses the race stays failed for the daemon's whole lifetime.”
“Init is not retried. After the 21:32 timeout, the next `session.create` at 21:36 returned the same six failures in 1337 ms with no further import attempt:”
·
cline/cline (issue 15484 opening body, A failed plugin stays failed section)
·
2026-11-01T21:46:59Z
·GitHub Issue ↗
Counter-record: Issue remains open as of 2026-11-28 (last updated 2026-11-28T18:29:30Z). 2 comments read in total. linear-code[bot] (2026-11-01) linked the report to CLINE-3720. ryanlo713 (2026-11-28) added a Windows data point: the failure reproduces with no build skew (Desktop 0.0.51 plus bundled CLI 3.0.76 plus @cline/core 0.2.2 in bin/desktop-backend/plugin-runtime), and switching the transport fixes it: on the default worker transport, goal, agents-squad (declares portable-subagents), and background-terminal time out with plugin-worker call timed out after 8000ms on initialize; with CLINE_PLUGIN_IMPORT_TIMEOUT_MS=30000 (the same 30000 plus 4000 equals 34000 ceiling as the report) the same three plugins still time out, 0 ready, so the budget is not the limiting factor on that machine; with CLINE_PLUGIN_MODE=sandbox, plugins.commands.list returns durationMs 20834, ok:true, zero plugin.error, and cline-cli.exe --plugin-sandbox with the bootstrap stays resident and is reused; while the worker path was failing, the hub burned about 48 percent of one core for the whole import window and its event loop was blocked (settings.list command.late_end 39787, 44821, and 50922 ms), so the app appears hung before it reports the failures; the failing set matches the report's imports-runtime-values table exactly; ryanlo713 filed the Windows write-up with repro steps and suggested fixes as #15895. No maintainer response appears in the surveyed thread. The claim documents only the original report, not a verified current state.
Falsification probe: If GitHub issue #15484 is closed as fixed, as a duplicate, or as not planned, if the author edits the opening body so the quoted sentences no longer match verbatim, or if the author posts a retraction of the report, this claim drops to Withdrawn.
Audit verification: Verified 100% continuous verbatim substring against official GitHub REST API by
scripts/verify_claim_verbatim.py.