Skip to content

Op::SendMessage god-payload → TurnSpec, and prove the UI never awaits send() on the input path #6150

Description

@Hmbown

From the 0.9.14 refactor backlog.

Op::SendMessage (ops.rs ~109+) carries ~20 fields incl. Box<ResolvedRuntimeRoute>, Box<CompactionConfig>, hook executor, provenance. Extract struct TurnSpec so new per-turn authority fields stop accreting into the enum arm; every ACP/app-server fix (#6088, app-server client issue) touches this anyway.

Also: ENGINE_OP_CHANNEL_CAPACITY = 32 (engine.rs ~90). If anything on the poll thread send().awaits into a full op channel, input wedges while the engine is mid-turn. handle.rs exposes async send — trace the call chain from the event loop. If it is already try_send + error toast, close this half with a comment.

Size: S + investigation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    rustPull requests that update rust codetuiTerminal UI behavior, rendering, or interaction

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions