feat(async): Add django-q2 with ORM broker and demo job#161
Open
taylor-osler-sentry wants to merge 3 commits intomainfrom
Open
feat(async): Add django-q2 with ORM broker and demo job#161taylor-osler-sentry wants to merge 3 commits intomainfrom
taylor-osler-sentry wants to merge 3 commits intomainfrom
Conversation
fd2ee83 to
4b2ca8e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
django-q2as a dependency and configures it with the ORM broker (backed by the existing PostgreSQLdefaultdatabase)firetower.incidents.tasks.schedule_demoas the first queue task (stub that prints "hello world"), registered via a data migrationdocker/entrypoint.shwith aworkercommand that startsqcluster, and refactors all branches to useexecfor proper signal handling in DockerTest plan
python manage.py migrate— confirm0015_schedule_demoapplies cleanly and aschedule_slo_nagrow appears indjango_q_schedulepython manage.py qcluster— confirm the worker starts and picks up the scheduled taskdocker/entrypoint.sh worker— confirm the container starts the qcluster processmigrate incidents 0014) — confirm the schedule row is removed🤖 Generated with Claude Code