Skip to content

Design doc: Studio screens and Central Manager routes for automatic upgrades #2091

Open

Description

@Devin-Holland

Start: Ready. The decisions are approved, and the Central Manager routes for notices, notification settings, stage links and the staff policy pages are merged. The routes for the Upgrades page, upgrade history and the staff status report are designed but not built.
Delivery: in one PR with #2092 and #2093.

What and why

Central Manager is adding automatic monthly upgrades for Fabric clusters (HarperFast/central-manager#1177). That brings several new customer screens and staff pages to Studio, each backed by new Central Manager routes. This issue is a short design document in this repo: each screen, where it sits, and the routes it calls. It should be complete enough to hand to an engineer who has not followed the backend work (D37).

Scope

The document covers these screens:

Screen Where Central Manager routes
Upgrades: schedule and next cycle, move a date earlier, conservative-track hold Organization menu GET /UpgradeSchedule, GET and PATCH /UpgradeCycle (HarperFast/central-manager#1191)
Upgrade history Cluster menu, next to Version GET /Cluster/:id/upgrades (HarperFast/central-manager#1191)
Stage link Cluster settings PUT /Cluster/:id, GET /Cluster/:id/linkableClusters, GET /Cluster/:id/linkedClusters (HarperFast/central-manager#1179); the organization's links, read-only, from GET /OrganizationLink/ (HarperFast/central-manager#1178)
Notices in the bell, banner and notification center Existing components GET /OrganizationNotification plus its subscription (HarperFast/central-manager#1180)
Notification settings Organization settings NotificationSettings, NotificationPreference (HarperFast/central-manager#1181)
Staff: releases, blackouts, exceptions /admin /Admin/HarperRelease, /Admin/HarperReleaseDefaults, /Admin/UpgradeBlackout, /Admin/UpgradeException (HarperFast/central-manager#1182, HarperFast/central-manager#1184, HarperFast/central-manager#1185)
Staff: organization page (upgrade track, slot, off-hours, organization links, moving between tracks) /admin, new /Admin/Organization, /Admin/UpgradeSchedule (HarperFast/central-manager#1184); POST and DELETE /OrganizationLink, which only staff can call (HarperFast/central-manager#1178); the track move (HarperFast/central-manager#1265, not built)
Staff: mode, plan and status /admin GET and PATCH /Admin/UpgradeSettings, GET /Admin/Upgrade/plan (HarperFast/central-manager#1186); GET /Admin/Upgrade/status (HarperFast/central-manager#1190, not built)
Staff: scoped notice form Existing notifications page POST /Admin/OrganizationNotification (HarperFast/central-manager#1180)
Staff: permission grants /admin, new /Admin/StaffPermissionGrant (HarperFast/central-manager#1183)

And how Studio behaves until the backend is switched on:

  • Studio has no feature flags. Pages stay hidden while their routes answer 404 or the mode is off. Staff pages are gated on the new permissions, which GET /User/current returns (HarperFast/central-manager#1183).
  • Types come from Central Manager's OpenAPI spec (pnpm update-sdk regenerates api.gen.d.ts). Every new route is documented in that spec, so no hand-typed entries in api.patch.d.ts should be needed.

Current Studio behavior the document should account for:

  • "Version" is not its own page. It is the shared cluster editor at /edit/version, and /scaling is the progress screen after a submit.
  • A manual version change has no confirmation dialog. The product proposal (HarperFast/central-manager#707) asks for one; the document should say whether it is in scope.
  • Studio hides downgrades with a client-side filter. Central Manager will refuse them on the server once HarperFast/central-manager#1187 lands. It already refuses a version below the oldest supported build of its major.
  • Notices: the bell, banner and /notifications read GET /SystemStatus/, refreshed by an anonymous WebSocket with a 60-second poll as fallback. Dismissals live in localStorage (AckedNotificationIds). The organization notice subscription is authenticated.
  • The staff area (/admin, AdminShell) filters menu items with hasStaffPermission and has no router guards. There is no staff organization page today.

Out of scope

Depends on decisions

The upgrade decisions were approved on 2026-11-16. If one of these changes later, revisit this issue.

  • Studio gets a rough screen-and-endpoint design document, complete enough to hand to another engineer (D37).
  • Everything ships off and is turned on by configuration, so Studio pages stay hidden until then (D38).
  • Launch scope includes the upgrade history page; customers changing their own slot comes after launch (D43).
  • The screens follow the decisions listed in the issues each one belongs to. When one of those changes, update this document too.

Depends on

  • The route list above. The routes are designed; they do not have to be built before the document is written.

Needed by

Acceptance

  • The document is merged in this repo.
  • Every route it names exists in the linked Central Manager issues, with the same method and path.
  • The engineer who will build the screens has reviewed it.

Part of HarperFast/central-manager#1177.

🤖 Generated by Claude Code (Claude Fable 5.2, Claude Opus 5.5); posted via @Devin-Holland.

Activity

  1. added
    documentation
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    Fields

    Priority

    P2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions