Upgrade DBOS to 2.30 - #318
Merged
Merged
Conversation
The 2.29 partitioned-queue batch sits on the partition_by=subject_id hot path: better partition-key indexes, index bug fixes, optimized partition query, and batch dequeue. 2.30 adds optimized queue dispatch on top, plus recovery idempotence and final-result writes only while PENDING. 2.29 turns the admin server off by default and deprecates the knob, so the explicit run_admin_server override goes away.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the
dbosfloor from 2.26 to 2.30 and regenerates the lock.Why now: the 2.29 partitioned-queue batch sits on our
partition_by=subject_idhot path — better partition-key indexes (dbos-inc/dbos-transact-py#791), fixes for index bugs present in 2.26 (#794), an optimized partition query (#800), and batch dequeue (#802). 2.30 adds optimized queue dispatch on top (#816). Also picked up: idempotent recovery (#786), final results written only while a workflow is PENDING (#801), and async direct invocations no longer consuming a thread (#781).Changes:
pyproject.toml:dbos>=2.30;uv.lockregenerated (the 2.29 Typer→Click CLI migration dropstyper,typer-slim, andshellinghamfrom the tree).durable/engine.py: droprun_admin_server: False— 2.29 turns the admin server off by default and deprecates the knob. Also flipshutdown()to its positive spelling while touching the file.First boot on 2.30 rebuilds queue indexes automatically; no manual migration step for 2.27–2.30.