Web Console: Restart status, impact preview, and approval controls #667

Open
opened 2026-07-10 15:33:12 -05:00 by jcwalker3 · 0 comments
Owner

Problem statement

#642 covers sanctioned restart UI stubs at a high level. Operators still need console surfaces for restart status, impact preview, drain progress, approval, and break-glass driven by the #655 coordinator substrate—not ad-hoc kill buttons.

Operational impact

Without console integration, governance stays CLI-only and underused; vision #652 maintenance controls incomplete.

Scope

  • Extend #642 / webui gated actions:
    • Impact preview view (from #658)
    • Drain status and progress
    • Controller approval workflow
    • Restart class selection (#663)
    • Break-glass UI with required fields (#664)
    • Post-restart reconcile status (#662)
  • Read-only status available before Phase 2 write gates fully land.
  • Never expose raw pkill.

Non-goals

  • Implementing coordinator backend (consume APIs).
  • Full HA topology UI.

Required implementation investigation

#642 #655 #658–#665 #633 #634 #631 #652 #653; webui gated_actions.

Proposed implementation direction

/runtime/restart console pages + API proxies to coordinator; RBAC from #633.

Security / workflow-safety

RBAC; confirmations; audit display; no secrets.

Failure behavior

Backend deny shown clearly; no client-side bypass.

Acceptance criteria

  1. Impact preview renderable from coordinator DTO.
  2. Approval/break-glass only for privileged roles.
  3. Drain/reconcile status visible.
  4. Tests for views/gates.
  5. Links #652 #653 #655 #642.

Required tests

View tests with fixture impact/drain DTOs; role deny.

Observability and audit

UI actions create same audits as API.

Dependencies

Rollout

Status views first; write approval after backend gates green.

Canonical issue state

STATE: ready-for-author
WHO_IS_NEXT: author
NEXT_ACTION: Implement console restart status/approval UX consuming #655 APIs
NEXT_PROMPT: Author console restart UI under #655/#642; PR; stop

Required proof

UI + tests + screenshots optional.

Required final response and handoff

Brief PR → reviewer.

## Problem statement #642 covers sanctioned restart UI stubs at a high level. Operators still need console surfaces for **restart status, impact preview, drain progress, approval, and break-glass** driven by the #655 coordinator substrate—not ad-hoc kill buttons. ## Operational impact Without console integration, governance stays CLI-only and underused; vision #652 maintenance controls incomplete. ## Scope * Extend #642 / webui gated actions: * Impact preview view (from #658) * Drain status and progress * Controller approval workflow * Restart class selection (#663) * Break-glass UI with required fields (#664) * Post-restart reconcile status (#662) * Read-only status available before Phase 2 write gates fully land. * Never expose raw pkill. ## Non-goals * Implementing coordinator backend (consume APIs). * Full HA topology UI. ## Required implementation investigation #642 #655 #658–#665 #633 #634 #631 #652 #653; webui gated_actions. ## Proposed implementation direction `/runtime/restart` console pages + API proxies to coordinator; RBAC from #633. ## Security / workflow-safety RBAC; confirmations; audit display; no secrets. ## Failure behavior Backend deny shown clearly; no client-side bypass. ## Acceptance criteria 1. Impact preview renderable from coordinator DTO. 2. Approval/break-glass only for privileged roles. 3. Drain/reconcile status visible. 4. Tests for views/gates. 5. Links #652 #653 #655 #642. ## Required tests View tests with fixture impact/drain DTOs; role deny. ## Observability and audit UI actions create same audits as API. ## Dependencies * Parent **#655** · Extends **#642** · Soft-depends **#658–#665** **#633** · Vision **#652** · Roadmap **#653** · Console **#631** ## Rollout Status views first; write approval after backend gates green. ## Canonical issue state ```text STATE: ready-for-author WHO_IS_NEXT: author NEXT_ACTION: Implement console restart status/approval UX consuming #655 APIs NEXT_PROMPT: Author console restart UI under #655/#642; PR; stop ``` ## Required proof UI + tests + screenshots optional. ## Required final response and handoff Brief PR → reviewer.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#667