vxpu/router: serve a fleet status page from a separate management port #825
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.42) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 321 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.345
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #825"
general
weight: 0.35
codebot-robot
vxpu/proto: define RouterStatus for the management interface
Define the ModelStanding enum and RouterStatus, ModelStatus, and
ExecutorStatus protobuf messages in vxpu.proto to represent the router
fleet's state.
Every management page is a direct view of a protobuf message, avoiding
parallel hand-written structs or logic derived only in templates. The
message captures models known to the router, their verification standing,
refusal errors, active executors, probed machine kinds, and what models
are placed on each executor.
vxpu/router: serve fleet status from management port
Serve a read-only, unauthenticated management interface on a dedicated
management port (--mgmt-port, default 8080), apart from client inference
traffic (--port).
The management interface listens on its own HTTP port so operators can
inspect fleet status within the cluster (for example with kubectl
port-forward) under separate Kubernetes Service and NetworkPolicy rules.
The management port never serves inference, and the inference port never
serves management pages.
In NewServer, blobserver is moved from port 8080 to port 8081 so that the
management HTTP server can bind --mgmt-port (default 8080). In router.yaml,
containerPort 8081 is added alongside containerPort 8080 so that executor
pods can continue to reach blobserver if modelstore is not configured.
The root path (GET /) serves the fleet status page. Go templates render
the HTML from RouterStatus with embedded CSS and no external dependencies.
The same URL answers with JSON when requested with Accept: application/json.
Nothing secret appears on the page or in the JSON payload: tokens, prompt
text, and environment variables are omitted.
The state shown is read directly from where the router already records it
at the moment of the request, without calling the Kubernetes API server or
agents under the router's lock. Until the per-model loader (#801) lands,
the router reads model verification standing and refusal reasons from
s.models, external executor endpoints from s.modelEndpoint, in-cluster
executor endpoints from s.podEndpoint, expert helper and range assignments
from s.expertHolders, registered model names and tags from s.keyModel, and
hardware probes from s.executors and s.externalExecutors.
vxpu/tests/e2e: verify fleet status HTML and JSON in kind e2e
Port-forward the router pod's management port (8080) in the kind e2e test,
wait on the port-forward's own readiness signal, and assert that the
fleet status page and JSON report the loaded model in passed standing.
Fixes #816