Skip to content

Refactor history database migrations#16

Merged
coder-hhx merged 1 commit into
mainfrom
fix/chat-history-schema-migration
May 26, 2026
Merged

Refactor history database migrations#16
coder-hhx merged 1 commit into
mainfrom
fix/chat-history-schema-migration

Conversation

@coder-hhx
Copy link
Copy Markdown
Collaborator

Summary

  • centralize chat-history.sqlite3 connection setup and schema migrations in a shared history_db module
  • migrate chat history, FTS metadata, subagent history, and message bus schema through PRAGMA user_version
  • run history DB initialization during app setup before services can issue history commands

Verification

  • cargo test --manifest-path crates/agent-gui/src-tauri/Cargo.toml history -- --nocapture
  • cargo build --manifest-path crates/agent-gui/src-tauri/Cargo.toml
  • pnpm --dir crates/agent-gui build
  • pnpm --dir crates/agent-gui tauri build

@coder-hhx coder-hhx merged commit 478d552 into main May 26, 2026
6 checks passed
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