-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
critical: 0.12.1 breaks synchronous celery calls (argument mismatch) #495
Comments
Thanks @eedwards-sk for the follow-up! We're checking this issue (and others that have been reported) so that the Celery integration can work as expected. I'll reach you out once I have reproduced the problem. |
Having the same problem over here. Our celery tasks are failing for the same reason (with the same error) when called directly instead of delayed. |
Of note, if I back up to 0.12.0, the problem goes away, but there are a lot of candidate changes to Celery support in the span from 0.12.0 to 0.12.1. Unfortunately, backing up to 0.12.0 puts us up against the Python 3-incompatibility bug we reported a few weeks ago. 😞 |
Thanks @nickwilliams-eventbrite for the feedback! we're giving very high priority to Celery integration. |
@palazzem, any update on this yet? You said you're giving very high priority to it, but it has been 30 days without a fix and we are stuck pinned on 0.12.0, which puts us at the mercy of another bug (Python 3 compatibility, which was fixed in 0.12.1) to make this bug go away. |
@nickwilliams-eventbrite sorry for this huge delay, but the priority is still high and we're working actively on it. Unfortunately, it's taking time because we need more testing for the new integration, especially because we don't want to ship something that may break again instrumentation. We evaluated a new way to instrument Celery because the current approach doesn't play well with old style tasks, in some cases even with decorators (this issue) and with the Because we did a release that solved some problems but raised new ones, we'd like to test it properly and see how we can keep the current compatibility matrix (Celery 3.1+) so the new release will be entirely backward compatible. I will be sure to push the new integration so that you can test it next week. This will help us to confirm all these changes make sense. Anyway, thanks for raising these concerns. This helps us a lot to improve our communication with developers and contributors. I'll be sure to publish status updates on a weekly / bi-weekly basis, so that it's clear what's going on our side. |
I've prepared the PR as discussed before. You can find the PR attached here: #530 It's still a WIP that is under test, but if you're interested to give it a try, your feedback would be great. It introduces some changes you can check in the PR description. I strongly advise to not use it on production until we have more positive feedbacks. It doesn't address the issue with the |
I will try as soon as I can |
Thank you very much! any feedback here or in the PR will be very helpful. If we have positive feedbacks, it will land in our 0.13.0 release. |
I've tested the branch on #530 .
|
Thanks @mgu for the feedback! To answer your points:
|
we just upgraded from 0.11.0 to 0.12.1 and we're now getting errors when calling a task without 'delay'
stack trace:
example of task definition:
calling it this way works:
but as per above, when we call it without the
.delay()
, it fails at the tracer level, and the task never executes:we're instrumenting by running the tracer:
we upgraded to 0.12.1 so we could remove the need to manually configure the celery tracer in code
The text was updated successfully, but these errors were encountered: