store children with database backend#8338
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #8338 +/- ##
=======================================
Coverage 87.15% 87.15%
=======================================
Files 148 148
Lines 18469 18470 +1
Branches 3148 3148
=======================================
+ Hits 16097 16098 +1
Misses 2094 2094
Partials 278 278
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
auvipy
left a comment
There was a problem hiding this comment.
the changes looks good to me, would be great if extra test examples are added
I’ve ran the test twice in the CI and this error repeats. |
|
i saw this random failure before as well, but in another PR that didn't appear! |
I also see it now in another PR I opened myself. We need to find out what's going on, regardless, this means this PR is legit :) |
|
@aaronst have you tested this change in a running environment? |
Yes tested today and the parent/child relationships are working. |
|
@auvipy looks like a breaking change, not a regression because this is not a bug. The .children field needs to be included, but databases created from previous versions of celery probably don’t have it. |
|
I guess we just need schema migrations applied for that |
Attempt to fix #8336. The test passes with
assert meta['children'] is None, but need to test further with a task that actually has children.