1.7 KiB
1.7 KiB
Implemented workspace panel Orchestrator lifecycle.
Changes:
yoi panelnow ensures a workspace Orchestrator only in Ticket-enabled workspaces.- If
.yoi/ticket.config.tomlis absent, the panel skips Orchestrator lifecycle and remains Pod-centric. - Existing malformed/unusable Ticket config paths surface diagnostics instead of silently falling back to no-Ticket mode.
- Orchestrator Pod name is derived from the workspace directory using ASCII-safe normalization and the
-orchestratorsuffix, capped at 80 chars. - Already-live Orchestrator is reported as live.
- Restorable Orchestrator is restored through existing Pod restore semantics.
- Missing Orchestrator is spawned through the existing Ticket role launcher as
TicketRole::Orchestrator. - Lifecycle decisions use an exact-name authority path and do not depend on the capped UI
PodListrows. - Panel close does not stop the Orchestrator.
- Orchestrator is not selected as the default foreground target when it is the only row or when another Pod can be selected.
- Bounded lifecycle/config diagnostics are displayed in the panel.
Validation after merge:
cargo test -p tui workspace_panelcargo test -p tui multicargo test -p client ticket_rolecargo test -p yoi panelcargo check --workspace --all-targetscargo fmt --checkgit diff --check HEAD~1..HEADcargo build -p yoitarget/debug/yoi ticket doctornix build .#yoi --no-link --print-out-paths
External review approved after one requested-changes cycle.
Known follow-up:
- Layout/display tuning remains intentionally deferred until the first end-to-end panel flow exists.
- Composer target switching and Intake handoff are covered by follow-up child tickets.