OpenViking icon indicating copy to clipboard operation
OpenViking copied to clipboard

[Feature]: show the current OpenViking version in the Studio admin console

Open zuoanCo opened this issue 2 weeks ago • 0 comments

Summary

The Studio admin console (management mode) never shows which OpenViking version the deployment is running.

The server already reports it:

  • GET /health returns "version": openviking.__version__ (openviking/server/routers/system.py).
  • The Studio connection layer already reads it: useStudioService() returns version from the shared health state (web-studio/src/features/connection/hooks/use-studio-service.ts), but no UI consumes that field.

Today the version is only visible in two places, both of which are outside the admin console:

Surface Shows version Notes
Workbench → Monitoring (/monitoring) yes reads health.version directly
Gateway admin overview (/admin/gateway) yes only when the Gateway is enabled and healthy, and it renders the version the Gateway reports
Admin console (/admin/users, /admin/configuration, /admin/configuration/server, /admin/vikingbot, …) no no version anywhere, including the sidebar footer
Sidebar footer (workbench and admin console) no only the collapse toggle lives there

Problem

An administrator has no way to tell which OpenViking build a deployment runs. The version is the only reliable signal for:

  • confirming that an upgrade or downgrade actually landed;
  • attaching the exact build to a bug report;
  • checking that a fleet of instances is homogeneous.

For a plain open-source deployment without the Gateway, the admin console shows the version nowhere at all, so the only remaining place is the workbench Monitoring page, which is a separate surface an administrator may not open.

Proposal

Show the connected server version in the Studio sidebar footer, so it is visible in both the workbench and the admin console.

The value is already available in the shared connection state (useStudioService().version), so this needs no new request and no new server endpoint.

Expected behavior:

  • The footer shows the version reported by /health (for example v0.5.4) next to the sidebar collapse toggle.
  • The badge is hidden when the server reports no version (not connected yet / offline).
  • The badge is hidden when the sidebar is collapsed to icons.

Acceptance

  • The Studio sidebar footer shows the OpenViking server version in the admin console (management mode) and in the workbench.
  • The version matches GET /health for the connected server.
  • Nothing is rendered when the server reports no version.
  • Existing tests, lint and the Studio build keep passing.

Environment

Checked against main (5f53cbf01) with the local Studio dev server. The admin console (/admin/configuration/server) shows no version, and the workbench Monitoring page shows v0.5.4.dev49 for the same deployment.

zuoanCo avatar Nov 16 '26 04:11 zuoanCo