feat(kt-db): bump DefaultGraphTypePlugin to v2 with noop migration (Phase 7 #60)#270
Merged
charlie83Gs merged 1 commit intomainfrom Apr 20, 2026
Merged
feat(kt-db): bump DefaultGraphTypePlugin to v2 with noop migration (Phase 7 #60)#270charlie83Gs merged 1 commit intomainfrom
charlie83Gs merged 1 commit intomainfrom
Conversation
…hase 7 #60) First real exercise of the migration framework end-to-end. Composition is unchanged from v1 — the only effect of bumping is that every v1 graph auto-dispatches onto graph_migration_wf at worker boot, the banner briefly shows read_only_reason='migrating', one audit row lands, and the graph ends at v2. Intentional operator-visible exercise of the migration path before a real v3 recipe change ships. Proves: * Startup auto-dispatch (#58) picks up out-of-date graphs. * The Hatchet workflow (#57) commits per-hop. * The audit table + the read-only banner surface the transition. Migration is NoopMigration from kt_config.migrations — the same ready-made class plan.md specifies for version bumps that change composition-as-config but require no data work.
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
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.
Summary
First real exercise of the Phase 7 migration framework end-to-end.
Composition is unchanged from v1 — the only effect of bumping is that
every v1 graph auto-dispatches onto `graph_migration_wf` at worker
boot, the banner briefly shows `read_only_reason='migrating'`, one
audit row lands, and the graph ends at v2.
Intentional operator-visible exercise of the migration path before
a real v3 recipe change ships.
Proves
What it's NOT
`plan.md` specifies for version bumps that change composition-as-
config but require no data work.
Dependencies
Depends on PR #267 (workflow) and PR #269 (auto-dispatch) being merged
for the plugin bump to actually drive a migration round-trip. Merging
this in isolation is safe — the bump just pins `current_version=2` in
the plugin; without the workflow + dispatcher registered, graphs stay
at v1 until those land (then re-register on next boot).
Test plan
🤖 Generated with Claude Code