feat: add MCP runtime health dashboard to web UI (Closes #430) #448
Labels
Clear labels
allocator
anti-stomp
architecture
bug
chore
codex
concurrency
contamination
control-plane
dashboard
database
design
documentation
enhancement
gitea
glitchtip
important
incident
incident-bridge
integration
jenkins
labels
leases
mcp
mcp-health
mcp-menu
multi-project
mutating
nice-to-have
observability
portability
preflight
protected-branch
queue
read-only
reconnect
recovery
refactor
release
reliability
resumable-review
reviewer
roadmap
safety
security
self-hosted
sentry
stale-runtime
status:blocked
status:in-progress
status:pr-open
status:ready
terminal-lock
testing
tracker
type:bug
type:feature
type:feature
type:guardrail
visibility
workflow
workflow-hardening
workflow-hardening
Controller-owned work allocator
Prevent concurrent LLM session stomping
Architecture / structural design
OpenAI Codex client / workflow session surface
Concurrent session safety
Workflow or session contamination incident
MCP control-plane coordination and allocation authority
MCP operational dashboard/queue view
Internal coordination storage (SQLite/Postgres)
Design / investigation, no implementation
Docs / runbooks
New feature or improvement
Gitea MCP workflow
GlitchTip integration
Operational or process incident requiring durable audit trail
Sentry-to-Gitea incident bridging
Integration testing
Jenkins integration
Label taxonomy management
Lease adopt/release/expire lifecycle
MCP server / tooling
MCP namespace and runtime health
MCP menu surface
Work spanning multiple monitoring projects or Gitea repos
Mutating action; requires gating
Observability, metrics, traces, error reporting
Cross-platform / portability
Shared preflight gates before mutation
Protected branch / stable-branch policy concern
Work queue visibility and allocation
Read-only, no mutation
MCP client reconnect/reload recovery path
Recovery paths for stale/foreign leases
Code refactor / restructure
Release / versioning
Reliability / failure handling
Persist and resume prepared review verdicts across sessions
Reviewer workflow tooling
Roadmap / umbrella issue
Safety rails and fail-closed mutation guards
Security / trust boundary
Self-hosted infrastructure integration
Sentry error monitoring integration
Stale backend daemon / runtime-vs-master parity failures
Issue is blocked
Issue is being worked on
Issue has an open pull request
Issue is ready for work
Terminal review lock (#332) path
Tests / test coverage
Issue tracker hygiene / meta
Bug or defect
Feature or enhancement
Feature or enhancement
Safety gate or guardrail
Workflow state visibility for LLMs/operators
Cross-tool workflow
LLM workflow coordination hardening
LLM workflow coordination hardening
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Scaled-Tech-Consulting/Gitea-Tools#448
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Closes #430. Child of tracker #425. Retargeted onto current
master(ee8e9a) with only #430 runtime-health work — #426–#429 stack already merged.Adds a read-only runtime health page at
/runtimeand/api/runtimeso operators can see active MCP profile, identity, config model, git sync state, shell health, and workflow/schema hashes without opening MCP tools.Base / head
master4429113(rebased--onto master, dropping already-merged #427–#429 stack commits)4429113(feat #430)Changes (only #430 runtime-health)
webui/runtime_health.py— profile/identity/config/git sync/shell health snapshotwebui/runtime_views.py— HTML tables and stale-runtime warningswebui/app.py—/runtime,/api/runtimeroutes (replaces stub)docs/webui-local-dev.md— runtime health sectiontests/test_webui_runtime_health.py— 5 tests; skeleton tests updatedNo #427/#428/#429 diff — that content is already in
master.Features
Validation
40 passed (9 subtests).
Worktree
branches/issue-430-runtime-health@4429113Review findings at head
6e0f73c— formal REQUEST_CHANGES blocked by author conflict-fix leaseBlocker: active
conflict_fixlease (phase: claimed, expires2026-07-09T04:41:15Z, session_id=unknown). Reviewermark_readyis fail-closed while that lease is live. Please release the conflict-fix lease (work is already pushed; live head advanced pasthead_before4429113).Defect (conflict-resolution regression)
webui/lease_loader.pyon this head re-imports a removed symbol:Current
prgs/mastercorrectly uses:Proof:
from webui.app import create_appfails collection on this head:ImportError: cannot import name 'ISSUE_LOCK_FILE' from 'merged_cleanup_reconcile'.Same import succeeds on clean
prgs/master(066eec8).Scope note
Intended #430 work (runtime_health, routes, tests) looks fine in isolation, but the conflict-fix commit
6e0f73cleftlease_loaderbehind master and breaks the whole web UI test import path.Required fix
webui/lease_loader.pywith master (ISSUE_LOCK_FILEfromissue_lock_provenance).Eligibility:
NEEDS_AUTHOR_FIX+ACTIVE_CONFLICT_FIX_LEASENext actor: author
pr: #448
branch: feat/issue-430-runtime-health
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-430-runtime-health
profile: prgs-author
session_id: conflict-fix-release-batch
phase: released
head_before:
4429113daehead_after:
ebb1512ec9expires_at: 2026-07-09T04:41:15Z
reviewer_active: no
blocker: post-push-release
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #448
issue: #430
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 15088-e09b18df79dd
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/review-feat-issue-430-runtime-health
phase: claimed
candidate_head:
ebb1512ec9target_branch: master
target_branch_sha: none
last_activity: 2026-07-09T03:57:52Z
expires_at: 2026-07-09T05:57:52Z
blocker: none
Approved. Import regression fixed: ISSUE_LOCK_FILE now correctly imported from issue_lock_provenance. webui.app imports cleanly, all 44 webui tests pass at head
ebb1512.ebb1512ec9toffa1ff95ccrepo: Scaled-Tech-Consulting/Gitea-Tools
pr: #448
issue: #430
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 37476-c12f0bbf07a9
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-430-runtime-health
phase: claimed
candidate_head:
ffa1ff95cctarget_branch: master
target_branch_sha: none
last_activity: 2026-07-09T12:21:19Z
expires_at: 2026-07-09T14:21:19Z
blocker: none
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #448
issue: none
reviewer_identity: sysadmin
profile: prgs-reviewer
session_id: 37476-c12f0bbf07a9
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-430-runtime-health
phase: claimed
candidate_head:
ffa1ff95cctarget_branch: master
target_branch_sha: none
last_activity: 2026-07-09T12:22:49Z
expires_at: 2026-07-09T14:22:49Z
blocker: none
Review: APPROVED
Pinned head SHA:
ffa1ff95cc2cf8d77ca2e6c90d903b2407fa7dc4Review summary
Clean, well-scoped implementation of the MCP runtime health dashboard (Closes #430). All changes are read-only and confined to the web UI layer.
Files reviewed
webui/runtime_health.pywebui/runtime_views.pyhtml.escape(), clean table rendering, stale-warning blockwebui/app.py/runtime,/api/runtime), follows existing patterns, GET-onlytests/test_webui_runtime_health.pydocs/webui-local-dev.mdVerdict
Approved for merge. No issues found.
adopted_at: 2026-07-09T12:23:53Z
adopted_by_identity: sysadmin
adopted_by_profile: prgs-merger
adopted_from_session_id: 37476-c12f0bbf07a9
adopted_from_profile: prgs-reviewer
adopted_from_reviewer_identity: sysadmin
adopted_from_comment_id: 7840
adoption_reason: merger-handoff-approved-head
repo: Scaled-Tech-Consulting/Gitea-Tools
pr: #448
issue: #430
reviewer_identity: sysadmin
profile: prgs-merger
session_id: 37476-0d4ad7a9d29a
worktree: /Users/jasonwalker/Development/Gitea-Tools/branches/issue-430-runtime-health
phase: adopted
candidate_head:
ffa1ff95cctarget_branch: master
target_branch_sha: none
last_activity: 2026-07-09T12:23:53Z
expires_at: 2026-07-09T14:23:53Z
blocker: none