{{ message }}
Repository navigation
Conversation
Dismiss None execution options before cloning the chord body, matching Signature.apply_async. Covers direct chord dispatch and chained dispatch with priority inheritance enabled or disabled, including zero priority.
This branch has not been deployed
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.

Description
Fixes #7517.
When a chord follows another task in a chain, the tracer passes
priority=Noneif parent-priority inheritance is disabled. The chord clones its body with that value, erasing the body's configured priority. For example, a body withpriority=2reaches the backend withpriority=None.Dismiss
Nonecall options before cloning the chord body, matchingSignature.apply_async(). Explicit priorities, including zero and inherited parent priorities, continue to override the stored value. Adds 12 parametrized cases covering direct chord dispatch and the actual task-tracer-to-chord path, plus a changelog entry.Validation on upstream base
79baa09f2fe08c0aa455b60191b96f6809655282:pytest t/unit/tasks -q: 1,202 passed, 1 skipped, 1 xfailed, plus 27,629 passing subtests, on both Windows/Python 3.12.13 and Linux/Python 3.12.3.bandit.jsoncannot be loaded by this Bandit version (issue_cweis missing). No security configuration or checks were changed.Tests use the in-memory transport/backend. External broker integration tests and the full Python-version matrix were not run locally.
AI assistance: OpenAI Codex prepared the patch, regression tests and this draft on Dcastroro's behalf. Human review is pending.