Skip to content

Exercise cancellation and stop across overlapping worker passes - #1258

Open
zlareb1 wants to merge 1 commit into
test/generated-memory-domain-propertiesfrom
ci/python-worker-schedules
Open

zlareb1 wants to merge 1 commit into
test/generated-memory-domain-propertiesfrom
ci/python-worker-schedules

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 23, 2026

Copy link
Copy Markdown
Member

Related: #1168

Changelog category

  • Build/Testing/Packaging Improvement

Why

Worker passes overlap and can finish, be stopped, or be cancelled while a sibling is still active. The cursor and stop signal belong to one pass.

Scope and risk

Generate the order of three live passes with event barriers. Each example checks normal completion, a stop, and cancellation. The test runs its event loop in debug mode and uses the development dependency in the base branch.

Compatibility, rollout and rollback

Application interfaces and runtime dependencies are unaffected. Revert the test to remove the check.

Tests

Ran the test under Python 3.12 on the base with the lockfile's Hypothesis version. All 36 generated schedules passed.

AI assistance in the code

  • AI-generated with Codex. Reviewed the assertions and ran the test.

Checklist

  • Applicable focused checks ran locally.
  • The commit is signed off.

Generate the order of three live passes and verify each keeps its own cursor and stop signal.

Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
loom-docs Ready Ready Preview Nov 23, 2026 11:58am UTC

Request Review

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.

1 participant