Skip to content

High-frequency terminal title updates cause sidebar CPU thrash; no user-configurable coalescing window #22

Description

@arzafran

Tracking upstream cmux manaflow-ai#6599 — applicable to our fork but needs a product/scope decision.

Assessment: The 33ms coalescer (TabManager.swift:852) is already in place and mitigates the worst case, but $title is not in the debounced sidebarObservationPublisher (Workspace.swift:6649-6675) — it fires via the immediate publisher on every flush. A user-facing config knob (e.g. terminal.titleUpdates.coalescing.milliseconds) does not exist. Whether the current 33ms is sufficient for all workloads (shell prompts with clock, tmux status bar) needs a product call before adding config surface.

Upstream: manaflow-ai#6599

Metadata

Metadata

Assignees

No one assigned

    Labels

    deferredDecision made: backlog, no work scheduled nowenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions