Skip to content

Bugfix: Chord with a chord in header doesn't invoke error callback on inner chord header failure (default config) - #9580

Merged
Nusnus merged 3 commits into
celery:mainfrom
Nusnus:hotfix
Feb 24, 2025
Merged

Nusnus merged 3 commits into
celery:mainfrom
Nusnus:hotfix

Conversation

@Nusnus

@Nusnus Nusnus commented Feb 24, 2025 •

Copy link
Copy Markdown
Member

Fix #9107

Before Fix, Test Fails

t/integration/test_canvas.py::test_chord::test_nested_chord_header_link_error [Confirm the body was not executed] SUBPASS
t/integration/test_canvas.py::test_chord::test_nested_chord_header_link_error [Confirm only one errback was called] SUBFAIL
t/integration/test_canvas.py::test_chord::test_nested_chord_header_link_error FAILED

After Fix, Test Passes

t/integration/test_canvas.py::test_chord::test_nested_chord_header_link_error [Confirm the body was not executed] SUBPASS
t/integration/test_canvas.py::test_chord::test_nested_chord_header_link_error [Confirm only one errback was called] SUBPASS
t/integration/test_canvas.py::test_chord::test_nested_chord_header_link_error PASSED

@Nusnus Nusnus changed the title Hotfix Bugfix: Chord with a chord in header doesn't invoke error callback on header failure (default config) Feb 24, 2025
@Nusnus Nusnus changed the title Bugfix: Chord with a chord in header doesn't invoke error callback on header failure (default config) Bugfix: Chord with a chord in header doesn't invoke error callback on inner chord header failure (default config) Feb 24, 2025
@Nusnus Nusnus self-assigned this Feb 24, 2025
@Nusnus Nusnus added this to the 5.5.0 milestone Feb 24, 2025
@codecov

codecov Bot commented Feb 24, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 78.23%. Comparing base (821e655) to head (bd037b2).
Report is 51 commits behind head on main.

Files with missing lines Patch % Lines
celery/canvas.py 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9580      +/-   ##
==========================================
- Coverage   78.23%   78.23%   -0.01%     
==========================================
  Files         153      153              
  Lines       19052    19055       +3     
  Branches     2521     2523       +2     
==========================================
+ Hits        14906    14907       +1     
- Misses       3860     3861       +1     
- Partials      286      287       +1     
Flag Coverage Δ
unittests 78.21% <33.33%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chord with a chord in header doesn't invoke on_error on header failure

2 participants