Skip to content

Add async migration operation mode#133

Merged
KeKs0r merged 1 commit into
mainfrom
marc/async-migration-mode
May 27, 2026
Merged

Add async migration operation mode#133
KeKs0r merged 1 commit into
mainfrom
marc/async-migration-mode

Conversation

@KeKs0r
Copy link
Copy Markdown
Member

@KeKs0r KeKs0r commented May 27, 2026

Summary

  • add opt-in mode=async migration operations with deterministic query ids and resumable polling
  • persist per-operation journal state for started/completed/failed async work
  • support before-retry compensation before resubmitting interrupted async operations
  • guard retries when in-progress journal state was written for a different migration checksum
  • update ClickBench to load from the ObsessionDB-hosted mirror using async mode

Verification

  • bun test packages/cli/src/test/commands/migrate/async-apply.test.ts packages/cli/src/test/runtime/journal-store.test.ts packages/cli/src/test/runtime/safety-markers.test.ts

@KeKs0r KeKs0r merged commit 5a62874 into main May 27, 2026
6 checks passed
@KeKs0r KeKs0r deleted the marc/async-migration-mode branch May 27, 2026 07:24
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.

1 participant