Skip to content

WorkspaceBuilder: make pane readiness configurable #1061

Description

@tony

Summary

Make pane readiness behavior configurable independently from builder selection, so users can choose compatibility or speed without swapping the entire workspace builder.

Related: #1053, #1056, #1058.

Proposed behavior

  • Add a pane_readiness configuration policy that can be used by the classic builder and future builders.
  • Preserve the current safe behavior by default unless a compatibility decision changes it deliberately.
  • Support an auto mode that enables readiness waiting where tmuxp knows it matters, especially zsh prompt redraw safety.
  • Support an always mode for users who want the safest prompt/layout behavior.
  • Support a never mode for users who prefer speed and accept prompt/layout race risk.
  • Keep this policy separate from parallel builder work so users can tune readiness without opting into relaxed build ordering.

Example shape:

pane_readiness: auto

Acceptance criteria

  • The default preserves existing workspace behavior.
  • Tests cover auto, always, and never behavior for default-shell panes and custom shell/window shell cases.
  • Documentation explains the zsh prompt-readiness motivation and the speed/compatibility tradeoff.
  • The option remains usable with the classic builder even before a parallel builder exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    WorkspaceBuilderenhancementneed-commentsInvitation for contributors and users to provide feedback on issue, for further consideration.

    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