Skip to content

Conversation

@pomegranited
Copy link

@pomegranited pomegranited commented Jun 24, 2021

Cherry-picks the following PRs from upstream koa.master:

Testing instructions

Sandbox (provisioning):

Ensure that the sandbox provisions, and the appserver's extended celery checks work as expected.

Author Notes & Concerns

Reviewer

iamsobanjaved and others added 2 commits June 24, 2021 17:52
* Update celery routing

- Used routing function instead of class
- Move task queues dictionary to Django settings
- Removed routing_key parameter
- Refactored routing for singleton celery instantiation

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
(cherry picked from commit e3b4d23)
@gabor-boros
Copy link

👍 LGTM

The required `set_code_owner_attribute` decorator was introduced in
v3.12.0, therefore we need to bump the dependency.

(cherry picked from commit f52b84e)
@shimulch
Copy link

@gabor-boros, @pomegranited edx@f52b84e was missing from this PR. I've just pushed it. And trying to re-provision failed app-servers.

@pomegranited
Copy link
Author

This change doesn't seem to be required for Koa, so I'm closing this.

@pomegranited pomegranited reopened this Jul 6, 2021
@pomegranited pomegranited changed the title [FAL-2076] Cherry-pick celery fixes on Koa.3 WIP: [FAL-2076] Cherry-pick celery fixes on Koa.3 Jul 6, 2021
Makes HIGH_PRIORITY_QUEUE a derived setting, which allows
HEARTBEAT_CELERY_ROUTING_KEY to use the correct config variant default.

(cherry picked from commit 2a9067a)
@pomegranited pomegranited force-pushed the jill/celery-fixes-koa.3 branch from 6efcb81 to b8fecc1 Compare July 6, 2021 06:47
@pomegranited
Copy link
Author

Reopened this so that the celerybeat changes from SE-4304 can also be merged into our release branch.

CC @gabor-boros

@pomegranited pomegranited changed the title WIP: [FAL-2076] Cherry-pick celery fixes on Koa.3 [FAL-2076] Cherry-pick celery fixes on Koa.3 Jul 6, 2021
@gabor-boros
Copy link

👍 🎉

  • I tested what's in the test instructions
  • I read through the code

@pomegranited pomegranited merged commit a2ee289 into opencraft-release/koa.3 Jul 8, 2021
@pomegranited pomegranited deleted the jill/celery-fixes-koa.3 branch July 8, 2021 00:03
dliberat pushed a commit that referenced this pull request Jul 8, 2021
[FAL-2076] Cherry-pick celery fixes on Koa.3
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.

5 participants