Skip to content

Decouple Admin UI from Go Binary: Serve as Static Asset via static.fileserver #34

@intel352

Description

@intel352

Decouple the admin UI (workflow/ui/) from the workflow server binary so it is built and served via static.fileserver just like any application UI.

Tasks

  • Remove go:embed from module/ui_dist/ and module/api_workflow_ui.go.
  • Build admin UI separately in CI; produce artifact for Docker and deployment.
  • Allow admin/config.yaml (or flag/env) to specify root path for admin UI assets.
  • Remove admin.WriteUIAssets and admin.InjectUIRoot.
  • Ensure static.fileserver config is clear and matches admin config.
  • Update deployment docs to describe standalone admin UI build and serve process.

Acceptance

  • Admin UI can be deployed and updated independent of Go binary.
  • Serving mechanism matches that of application UIs (including SPA fallback).

Copilot Agent assigned (can be tackled in parallel).

Linked to broader UI refactor effort.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions