Migrate Mason framework templates to durable runtime - #550
Draft
shivam5 wants to merge 11 commits into
Draft
Conversation
shivam5
force-pushed
the
poc/durable-existing-template-migration
branch
from
September 4, 2026 19:00
9838fe1 to
dc9e40c
Compare
shivam5
force-pushed
the
poc/durable-existing-template-migration
branch
from
September 4, 2026 19:07
dc9e40c to
555f5b7
Compare
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.
Stacked dependency
This is a draft follow-up to #476. Review the single branch-only commit
555f5b7after #476's08b5e7a; once #476 merges, this PR's GitHub diff will collapse to only the template migration.What changed
agent-langgraphandagent-openaitemplates todatabricks_mason.DurableAgentApp.runtime/main.pyas a thin app-construction layer and removes each template's duplicatedruntime/runtime.pyserver.__Host-databricks-app-routercookie, durable polling, and persisted event replay.mason deployto provision/reuse the durability Lakebase backend fordurability-app,agent-langgraph, andagent-openaiprojects.runtime/background.pyand its now-unuseduuid-utilsdirect dependencies./api/healthzabsent; the first invocation initializes the routing cookie locally.The minimal
durability-appintroduced in #476 is unchanged by the branch-only diff.Validation
349 passed15 passed, 1 skipped23 passed, 1 skipped13 passed, 1 skipped21 passed, 1 skippedruff checkruff format --checkty checkuv lock --checkgit diff --checkhealthz,uuid-utils,BackgroundRuns, orruntime.backgroundreferences remain in Mason