Skip to content

[SILO-1523] feat(plane-enterprise): add integration event stream env vars + integration-event-consumer deployment - #302

Open
Saurabhkmr98 wants to merge 3 commits into
masterfrom
feat-integration_event_publisher
Open

[SILO-1523] feat(plane-enterprise): add integration event stream env vars + integration-event-consumer deployment#302
Saurabhkmr98 wants to merge 3 commits into
masterfrom
feat-integration_event_publisher

Conversation

@Saurabhkmr98

@Saurabhkmr98 Saurabhkmr98 commented Aug 21, 2026

Copy link
Copy Markdown
Member

What

Adds the integration-event-stream feature's env vars to charts/plane-enterprise, and a new integration-event-consumer Deployment + ConfigMap.

  • values.yaml / questions.yml: new services.integration_event_consumer block (enabled/replicas/resources), env.integration_event_consumer_envs (queue name + prefetch), env.integration_event_envs (exchange name, publish/republish/cleaner tuning), and three new keys on env.silo_envs for Silo's ingest side.
  • templates/config-secrets/app-env.yaml: adds INTEGRATION_EVENT_STREAM_EXCHANGE_NAME, INTEGRATION_EVENT_CONSUMER_QUEUE_NAME, INTEGRATION_EVENT_CONSUMER_PREFETCH, INTEGRATION_EVENT_MAX_RAW_BYTES, INTEGRATION_EVENT_PUBLISH_TIMEOUT, INTEGRATION_EVENT_PUBLISH_MAX_RETRIES, INTEGRATION_EVENT_PUBLISH_RETRY_DELAY, INTEGRATION_EVENT_REPUBLISH_BATCH_SIZE, INTEGRATION_EVENT_REPUBLISH_MAX_ATTEMPTS, INTEGRATION_EVENT_REPUBLISH_GRACE_SECONDS, INTEGRATION_EVENT_CLEANER_BATCH_SIZE, INTEGRATION_EVENT_CLEANER_CUTOFF_DAYS, INTEGRATION_EVENT_COLLECTION_NAME to the shared app-vars ConfigMap (consumed by api/worker/beat-worker via their existing envFrom).
  • templates/config-secrets/silo.yaml: adds INTEGRATION_EVENT_INGEST_ENABLED, INTEGRATION_EVENT_PROVIDERS, INTEGRATION_EVENT_INGEST_TIMEOUT_MS to silo-vars.
  • New templates/config-secrets/integration-event-consumer.yaml + templates/workloads/integration-event-consumer.deployment.yaml: a dedicated Deployment that reuses the backend image and runs ./bin/docker-entrypoint-integration-event-consumer.sh, mirroring the existing webhook-consumer/agent-consumer pattern exactly (own ConfigMap first in envFrom, then app-vars, app/doc-store/opensearch/silo secrets, otel hooks, readinessProbe via pgrep -f "python").
  • Bumps Chart.yaml version 3.5.1 → 3.6.0.

Why

plane-ee's new Integration Event Stream feature (normalized provider-webhook events on a durable RabbitMQ exchange) ships with its own env vars and a reference consumer container (run_integration_event_consumer) that this chart didn't yet expose.

Scope / behavior

  • Not a default-behavior change. services.integration_event_consumer.enabled defaults to false — nothing new deploys unless explicitly turned on.
  • The shared INTEGRATION_EVENT_* vars land on app-vars/silo-vars unconditionally, but they're inert until the app code reads them (the Django settings/Silo env already default to the same values if unset), so api/worker/beat-worker behavior doesn't change beyond gaining these keys.
  • Silo's INTEGRATION_EVENT_INGEST_ENABLED defaults to "0" — ingest stays off.

Testing

  • helm lint charts/plane-enterprise (via alpine/helm:3.14.0 in Docker) — 0 failures.
  • helm template ... --set services.integration_event_consumer.enabled=true --set services.silo.enabled=true — confirmed the new ConfigMap, Deployment, and all INTEGRATION_EVENT_* keys render as expected.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added an optional Integration Event Consumer service for processing integration events through a message queue.
    • Added configurable replicas, resources, scheduling, queue settings, prefetching, and supported providers.
    • Added controls for event ingestion, publishing, retries, cleanup, batching, timeouts, and collection settings.
    • Added conditional configuration with sensible defaults for integration event processing.
  • Chores

    • Updated the enterprise Helm chart and application versions to 3.6.0 and 3.1.4.

…vars + integration-event-consumer deployment

Wires the new integration-event-stream env vars (INTEGRATION_EVENT_* on
app-vars/silo-vars) and adds an integration-event-consumer Deployment,
following the existing webhook-consumer/agent-consumer pattern (reuses the
backend image, runs ./bin/docker-entrypoint-integration-event-consumer.sh).
Bumps chart version to 3.6.0.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 400f3fdf-ed71-4d2f-9600-e292a9cb72ac

📥 Commits

Reviewing files that changed from the base of the PR and between 4e45a7b and ee53765.

📒 Files selected for processing (1)
  • charts/plane-enterprise/Chart.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • charts/plane-enterprise/Chart.yaml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


Walkthrough

The Helm chart adds integration event ingestion settings, shared stream configuration, an optional integration event consumer Deployment, and related ConfigMaps. The chart version changes to 3.6.0, with app version 3.1.4.

Changes

Integration event consumer

Layer / File(s) Summary
Configuration contract
charts/plane-enterprise/values.yaml, charts/plane-enterprise/questions.yml, charts/plane-enterprise/Chart.yaml
The chart defines consumer resources, scheduling options, ingestion settings, stream settings, queue settings, and updated chart versions.
Configuration wiring
charts/plane-enterprise/templates/config-secrets/app-env.yaml, charts/plane-enterprise/templates/config-secrets/silo.yaml, charts/plane-enterprise/templates/config-secrets/integration-event-consumer.yaml
ConfigMaps expose integration event, silo ingestion, and consumer queue settings with defaults.
Consumer workload
charts/plane-enterprise/templates/workloads/integration-event-consumer.deployment.yaml
When enabled, the chart creates the consumer Deployment with configured resources, readiness probing, environment sources, entrypoint, and service account.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Merge Risk: ⚪ Minimal · up to ee537

The chart adds optional integration-event configuration and a consumer deployment that remains disabled by default; no actionable merge-blocking risk remains beyond normal checks and review.

Suggested reviewers: akshat5302

Poem

A rabbit tunes the queue
Helm values carry settings through
The consumer waits in place
ConfigMaps set its pace
A new chart version joins the race

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main changes: adding Integration Event Stream environment variables and an optional integration-event-consumer Deployment.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat-integration_event_publisher

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 Aug 21, 2026

Copy link
Copy Markdown

Linked to Plane Work Item(s)

This comment was auto-generated by Plane

@Saurabhkmr98
Saurabhkmr98 marked this pull request as ready for review August 28, 2026 09:03
Comment thread charts/plane-enterprise/Chart.yaml Outdated
version: 3.5.4
appVersion: "3.1.4"
version: 3.6.0
appVersion: "3.1.2"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be 3.1.4

Comment thread charts/plane-enterprise/Chart.yaml Outdated
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.

3 participants