Skip to content

Correctly ignore tasks without a payload in Task.tasks_from_queue - #382

Merged
jpmelos merged 1 commit into
masterfrom
jpmelos-fix-tasks-missing-payload-bug
Sep 24, 2026
Merged

jpmelos merged 1 commit into
masterfrom
jpmelos-fix-tasks-missing-payload-bug

Conversation

@jpmelos

@jpmelos jpmelos commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Fix a bug in Task.tasks_from_queue:

When include_not_found=False, if a task ID exists in the queues but doesn't carry a payload anymore, tasks_from_queue would process it with the payload from the previous task! Or, if it was the first one in the queue, it would raise an error. Now they are truly skipped.

@jpmelos jpmelos self-assigned this Sep 24, 2026
@jpmelos
jpmelos marked this pull request as ready for review September 24, 2026 17:50
@jpmelos
jpmelos requested a review from thomasst September 24, 2026 17:50
@jpmelos
jpmelos merged commit 2c8712a into master Sep 24, 2026
72 checks passed
@jpmelos jpmelos mentioned this pull request Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants