You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop: side conversation fails to open during the main session's first turn #4507
In Maka Desktop, opening a side conversation (the quote-companion side chat) while the main session's first turn is still running fails immediately with the error banner "无法创建侧边对话,请稍后重试。" (Could not open the side chat). The side chat stays unusable — and does not recover on its own — until the main session's first turn completes.
Root cause: the side chat forks the main session from its latest completed turn (latestSettledTurnId). During the very first turn there is no completed turn yet, so ensureCompanionFork returns fork_setup_failed. The panel also forks eagerly at mount, so the error appears the instant the panel opens.
Expected: the side conversation opens and is usable regardless of the main session's turn state.
How to reproduce
In Maka Desktop, open (or create) a session and send the first message to start turn 1.
While the assistant is still generating that first turn (it has not completed yet), open the side conversation panel from the workbar.
Observe the red banner "无法创建侧边对话,请稍后重试。" and a side chat that cannot be used until turn 1 finishes.
Environment
Maka version or commit: built from source, main
OS and version: macOS (Darwin 24.6)
Surface: Desktop
Node.js version, if running from source: repo toolchain
Logs, screenshots, or additional context
The side panel's composer is disabled during the failed eager fork, so there is no way to start the side chat until the main turn settles.
Activity
liuxiaocs7 commentedon Sep 1, 2026
take
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn
fix(desktop): open side conversations without a settled turn (#4508)
fix(desktop): open side conversations without a settled turn (apache#…