Skip to content

Feat: Enable celery workers and beat#724

Merged
maltesander merged 45 commits intomainfrom
feat/enable-celery-workers
May 6, 2026
Merged

Feat: Enable celery workers and beat#724
maltesander merged 45 commits intomainfrom
feat/enable-celery-workers

Conversation

@maltesander
Copy link
Copy Markdown
Member

@maltesander maltesander commented Apr 23, 2026

Description

Added two new roles. worker and beat (max 1 replica).

  • New integration test works
  • Logging configurable (currently hardcoded info for worker & beat)
  • Docs missing, examples etc not updated yet.

Currently, RESULTS_BACKEND only supports Redis, no S3 support.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@maltesander maltesander self-assigned this Apr 23, 2026
@maltesander maltesander changed the title Feat: Eenable celery workers and beat Feat: Enable celery workers and beat Apr 23, 2026
@maltesander maltesander moved this to Development: In Progress in Stackable Engineering Apr 24, 2026
@maltesander maltesander linked an issue Apr 25, 2026 that may be closed by this pull request
@adwk67 adwk67 self-requested a review April 27, 2026 14:54
@adwk67 adwk67 moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Apr 27, 2026
Comment thread docs/modules/superset/pages/usage-guide/celery-async-queries.adoc
Copy link
Copy Markdown
Member

@adwk67 adwk67 left a comment

Choose a reason for hiding this comment

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

Looks good - mainly minor things.

Comment thread tests/templates/kuttl/celery-worker/40-install-superset.yaml.j2
Comment thread tests/templates/kuttl/celery-worker/40-assert.yaml
Comment thread rust/operator-binary/src/config/superset.rs Outdated
Comment thread rust/operator-binary/src/crd/mod.rs
Comment thread rust/operator-binary/src/resources/deployment.rs
Comment thread rust/operator-binary/src/resources/deployment.rs Outdated
Comment thread rust/operator-binary/src/superset_controller.rs Outdated
@adwk67
Copy link
Copy Markdown
Member

adwk67 commented Apr 28, 2026

Openshift tests 🟢 https://testing.stackable.tech/view/02%20Operator%20Tests%20(custom)/job/superset-operator-it-custom/45/

We will bring up the CR open question in the planning meeting.

Copy link
Copy Markdown
Member

@adwk67 adwk67 left a comment

Choose a reason for hiding this comment

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

LGTM

@maltesander maltesander added this pull request to the merge queue May 6, 2026
@maltesander maltesander moved this from Development: In Review to Development: Done in Stackable Engineering May 6, 2026
Merged via the queue into main with commit 0966f5a May 6, 2026
12 checks passed
@maltesander maltesander deleted the feat/enable-celery-workers branch May 6, 2026 12:53
@maltesander maltesander added release-note Denotes a PR that will be considered when it comes time to generate release notes. release-note/action-required Denotes a PR that introduces potentially breaking changes that require user action. labels May 6, 2026
@maltesander
Copy link
Copy Markdown
Member Author

Release Notes

Superset now supports running async queries via Celery. Two new roles are introduced, the worker and the beat.
Redis is supported as broker queue and results backend.

Docs

https://docs.stackable.tech/home/nightly/superset/usage-guide/database-connections/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/action-required Denotes a PR that introduces potentially breaking changes that require user action. release-note Denotes a PR that will be considered when it comes time to generate release notes.

Projects

Status: Development: Done

Development

Successfully merging this pull request may close these issues.

Support Async Queries via Celery

3 participants