Skip to content

Conversation

peterschmidt85
Copy link
Contributor

Fixes #3182

Comment on lines +617 to 618
# TODO: Migrate to EnumAsString(InstanceTerminationReason, 100) after enough releases to ensure backward compatibility
termination_reason: Mapped[Optional[str]] = mapped_column(String(4000))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens after enough releases? Old instances continue to have non-enum values forever.

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]: Replace Instance.termination_reason values with codes

2 participants