8000
Skip to content

Remove the WebUI Fastify API reverse proxy after API server migration #2485

Description

@coderabbitai

Summary

Remove the temporary Fastify reverse proxy that forwards WebUI /api/v1/* requests to the API server.

Rationale

The proxy in components/webui/packages/server/src/plugins/app/ApiServerProxy.ts is a transitional component. It is only required while WebUI functionality remains in the Fastify server.

Required changes

  • Port the remaining WebUI server functionality to the API server.
  • Remove the Fastify API reverse proxy after the migration is complete.
  • Remove configuration, dependencies, and documentation that become obsolete with the Fastify server.

Affected areas

  • components/webui/packages/server/src/plugins/app/ApiServerProxy.ts
  • WebUI server configuration and startup paths
  • API server routes that replace WebUI server functionality

Acceptance criteria

  • The WebUI does not require the Fastify server to forward API requests.
  • The API server exposes the required WebUI-facing endpoints directly.
  • ApiServerProxy.ts and its unused integration are removed.
  • Deployment configuration and user documentation reflect the final architecture.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

0