Be careful when you set reasoning to max, you may get more than you bargained for!
In preparation for adding Docket implementations in some new languages 馃 馃惞, I'm shoring up the Python implementation and its tests. During that process, Opus 5.5 on max found a lot of things to work through. All of these are material reliability improvements in the handling of cancellations and shutdown, and all have been tested against the major downstream libraries, like Prefect and FastMCP.
Also big thanks for the first contribution, @skulitom!
What's Changed
- Bump locked dependencies to clear the anyio advisories by @chrisguidry in #482
- Run CI on ubuntu-26.04 instead of ubuntu-latest by @chrisguidry in #485
- Fix exponential retry overflow before applying maximum delay by @skulitom in #480
- Read positional arguments for per-argument Cooldown, Debounce, and RateLimit by @chrisguidry in #487
- Subscribe to a task's events before reading its state by @chrisguidry in #488
- Refuse to claim a task that was cancelled by @chrisguidry in #489
- Publish the cancelled state when a task is cancelled before it starts by @chrisguidry in #490
- Report running tasks in a snapshot on the memory backend by @chrisguidry in #500
- Clean up a cancelled concurrency waiter on the memory backend by @chrisguidry in #501
- Bump the all-dependencies group with 11 updates by @dependabot[bot] in #491
- Fix the CI coverage gate and wrong examples in the docs by @chrisguidry in #502
- Keep the worker running when a task is cancelled before it starts by @chrisguidry in #503
- Keep the Redis Cluster test fixture's ports from colliding by @chrisguidry in #504
- Redeliver tasks that an abrupt worker shutdown interrupts by @chrisguidry in #505
- Count a task as superseded when its newer generation was cancelled by @chrisguidry in #508
- Read a task's state before and after subscribing to its events by @chrisguidry in #507
- Publish the cancelled state when a claim refuses a cancelled task by @chrisguidry in #506
- Leave a cancelled task pending only while the worker shuts down by @chrisguidry in #510
- Deflake two tests that fail on slow CI runners by @chrisguidry in #514
- Stop the worker's infrastructure tasks without relying on their cancel by @chrisguidry in #515
- Make the worker crash test lose its cancel on every run by @chrisguidry in #516
New Contributors
Full Changelog: 0.25.2...0.26.0
