Skip to content

Run on Postgres with Drivine 0.2.0 - #47

Merged
jasperblues merged 1 commit into
mainfrom
feat/postgres
Oct 22, 2026
Merged

jasperblues merged 1 commit into
mainfrom
feat/postgres

Conversation

@jasperblues

Copy link
Copy Markdown
Collaborator

The chat store could not run on Postgres, and its Oracle tests ran only with ORACLE_TESTS=true.

Before

  • Drivine 0.1.9: Neo4j, FalkorDB, Memgraph, Oracle.
  • Oracle tests skipped in a plain mvn test and in CI.

Now

  • Drivine 0.2.0: Postgres 14+ as a fifth database, plain SQL with pgvector for the message vector index. No main-code change.
  • The repository and session-kind suites run on Postgres (pgvector/pgvector:pg17 container) and on Oracle Free in every mvn test, so in CI too.
  • README: Postgres row and ### Postgres section; Oracle no longer described as opt-in.

Key change

  • ChatSessionRepositoryOracleTest's body moves to ChatSessionRepositorySqlTests; ChatSessionRepositoryOracleTest and ChatSessionRepositoryPostgresTest subclass it, as SessionKindsAndParts{Oracle,Postgres}Test subclass SessionKindsAndPartsTests.
  • application-postgres.yml sets type: POSTGRES; org.postgresql:postgresql added as a test dependency.
  • OracleCypherFixtures (deprecated in 0.2.0) replaced by SqlCypherFixtures.

@jasperblues
jasperblues merged commit 378f43d into main Oct 22, 2026
8 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