Skip to content

refactor: remove SQLite compatibility backend - #38

Merged
yanpgwang merged 1 commit into
mainfrom
codex/remove-sqlite-backend
Jul 30, 2026
Merged

refactor: remove SQLite compatibility backend#38
yanpgwang merged 1 commit into
mainfrom
codex/remove-sqlite-backend

Conversation

@yanpgwang

Copy link
Copy Markdown
Owner

Summary

  • remove the SQLite CLI/backend, internal/store, and the duplicate single-process Session runtime
  • make PostgreSQL + Temporal the only authoritative control-plane/execution path
  • require a durable sandbox BindingStore; the in-memory binding store is now test-only
  • preserve fast HTTP/official-SDK wire tests with _test.go fakes and update architecture/compatibility docs
  • remove the direct SQLite driver and its unused transitive dependencies

The PostgreSQL Tool Journal is intentionally preserved. internal/pg/journal.go, its SQL queries/migration, and the Temporal Activity wiring remain the durable side-effect boundary.

Validation

  • go test ./...
  • go test -race ./...
  • go vet ./...
  • golangci-lint v2.12.2
  • real PostgreSQL + Temporal + NATS integration suites
  • npm run typecheck && npm run build
  • make local-config
  • make image-smoke IMAGE=managed-agent-go:remove-sqlite
  • binary dependency inspection confirms SQLite is not linked

Claude Opus reviewed the final design and returned APPROVE with no blocking findings. The remaining env-gated integration/CI hardening is deliberately scoped to the next durable-lifecycle closure PR.

@yanpgwang
yanpgwang merged commit 23ea65e into main Jul 30, 2026
4 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