Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
priority/p2-mediumPriority P2: standard workscope/cliCore CLI framework, Typer subcommands, options, and tablestype/featureType feature: a new function
Description
Context & Rationale
Comprehensive workstation container and sandbox observability hub.
Scope & Deliverables
- Context & Rationale*: Comprehensive workstation container and sandbox observability hub.
- Multi-Tier Sandbox Inspector*: Dedicated view of running Docker and Kubernetes sandboxes (
devops sandbox status) showing active network modes (isolated,sandbox_namespace,public_whitelist,local_whitelist), cgroup resource limits, and health probe states. - Container Performance Metrics*: Live CPU %, memory RSS vs limit, block I/O, and network throughput sparklines.
- Interactive Sandbox Controls*: Terminate sandbox (
k), stream sandbox diagnostic logs (l), trigger dynamic health probe (p), or prune dangling volumes and images.
Update 2026-10-08: refinement
The Docker tab exists (ui/widgets.py:379), and docker/engine.py:55-120 computes the metrics the table omits. Left: a sandbox view, per-container metrics, the k, l and p controls (l is the Logs tab, ui/dashboard.py:180) and prune via #1116. #1108 moves the tab onto DockerEngineService. Criteria are still needed before Ready.
Proposed design
Problem statement
The devops-cli needs a Docker tab in the dashboard for observing running containers and sandboxes. It must show multi-tier sandbox info, live performance metrics, and interactive controls.
Acceptance criteria
- Criterion 1: A new 'tab-docker' is added to the CLI dashboard that provides a comprehensive view of running Docker containers and sandboxes
Verification: The CLI commanddevops dashboardlaunches a TUI with a new 'Docker' tab showing container and sandbox information - Criterion 2: Multi-tier sandbox inspector shows active network modes, cgroup resource limits, and health probe states
Verification: Runningdevops sandbox statusor viewing the Docker tab in the dashboard displays active network modes (isolated, sandbox_namespace, public_whitelist, local_whitelist), cgroup resource limits, and health probe states for each sandbox - Criterion 3: Container performance metrics are displayed as live sparklines showing CPU %, memory RSS vs limit, block I/O, and network throughput
Verification: The Docker tab in the dashboard shows live sparkline visualizations of CPU usage, memory consumption, block I/O operations, and network throughput for each container - Criterion 4: Interactive sandbox controls are implemented with key bindings for terminating sandboxes, streaming diagnostic logs, triggering health probes, and pruning dangling volumes and images
Verification: In the Docker tab, pressing 'k' terminates a sandbox, 'l' streams diagnostic logs, 'p' triggers dynamic health probe, and the prune function removes dangling volumes and images
Key questions
- What are the specific network modes that need to be displayed?: The network modes that need to be shown are 'isolated', 'sandbox_namespace', 'public_whitelist', and 'local_whitelist'. [sources: docs/CLI_REFERENCE.md:1593, docs/CLI_REFERENCE.md:1594]
Open questions
- What performance metrics should be included in the container view? (missing verified source)
- What interactive controls are required for the sandbox management? (missing verified source)
- What is the current state of the Docker tab implementation? (missing verified source)
- How does the Docker tab relate to the
DockerEngineService? (missing verified source)
Fit
Needs splitting into 4 items:
- Implement the Docker tab in the CLI dashboard UI
- Add multi-tier sandbox inspector with network modes, cgroup limits, and health probe states
- Integrate live container performance metrics (CPU, memory, I/O, network) as sparklines
- Implement interactive controls for sandbox management (terminate, log streaming, health probes, prune)
Suspected block
None.
Dependencies
Metadata
Metadata
Assignees
Labels
priority/p2-mediumPriority P2: standard workscope/cliCore CLI framework, Typer subcommands, options, and tablestype/featureType feature: a new function
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Sep 30, 2026
Moved from v0.2.25 to v0.2.26. v0.2.25 is capped at 12 items (#740): it keeps #739-#742, their dependency #704, and the oldest P1 items. This P1 item is next in line.
dan-petty commentedon Oct 2, 2026
Grooming (2026-10-02): Priority p1-high → p2-medium, by the owner's decision. This is a feature with no defect behind it, and it is still a one-paragraph description with no acceptance criteria. That matches #685, the refined sibling tab, which is already P2. It stays in the backlog until it is refined.
dan-petty commentedon Oct 3, 2026
Note from the library-first batch (2026-10-03): #1108 makes the Docker endpoint come from
docker.utils.kwargs_from_env(),docker.ContextAPIanddocker.utils.parse_host, behindDockerEngineService, and deletes the TUI's owndocker.from_env()client. This item's docker tab consumesDockerEngineService(get_engine().client()) and builds no third Docker client. Scope and placement are unchanged.dan-petty commentedon Oct 8, 2026
Linked: #685 and #694. #694 holds
p, andlis the Logs tab (ui/dashboard.py:180), so this item'sk,landpcontrols need free keys. Found by the 2026-10-08 backlog review.dan-petty commentedon Oct 18, 2026
Proposal needs splitting into 4 items at 25e2cda (see proposed design in issue body).
dan-petty commentedon Oct 23, 2026
Proposal needs splitting into 4 items at 4bb052c (see proposed design in issue body).
dan-petty commentedon Oct 24, 2026
We cannot build this item as written. The Docker tab tab-docker already exists in src/devops_cli/ui/widgets.py. The requested key binding l conflicts with the global Logs tab shortcut in src/devops_cli/ui/dashboard.py. The requested key binding p conflicts with the command palette shortcut. The prune control depends on open defect issue #1116. The scope must split into the four smaller items identified during refinement.
dan-petty commentedon Oct 24, 2026
Closed as not planned (rejected), 2026-10-24. The owner asked: "fix 598 or close as rejected" for #598 and the same for this item.
Why this item is not built:
k9s,gh-dash,tuicr), and thatdevops dashboardcovers only what no open tool covers. On 2026-10-22 the owner decided that this direction also covers the Docker tab. refactor(ui): audit five dashboard tabs against open tools #1885 audits the Kubernetes, Docker, Telemetry, Valkey and Logs tabs against open tools, with lazydocker as the candidate for Docker. This item asks for more custom code in the same tab that refactor(ui): audit five dashboard tabs against open tools #1885 can replace.docker stats,docker logsanddocker system prune.k9s, whichdevops install-toolsalready pins.devops sandbox status --all, which exists.src/devops_cli/ui/widgets.py).lis the Logs tab key andpis held (feat(cli): universal terminal command palette & fuzzy action launcher #694). Prune depends on fix(cli):devops docker pruneremoves stopped containers, unused networks and dangling images instead of failing on every engine #1116. Refine said four times that the item needs four separate items, and it has no acceptance criteria that a test can check.What stays open: #1885 decides whether the Docker tab stays, with the evidence and the cost. If a sandbox view that no open tool gives is still needed after that audit, file it as a new item with acceptance criteria.