-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Summary
Add support for Actix-web as an alternative HTTP framework for the observability UI endpoints.
Context
The observability UI module has been refactored to be framework-agnostic (see src/observability/ui/). Currently, only Axum is supported via the axum-ui feature flag. This issue tracks adding Actix-web support.
Requirements
- Create
src/observability/ui/actix.rswith Actix-web handlers - Add
actix-uifeature flag inCargo.toml - Update
src/observability/ui/mod.rsto conditionally export Actix routes - Implement the following endpoints:
GET /- Serve console HTMLGET /stats- Queue statisticsGET /activities/:key- List activities by status or get by IDGET /activities/:id/events- Activity event historyGET /activities/:id/result- Activity resultGET /dead-letter- Dead letter queue listingGET /stream- SSE event stream
- Add example demonstrating Actix-web usage
- Update documentation
Technical Notes
- Use
actix-webcrate - SSE can be implemented using
actix-web-labor similar - Follow the same pattern as
src/observability/ui/axum.rs - All data operations should go through
QueueInspector
Feature Flag
[features]
actix-ui = ["dep:actix-web", "dep:actix-web-lab"]Related
- Axum implementation:
src/observability/ui/axum.rs - Static HTML:
src/observability/ui/html.rs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers