A DBOS step runs async SQLAlchemy on the launch loop - #320
Closed
czpython wants to merge 1 commit into
Closed
Conversation
czpython
force-pushed
the
eng-874-loop-test
branch
from
August 24, 2026 10:45
081900b to
a0801bc
Compare
Owner
Author
|
Closing by owner decision: the loop-topology assumption is proven (test passed locally and in CI); we take the finding forward without a standing test and handle any dispatch change at deploy time. |
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.
DBOS submits async steps to the event loop it captured at
launch(). This is the contract async database work will stand on, so a regression test now pins it: anAsyncSessionwrite insideDBOS.run_step_asyncsucceeds on the loop that was running at launch.Teardown restores the DBOS registry to its pre-launch state —
destroy()leaves it pointing at the dead launched instance, which breaks the next module that registers scheduled units. Also drops a stale_OWN_DATABASE_MODULESentry for a module that no longer exists.🤖 Generated with Claude Code