Skip to content

[INFRA-451] - feat(plane-enterprise): add dbos_worker service#268

Draft
akshat5302 wants to merge 2 commits into
masterfrom
feat/add-dbos-worker-service
Draft

[INFRA-451] - feat(plane-enterprise): add dbos_worker service#268
akshat5302 wants to merge 2 commits into
masterfrom
feat/add-dbos-worker-service

Conversation

@akshat5302

@akshat5302 akshat5302 commented Jul 16, 2026

Copy link
Copy Markdown
Member

What

Adds a new opt-in dbos_worker component to the plane-enterprise chart, mirroring the webhook consumer pattern:

  • templates/workloads/dbos-worker.deployment.yaml — deployment running the backend-commercial image with:
    command:
      - ./bin/docker-entrypoint-dbos-worker.sh
  • templates/config-secrets/dbos-worker.yaml<release>-dbos-worker-vars ConfigMap:
    DBOS_SYSTEM_DATABASE_URL: ""        # env.dbos_worker_envs.system_database_url
    DBOS_SYS_DB_POOL_SIZE: "10"         # env.dbos_worker_envs.sys_db_pool_size
    DBOS_APP_VERSION: "v1.0.0"          # env.dbos_worker_envs.app_version
  • values.yamlservices.dbos_worker block (1 replica, 500Mi/250m requests, 1000Mi/500m limits) and env.dbos_worker_envs defaults
  • questions.yml — new "DBOS Worker Setup" group for the Rancher catalog form
  • README.md — new "DBOS Worker Deployment" values table
  • Chart.yaml — version 3.0.03.1.0

Why

The backend is introducing a DBOS-based worker that needs its own long-running deployment with DBOS-specific configuration (system database URL, pool size, app version). This gives operators a first-class chart component for it instead of hand-rolled manifests.

Scope / behavior

  • Opt-in, no default behavior change: services.dbos_worker.enabled defaults to false, so nothing renders for existing installs.
  • When enabled, the deployment consumes the same image (services.api.image + planeVersion), env sources (app-vars, app-secrets, doc-store-secrets, opensearch-secrets, silo secrets when services.silo.enabled), scheduling knobs, security contexts, and extraEnv as the webhook consumer.
  • external_secrets.*_existingSecret overrides are honored, same as other workloads.
  • No other services or templates are affected.

Testing

  • helm lint passes.
  • helm template --set services.dbos_worker.enabled=true renders the deployment and ConfigMap with expected values (DBOS_SYSTEM_DATABASE_URL: "", DBOS_SYS_DB_POOL_SIZE: "10", DBOS_APP_VERSION: "v1.0.0"); with defaults (disabled) neither resource renders.
  • Rendered the two manifests with the live phoenix release values and applied them to the phoenix namespace on plane-eks-dev-prime (scaled to 0 pending backend image support); resources created cleanly against the existing release's ConfigMaps/Secrets.

Related

  • Plane work item: INFRA-451

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 34e6dd24-298a-48d0-9a8b-0a2735ba81de

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/add-dbos-worker-service

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@makeplane

makeplane Bot commented Jul 16, 2026

Copy link
Copy Markdown

Linked to Plane Work Item(s)

This comment was auto-generated by Plane

… drop non-app env sources

- Move DBOS_SYSTEM_DATABASE_URL out of the ConfigMap into a dedicated
  -dbos-worker-secrets Secret, defaulting to the Plane database URL and
  overridable via external_secrets.dbos_worker_existingSecret.
- dbos-worker ConfigMap now holds only DBOS_SYS_DB_POOL_SIZE and
  DBOS_APP_VERSION.
- Deployment envFrom limited to dbos-worker-secrets, dbos-worker-vars,
  app-vars, and app-secrets; drop doc-store, opensearch, and silo secret
  references.
- values.yaml: add external_secrets.dbos_worker_existingSecret.
- README: document DBOS_SYSTEM_DATABASE_URL under dbos_worker_existingSecret
  and update the values-reference note.
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.

1 participant