Skip to content

docs: celery migration guide#3908

Merged
mrkaye97 merged 5 commits into
hatchet-dev:mainfrom
BloggerBust:docs/celery-migration-guide
May 21, 2026
Merged

docs: celery migration guide#3908
mrkaye97 merged 5 commits into
hatchet-dev:mainfrom
BloggerBust:docs/celery-migration-guide

Conversation

@BloggerBust
Copy link
Copy Markdown
Contributor

Description

Adds a new Python migration guide for moving from Celery to Hatchet.

The guide focuses on practical migration steps for an existing Celery project, including dependency and configuration changes, task definitions, task invocation, workers, retries, timeouts, delayed and periodic execution, Celery Canvas patterns, result handling, routing, lifecycle hooks, cancellation, priority, testing, and final cleanup.

This also adds supporting Python migration snippets under sdks/python/examples/migration_guides/celery.py, which are referenced from the MDX guide and generated into the docs snippet system.

Type of change

  • Documentation change (pure documentation change)

What's Changed

  • Added from-celery-to-hatchet.mdx migration guide
  • Added Python snippet examples for Celery-to-Hatchet migration patterns
  • Covered Celery task definitions, invocation, workers, retries, timeouts, scheduling, Beat, Canvas, result handling, routing, signals/hooks, cancellation, priority, and testing
  • Added generated snippet references for Hatchet code examples
  • Regenerated docs snippets and mirrored Python examples

Add a practical Python migration guide covering Celery to Hatchet
project changes across task definitions, invocation, workers, retries,
timeouts, scheduling, Canvas workflows, observability, routing, signals,
cancellation, priority, and testing.

Add generated Python snippets for the Hatchet-side migration examples.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

@BloggerBust is attempting to deploy a commit to the Hatchet Team on Vercel.

A member of the Team first needs to authorize it.

@BloggerBust BloggerBust changed the title Docs/celery migration guide docs: celery migration guide May 13, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hatchet-docs Ready Ready Preview, Comment May 15, 2026 1:48pm

Request Review

@BloggerBust BloggerBust marked this pull request as ready for review May 15, 2026 13:09
Comment thread examples/python/migration_guides/celery.py Outdated
Comment thread frontend/docs/pages/v1/from-celery-to-hatchet.mdx
Copy link
Copy Markdown
Contributor

@mrkaye97 mrkaye97 left a comment

Choose a reason for hiding this comment

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

this is great! nice work 🥳

@mrkaye97 mrkaye97 merged commit 243f41d into hatchet-dev:main May 21, 2026
27 of 31 checks passed
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