Skip to content

Keep shared schedule labels isolated - #703

Open
IlyaKhalafi wants to merge 1 commit into
taskiq-python:masterfrom
IlyaKhalafi:fix/schedule-label-isolation
Open

IlyaKhalafi wants to merge 1 commit into
taskiq-python:masterfrom
IlyaKhalafi:fix/schedule-label-isolation

Conversation

@IlyaKhalafi

Copy link
Copy Markdown

This PR fixes schedule discovery mutating shared label dictionaries and leaking one task's labels into another task. With this, each schedule gets its own labels while task-level overrides keep their existing precedence.

Fixes #702.

All 375 tests and the repository pre-commit checks pass. Both regression tests fail before the fix.

This branch has not been deployed

No deployments
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.

Shared schedule labels leak between tasks during discovery

1 participant