Skip to content

polling: enable scheduling policies to avoid concurrency issue.#102

Merged
absoludity merged 1 commit into
masterfrom
0.1.9-with-scheduling-policy-support
Feb 24, 2026
Merged

polling: enable scheduling policies to avoid concurrency issue.#102
absoludity merged 1 commit into
masterfrom
0.1.9-with-scheduling-policy-support

Conversation

@absoludity

Copy link
Copy Markdown
Collaborator

When using Julee to demo a polling pipeline, I uploaded multiple files, one after the other, which triggered two polling workflows (since I'd updated the schedule to run every 5s). The problem was that the second one ran before the first was finished, so wasn't able to see the previous completion, which caused an error.

Here we introduce a scheduling policy which is passed through to temporal's own schedule config, so that we can SKIP polling workflows while a previous one is running, avoiding the concurrency issue.

I also had the build fail due to a setuptools deprecation coming into effect on Feb 18, 2026. The license is now a string type, not a table type, as per https://packaging.python.org/en/latest/specifications/pyproject-toml/#license (similar for the license classifier).

@absoludity absoludity left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm moving ahead to land this small release (which is tested in another PR, and is backwards compatible) so that I can start further work.

@absoludity absoludity merged commit 7029a9c into master Feb 24, 2026
6 checks passed
@absoludity absoludity deleted the 0.1.9-with-scheduling-policy-support branch February 24, 2026 01:46
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.

1 participant