Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

r4victor
Copy link
Collaborator

@r4victor r4victor commented Aug 6, 2025

Closes #2724
Closes #2756

This PR:

  • Stores all enums as strings in the DB so that DB migrations are not needed when adding new members to enums.
  • Makes JobSubmission.termination_reason and Run.termination_reason strings so that adding new termination reasons is possible without breaking old clients.

@r4victor r4victor changed the title Issue 2724 enums as strings Replace enums with strings in the DB, JobSubmission.termination_reason, and Run.termination_reason Aug 6, 2025
@r4victor r4victor merged commit 0fea032 into master Aug 11, 2025
25 checks passed
@r4victor r4victor deleted the issue_2724_enums_as_strings branch August 11, 2025 05:36
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.

[Internal] Start using important job termination reasons Allow introducing job and run termination reasons without breaking compatibility

1 participant