Repository navigation
ref(db): Drop legacy origin columns and awaiting_resume status - #3190
Merged
Merged
Conversation
Migration 0057 kept the automation version kind column, the conversation origin columns, and their index for one release, but no later migration dropped them. Drop them now. Workers before 0.288.0 could still write the awaiting_resume execution status after 0089 renamed it. Rename those rows again and stop reading the old name. Co-Authored-By: David Cramer <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dcramer
approved these changes
Nov 11, 2026
23 tasks done
This branch was successfully deployed
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.
Migration 0057 kept
junior_automation_versions.kind, thejunior_conversationsorigin_type/origin_id/origin_run_idcolumns, andjunior_conversations_origin_idxfor one release. Its comment said 0058 drops them, but no migration did. #2184 already removed them from the snapshot, and no runtime code reads them. Migration 0101 drops them withIF EXISTS, and the schema test no longer filters them out.#2959 stopped writing the
awaiting_resumeConversation status in 0.288.0. Workers before that release could still write it after 0089 ran, so 0101 repeats the 0089 rename topaused, andexecutionStatusFromValueno longer accepts the old name. Theawaiting_resumeagent-dispatch outcome is a different contract and does not change.A deployment that upgrades straight from before 0057 would have old workers writing the origin columns during its rollout.
via @dcramer.
--
View Session [Sentry]