Wire Poimen-specific workflow types to Temporal #34

Closed
opened 2026-09-26 09:48:02 +00:00 by rock · 0 comments
Owner

Description

When starting workflows via /v1/poimen/execute, the API gateway needs to know the correct workflow_type and task_queue for Poimen workflows, and serialize inputs in the format each workflow expects.

Workflow Types

Workflow Type Name Task Queue Input Type
DAGWorkflow DAGWorkflow poimen-worker DAGWorkflowInput
OrchestratorWorkflow OrchestratorWorkflow poimen-worker OrchestratorInput
RoutingWorkflow RoutingWorkflow poimen-worker RoutingWorkflowInput

Tasks

  • Add Poimen workflow type registry in API-gw
  • Serialize DAG input to match DAGWorkflowInput protobuf/JSON
  • Add input validation per workflow type
  • Map SSE events to Poimen activity names (not raw Temporal event types)

Dependencies

  • homelab-frontend #32 (typed endpoints)
  • poimen-workflows: DAGWorkflow type definitions
## Description When starting workflows via `/v1/poimen/execute`, the API gateway needs to know the correct `workflow_type` and `task_queue` for Poimen workflows, and serialize inputs in the format each workflow expects. ## Workflow Types | Workflow | Type Name | Task Queue | Input Type | |----------|-----------|------------|------------| | DAGWorkflow | `DAGWorkflow` | `poimen-worker` | `DAGWorkflowInput` | | OrchestratorWorkflow | `OrchestratorWorkflow` | `poimen-worker` | `OrchestratorInput` | | RoutingWorkflow | `RoutingWorkflow` | `poimen-worker` | `RoutingWorkflowInput` | ## Tasks - [ ] Add Poimen workflow type registry in API-gw - [ ] Serialize DAG input to match `DAGWorkflowInput` protobuf/JSON - [ ] Add input validation per workflow type - [ ] Map SSE events to Poimen activity names (not raw Temporal event types) ## Dependencies - homelab-frontend #32 (typed endpoints) - poimen-workflows: DAGWorkflow type definitions
rock closed this issue 2026-09-26 10:52:11 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: riotpiao-poimen/homelab-frontend#34