Skip to content

Desktop: side conversation fails to open during the main session's first turn #4507

Closed

Description

@liuxiaocs7

What happened

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

  1. In Maka Desktop, open (or create) a session and send the first message to start turn 1.
  2. While the assistant is still generating that first turn (it has not completed yet), open the side conversation panel from the workbar.
  3. Observe the red banner "无法创建侧边对话,请稍后重试。" and a side chat that cannot be used until turn 1 finishes.
Image

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

  1. liuxiaocs7 commented on Sep 1, 2026

    @liuxiaocs7
    MemberAuthor

    take

  2. added 19 commits that reference this issue on Sep 2, 2026
    658b3d1
    9d0d862
    54a2c29
    a98f577
    7e516f9
    b788d1a
    c181360
    3ed777d
    f37b567
    5bedf1a
    4dd22a0
    d1f5b17
    83bbebe
    e7ab53b
    5be48e3
    e3ebd40
    b661209
    cc89a90
    610e9ed
  3. added a commit that references this issue on Sep 3, 2026
    4019fc5
  4. added a commit that references this issue on Sep 4, 2026
    c4693af
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions