Fix unregistered celery task - #21305
Merged
Merged
Conversation
bderusha
approved these changes
Aug 7, 2019
openedx.core.djangoapps.ccxcon.tasks.update_ccxcon is not get auto discovered by celery. Adding it to CELERY_IMPORTS to be explicitly added. PROD-283
zainab-amir
force-pushed
the
zamir/PROD-283-Fix-unregistered-celery-task
branch
from
August 8, 2019 05:59
0d91edb to
b7ecd80
Compare
|
Your PR has finished running tests. There were no failures. |
Contributor
|
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production on Thursday, August 08, 2019. |
Contributor
|
EdX Release Notice: This PR may have caused e2e tests to fail on Stage. If you're a member of the edX org, please visit #e2e-troubleshooting on Slack to help diagnose the cause of these failures. Otherwise, it is the reviewer's responsibility. E2E tests have failed. https://gocd.tools.edx.org/go/tab/pipeline/history/STAGE_edxapp_M-D |
Contributor
|
EdX Release Notice: This PR has been deployed to the production environment. |
OmarIthawi
pushed a commit
to appsembler/edx-platform
that referenced
this pull request
Dec 30, 2019
openedx.core.djangoapps.ccxcon.tasks.update_ccxcon is not get auto discovered by celery. Adding it to CELERY_IMPORTS to be explicitly added. PROD-283
morenol
pushed a commit
to Zollege/edx-platform
that referenced
this pull request
Apr 1, 2020
openedx.core.djangoapps.ccxcon.tasks.update_ccxcon is not get auto discovered by celery. Adding it to CELERY_IMPORTS to be explicitly added. PROD-283
morenol
pushed a commit
to eduNEXT/edx-platform
that referenced
this pull request
Apr 1, 2020
openedx.core.djangoapps.ccxcon.tasks.update_ccxcon is not get auto discovered by celery. Adding it to CELERY_IMPORTS to be explicitly added. PROD-283
cruise-control-service
pushed a commit
to eduNEXT/edx-platform
that referenced
this pull request
Apr 14, 2020
openedx.core.djangoapps.ccxcon.tasks.update_ccxcon is not get auto discovered by celery. Adding it to CELERY_IMPORTS to be explicitly added. PROD-283
cruise-control-service
pushed a commit
to eduNEXT/edx-platform
that referenced
this pull request
Apr 29, 2020
openedx.core.djangoapps.ccxcon.tasks.update_ccxcon is not get auto discovered by celery. Adding it to CELERY_IMPORTS to be explicitly added. PROD-283
Alec4r
pushed a commit
to eduNEXT/edx-platform
that referenced
this pull request
Apr 30, 2020
openedx.core.djangoapps.ccxcon.tasks.update_ccxcon is not get auto discovered by celery. Adding it to CELERY_IMPORTS to be explicitly added. PROD-283
cruise-control-service
pushed a commit
to eduNEXT/edx-platform
that referenced
this pull request
May 5, 2020
openedx.core.djangoapps.ccxcon.tasks.update_ccxcon is not get auto discovered by celery. Adding it to CELERY_IMPORTS to be explicitly added. PROD-283
cruise-control-service
pushed a commit
to eduNEXT/edx-platform
that referenced
this pull request
May 15, 2020
openedx.core.djangoapps.ccxcon.tasks.update_ccxcon is not get auto discovered by celery. Adding it to CELERY_IMPORTS to be explicitly added. PROD-283
cruise-control-service
pushed a commit
to eduNEXT/edx-platform
that referenced
this pull request
Apr 21, 2021
openedx.core.djangoapps.ccxcon.tasks.update_ccxcon is not get auto discovered by celery. Adding it to CELERY_IMPORTS to be explicitly added. PROD-283
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.
openedx.core.djangoapps.ccxcon.tasks.update_ccxcon task is not getting autodiscovered by celery and needs to be imported explicitly.
When using celery with django, the autodiscover_tasks function registers all decorated tasks within the task module inside each
INSTALLED_APPSentry. The app openedx.core.djangoapps.ccxcon is not present inINSTALLED_APPS.I have added an explicit name for the task to avoid the automatic naming and relative import problem in the future. For more context read this
PROD-283