Repository navigation
Description
Context & Rationale
#686 asked for a port-forward manager and a service URL table. The CLI already has port-forward, port-forward-status and port-forward-stop (src/devops_cli/commands/k8s/init.py:110-112), and it can discover ingress hosts (_discover_ingress_hosts, src/devops_cli/commands/k8s/networking.py:609). A view that lists forwards needs the state file to resolve from any directory, which the separate state-file fix delivers.
Scope & Deliverables
- Deliverable: a dashboard view that lists live port-forwards and ingress hosts, with a key that stops a forward.
- Acceptance criteria:
- The view lists the same forwards as
devops k8s port-forward-status. - Stopping a forward from the view ends its process group.
- Tests spawn no real kubectl and touch no network.
- The view lists the same forwards as
- Key questions: should the view start forwards too? No, only list and stop them (proposed).
- Constraint: discovery runs on worker threads, and process-group termination follows AGENTS.md's guarded
killpgrules.
Strategic Alignment
- Milestone: Backlog
- Depends on: feat(k8s): truthful pod status, filters, container-aware logs and pod inspector in the dashboard (
tab-k8s) #686 and fix(k8s): resolve the port-forward state file under the repo data root #810 (the port-forward state-file fix)
Proposed design
Problem statement
The issue asks for a dashboard view that lists live port-forwards and ingress hosts, with a key to stop a forward. The Kubernetes tab that hosts this view is deleted by #2231 because k9s v0.51.0 already provides port-forward management. The state-file dependency #810 is closed as not planned. A person must decide whether to close this issue as not planned or re-scope it.
Acceptance criteria
- Criterion 1: The view lists the same forwards as
devops k8s port-forward-status.
Verification: Rundevops k8s port-forward-statusand compare its output with the dashboard view output. - Criterion 2: Stopping a forward from the view ends its process group.
Verification: Stop a forward from the view and confirm the process group is terminated. - Criterion 3: Tests spawn no real kubectl and touch no network.
Verification: Run the test suite and confirm no kubectl process is spawned and no network call is made.
Key questions
- Should the view start forwards too?: No, only list and stop them. (proposed)
Fit
Fits in one pull request.
Suspected block
A person must decide whether to close this issue as not planned or re-scope it, because #2231 deletes the Kubernetes tab and #810 is closed as not planned.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNew
- StatusShow more project fieldsReady
Activity
dan-petty commentedon Oct 3, 2026
Dependency update (consolidation, 2026-10-03): #810 is merged into #1036, which now resolves the port-forward state file under the data directory. This item depends on #1036 in place of #810.
dan-petty commentedon Oct 8, 2026
Linked: #807, #808 and #809. All four split from #686 and add to the Kubernetes tab's
BINDINGS(ui/dashboard.py:169-183); whichever lands second checks its key is free. Found by the 2026-10-08 backlog review.dan-petty commentedon Oct 28, 2026
This item cannot be built as written. It adds a view to
devops dashboard, and #2231 deletes the Kubernetes tab that the view belongs to. Its dependency #810 (the port-forward state-file fix) is closed as not planned.Evidence (origin/main bb46660, 2026-10-28):
src/devops_cli/tools_lock/tools.lock) covers them. Its "Related" section says: "feat(k8s): pod manifest view with masked env values in the dashboard #808 and feat(k8s): port-forwards and service URLs in the dashboard #811 (port-forwards and service URLs in the dashboard) lose their tab. A person decides them."Shift-Fon a pod or container, lists the live forwards in its:pfview and stops one there. The installed binary also holds thek9scli.io/auto-port-forwardsannotation.devops k8s port-forward-statusandport-forward-stopalready list and stop the forwards thatdevopsstarts.No code was written. A person decides: close as not planned, or re-scope.
dan-petty commentedon Oct 28, 2026
Refine cannot set this item to Ready at bb46660 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
dan-petty commentedon Oct 28, 2026
Closed as not planned. The item conflicts with a more recent project direction:
devops dashboardcovers only what no open tool covers.:pf) and stops port-forwards.The evidence is in the comment above.