UI — Runtime Center¶
Target Architecture — Final-State Design
The Runtime Center is the operations surface of the Runtime & Cloud Platform inside Factory Studio. It is a Blazor micro-frontend that reads the platform's APIs (REST + gRPC) and renders the live state of every generated SaaS runtime.
The Runtime Center is where humans observe and steer the running output of the factory. It does not run workloads itself — it is a governed window onto the autonomous platform, giving operators and product owners a single place to see what is live, how healthy it is, and what the platform is doing about it.
Surfaces¶
| Surface | Purpose | Backing API / Source |
|---|---|---|
| Live Services | Inventory of every running generated component per environment and tenant, with version, compute target, and replica count. | RuntimeInventory.GetServices (gRPC), GET /runtime/environments/{environmentId} |
| Health | Real-time health of services and dependencies (liveness/readiness/dependency), with degraded/unhealthy drill-down. | GET /runtime/services/{serviceId}/health, RuntimeHealth.StreamHealth |
| Logs | Streamed and searchable workload logs and deployment step logs. | Application Insights + Blob (deployment logs) |
| Metrics | SLO-oriented dashboards: latency, throughput, error rate, saturation, replica counts. | Application Insights (KQL-backed tiles) |
| Incidents | Open incidents and their runtime context, linked to the originating signals. | Observability & Feedback |
| Deployments | Deployment history and live rollout status with the RuntimeDeployment state machine. |
GET /runtime/deployments/{deploymentId} |
| Scaling | Active scaling policies and recent scaling actions per service. | POST/GET /runtime/scaling-policies |
| Drift | Open and resolved drift findings with desired-vs-actual diffs and remediation actions. | GET /runtime/drift/{environmentId} |
Experience¶
flowchart LR
Operator["Operator / Product Owner"] --> RC["Runtime Center (Blazor MFE)"]
RC -->|"live services, health"| RT["Runtime & Cloud APIs"]
RC -->|"logs, metrics"| AppI["Application Insights"]
RC -->|"incidents"| Obs["Observability & Feedback"]
RC -->|"deploy / rollback / remediate (governed)"| RT
- Read-first, action-gated — the surface is primarily observational; mutating actions (trigger rollback, approve drift remediation, adjust a scaling policy) are gated by the same scopes and governance approvals as the APIs.
- Trace-linked — every tile links to the originating
traceId, so an operator can pivot from a runtime signal back through deployment, artifact, agent task, and business intent. - Tenant-scoped — operators see only the tenants and environments their role grants, enforced by
RuntimeTenantBinding.
Integration with Factory Studio¶
The Runtime Center is one micro-frontend in the Factory Studio shell (ConnectSoft.Blazor.ShellTemplate + UIKit). It shares the Studio's identity, navigation, and design system, and cross-links to the DevOps delivery view (for what produced a deployment) and the Observability view (for deep telemetry and feedback).