Conversation
4a3fcdc to
34b2fc7
Compare
Codecov ReportBase: 87.00% // Head: 87.01% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #8045 +/- ##
==========================================
+ Coverage 87.00% 87.01% +0.01%
==========================================
Files 148 148
Lines 18486 18440 -46
Branches 2520 2514 -6
==========================================
- Hits 16083 16045 -38
+ Misses 2123 2117 -6
+ Partials 280 278 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
cce0acf to
7933f2c
Compare
7933f2c to
1597511
Compare
|
splitting to smaller chunks only or more improvement on the existing implementation? |
Basically, the stamping mechanism is our main blocker for Celery 5.3 release. So we can't release Celery 5 as it will break support in Celery 4 hybrid worker environment and that's a critical release blocker (imagine the process of migrating from 4 -> 5 and not having a hybrid environment working, it will be a nightmare to upgrade). The stamping mechanism feature was developed before I was involved with Celery (at all tbh), so I am trying to complete the feature (reverse engineering the design, etc.) to get it working so we can advance into Celery 5.3 release. The general idea of this PR then is to refactor the feature's implementation, reduce its complexity, complete testing, etc. P.S |
|
thank you for your in detail response |
…ons would cause an exception
…n options would cause an exception
1597511 to
04db0f2
Compare
…om test_stamping unit tests
074e085 to
8a2d6ce
Compare
…replacing a task during stamping
e1654a0 to
e81cab4
Compare
e81cab4 to
3a1568e
Compare
|
@thedrow I've replied to all of your comments.
|
a048932 to
fffd7ea
Compare
6c6b3ce to
fffd7ea
Compare
…e removed before the test
48f13cc to
700f5ba
Compare
I think I found the reason it failed. Very interesting! The code that I removed in this commit was code that indeed ran, but the condition Now the interesting part - investigating this, I discovered that the original code (the one I just removed in db7936b) was actually a patch to a bug in the stamping mechanism, which while the bug existed this code was accessed so it did not have any code cov errors when it was first introduced. As this PR fixes the stamping mechanism, the patch fixes an impossible edge case now (as it is naturally handled now, without need for edge cases patches), so the workaround wasn't needed anymore, making the code coverage error in the PR actually very useful in finding out useless code that can be removed safely. It was damn hard to understand but finally I can get my 100% passing CI, I hate seeing errors! 😁 @auvipy @thedrow |
|
Thank you!! 🙏 🙏 |
W.I.P at the moment