Skip to content

Reference PR: Celery Improvements - BE - #12011

Draft
cslzchen wants to merge 10 commits into
developfrom
feature/celery-improvements
Draft

cslzchen wants to merge 10 commits into
developfrom
feature/celery-improvements

Conversation

@cslzchen

@cslzchen cslzchen commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

antkryt and others added 4 commits November 5, 2026 12:51
* `dj-celery-panel` improvements: fix overview; add queues routing panel
* Fixed conflicts due to admin update from PB&S
* Add Celery stress testing functionality with configuration forms and views
* celery config
* Refactor Celery task routing: consolidate task routes into a new module and update CeleryConfig to use it
* Add default queue tasks to Celery task routing
* Update comments and fix typo in Celery task routing

Note: only removed the queue/task mapping, need a follow-up fix to migrate ones changed/added in PB&S release
…y on external file- #12008

* Inline task routes in CeleryConfig to eliminate dependency on external file
@cslzchen
cslzchen force-pushed the feature/celery-improvements branch from 2a37e25 to b73fce8 Compare November 5, 2026 21:00
@cslzchen

cslzchen commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator Author

@antkryt and @Ostap-Zherebetskyi I cherry picked on top of the latest develop

Originial

Screenshot 2026-11-05 at 16 00 29

Updated

Screenshot 2026-11-05 at 16 01 51

Follow-up

Last PB&S very likely introduced changes to celery config, which we removed from defaults.py, causing conflicts here. We need to review PB&S changes and migrate those updated ones. We need to update our audit doc as well.

Update: it's this osf.management.commands.resync_preprint_dois_v1 task in https://github.com/CenterForOpenScience/osf.io/pull/12000/changes

Ostap-Zherebetskyi and others added 6 commits November 8, 2026 12:11
* Add new Celery tasks for preprint DOI synchronization and registration response migration
* Add unit tests to catch router problems
* Add comment to test_no_task_sets_routing_attributes
* Add worker_init and beat_init signal handlers
* Add sentry message prefix; move signals to __init__.py
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