Skip to content

Improve env up/halt live status rendering and gate visibility #152

@giubacc

Description

@giubacc

Problem

Environment lifecycle status output can be clearer and more scalable:

  1. up env and halt env should provide consistent live progress behavior.
  2. Gate visibility does not scale well when many probes are required.
  3. It’s not always obvious when gates are pending, passed, or failed.

Proposal

  1. Use one shared live wait/render flow for both up env and halt env.
  2. Add a compact first Gates column with glyphs only (one glyph per required gate).
  3. Add optional detailed probe-gate names in a last column when --details is enabled.
  4. Sort probe names alphabetically in details view.
  5. Color gate states live:
    • pending: dim
    • pass: green
    • fail: red
  6. Keep non-terminal mode deterministic (no hanging loops).

Acceptance criteria

  1. up env and halt env both show live progress tables.
  2. Gates are visible in compact form and update live.
  3. --details shows sorted probe names with live status colors.
  4. Behavior is stable in both terminal and non-terminal runs.
  5. Tests and type checks pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    In Progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions