Skip to content

Application Versioning#215

Merged
kraftp merged 17 commits intomainfrom
kraftp/app-version
Feb 25, 2025
Merged

Application Versioning#215
kraftp merged 17 commits intomainfrom
kraftp/app-version

Conversation

@kraftp
Copy link
Copy Markdown
Member

@kraftp kraftp commented Feb 22, 2025

The PR expands the notion of application versions, which were previously only used in DBOS Cloud, to support more robust self-hosting of DBOS applications.

  • When DBOS is launched, it constructs an application version by hashing the source of the application's workflows. This version is stable across restarts, but changes if the application's code is changed.
  • The application version can be overridden through the DBOS__APPVERSION environment variable.
  • When recovering workflows, DBOS does not recover workflows belonging to different application versions. This prevents code compatibility issues.
  • Workflows belonging to different app versions can be manually recovered with dbos workflow resume [workflow-ID].

@kraftp kraftp merged commit ec240d8 into main Feb 25, 2025
5 checks passed
@kraftp kraftp deleted the kraftp/app-version branch February 25, 2025 22:52
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.

3 participants