(feat) Temporal SDK client, worker mgmt, k8s deployments (#10)
CI / CI (push) Successful in 4m11s
CI / CI (push) Successful in 4m11s
## Changes - `internal/temporal/client.go` — Robust Temporal client with retry (exp backoff), TLS, health check - `internal/temporal/worker.go` — Worker creation, activity/workflow registration, lifecycle - `internal/temporal/context.go` — Timeout helpers - `k8s/worker-deployment.yaml` — 2-10 replica HPA, liveness/readiness probes, security context, pod anti-affinity - `k8s/workflow-runner-deployment.yaml` — Singleton runner with probes - `k8s/kustomization.yaml` — Updated resource list Co-authored-by: poimen <[email protected]>
This commit was merged in pull request #10.
This commit is contained in:
@@ -53,6 +53,7 @@ func main() {
|
||||
w.RegisterWorkflow(workflow.TestWorkflow)
|
||||
w.RegisterWorkflow(workflow.RoutingWorkflow)
|
||||
w.RegisterWorkflow(workflow.WorkflowGraphQuery)
|
||||
w.RegisterWorkflow(workflow.LLMTestWorkflow)
|
||||
|
||||
// Register all activities
|
||||
w.RegisterActivity(activity.CloneRepoActivity)
|
||||
@@ -72,6 +73,8 @@ func main() {
|
||||
|
||||
// Routing workflow activities
|
||||
w.RegisterActivity(activity.LLMRouterActivity)
|
||||
w.RegisterActivity(activity.LLMInferenceActivity)
|
||||
w.RegisterActivity(activity.LLMBatchInferenceActivity)
|
||||
w.RegisterActivity(activity.ValidateWorkflowSpecActivity)
|
||||
w.RegisterActivity(activity.ValidateCronWorkflowSpecActivity)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user