Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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