Skip to content

feat(helm): dedicated worker Deployment for process-role split#197

Merged
brownjuly2003-code merged 3 commits into
mainfrom
helm-worker-deployment
Jul 15, 2026
Merged

feat(helm): dedicated worker Deployment for process-role split#197
brownjuly2003-code merged 3 commits into
mainfrom
helm-worker-deployment

Conversation

@brownjuly2003-code

Copy link
Copy Markdown
Owner

Summary

Closes the chart-side P1-1 follow-up documented in values.yaml: optional dedicated delivery-loop Deployment.

  • worker.enabled (default false) keeps the single-pod shape (no AGENTFLOW_PROCESS_ROLE)
  • When enabled + controlPlane.store=postgres: API Deployment gets role=api / component=api; new *-worker Deployment gets role=worker / component=worker
  • Service selector adds component=api so workers do not receive request traffic
  • Worker data volume is always emptyDir (no RWO multi-attach on the API PVC)
  • Shared container env extracted to templates/_env.tpl

Verify

  • pytest tests/unit/test_helm_values_contract.py — 23/23

Non-goals

  • Multi-region delivery topology proof
  • Changing default single-pod demo profile

Close the P1-1 chart follow-up: worker.enabled (default false) renders a
delivery-loop Deployment with AGENTFLOW_PROCESS_ROLE=worker, pins the API
Deployment to role=api, and narrows the Service selector to component=api so
workers do not take request traffic. Requires controlPlane.store=postgres;
worker data volume is always emptyDir (no RWO multi-attach on the API PVC).

Shared container env extracted to templates/_env.tpl. Unit contract: 23/23.
@brownjuly2003-code brownjuly2003-code enabled auto-merge (squash) July 15, 2026 22:14
@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown

DORA Metrics

  • Window: last 30 days
  • Branch: main
  • Deployment frequency: 103 total / 24.03 per week
  • Lead time for changes: avg 0.38h / median 0.0h
  • Change failure rate: 67.96% (70/103)
  • MTTR: 2.56h across 1 incident(s)

@brownjuly2003-code brownjuly2003-code merged commit 09fed87 into main Jul 15, 2026
22 checks passed
@brownjuly2003-code brownjuly2003-code deleted the helm-worker-deployment branch July 15, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants