Skip to content

[WIP] Refactor SQLite Driver with glebarez/sqlite to avoid CGO#2213

Merged
PIKACHUIM merged 2 commits intodev-sqlitefrom
copilot/sub-pr-2211
Mar 9, 2026
Merged

[WIP] Refactor SQLite Driver with glebarez/sqlite to avoid CGO#2213
PIKACHUIM merged 2 commits intodev-sqlitefrom
copilot/sub-pr-2211

Conversation

Copy link
Contributor

Copilot AI commented Mar 9, 2026

  • Fix import ordering in internal/bootstrap/db.go (glebarez/sqlite before sirupsen/logrus)
  • Update internal/op/storage_test.go to use github.com/glebarez/sqlite instead of gorm.io/driver/sqlite
  • Run go mod tidy with CGO_ENABLED=0 to remove gorm.io/driver/sqlite and github.com/mattn/go-sqlite3

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@github-actions
Copy link

github-actions bot commented Mar 9, 2026

⚠️ PR 标题需以 feat(): , docs(): , fix(): , style(): , refactor(): , chore(): 其中之一开头,例如:feat(component): 新增功能
⚠️ The PR title must start with feat(): , docs(): , fix(): , style(): , or refactor(): , chore(): . For example: feat(component): add new feature.

如果跨多个组件,请使用主要组件作为前缀,并在标题中枚举、描述中说明。
If it spans multiple components, use the main component as the prefix and enumerate in the title, describe in the body.

如果是破坏性变更,请在类型后添加 !,例如 feat(component)!: 破坏性变更
For breaking changes, add ! after the type, e.g., feat(component)!: breaking change.

…CGO sqlite deps

Co-authored-by: PIKACHUIM <40362270+PIKACHUIM@users.noreply.github.com>
@PIKACHUIM PIKACHUIM marked this pull request as ready for review March 9, 2026 13:48
@PIKACHUIM PIKACHUIM merged commit c726f20 into dev-sqlite Mar 9, 2026
Copilot stopped work on behalf of PIKACHUIM due to an error March 9, 2026 13:49
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.

2 participants