Skip to content

Add Postgres service container to CI check job - #43

Merged
xquantize merged 1 commit into
developfrom
agent/stage-3-ci-postgres
Oct 28, 2026
Merged

xquantize merged 1 commit into
developfrom
agent/stage-3-ci-postgres

Conversation

@xquantize

Copy link
Copy Markdown
Owner

XQU-26: add a pgvector Postgres service so CI runs DB tests.

Acceptance criteria:

  • ci.yml check job has a pgvector/pgvector:pg17 service with health check (pg_isready -U swellsense -d swellsense) and job-level DATABASE_URL postgresql://swellsense:swellsense@127.0.0.1:5432/swellsense (localhost / 127.0.0.1, not hostname postgres)
  • Existing four steps are unchanged (actions/checkout@v4, astral-sh/setup-uv@v6, uv sync --locked, bash scripts/check.sh)
  • docs/plans/stage-3.md has the Slice 7 box ticked and no other change (slices 5 and 6 still unticked)
  • bash scripts/check.sh prints CHECK PASSED locally (db tests still skipped without DATABASE_URL)
  • Only these files changed vs develop: .github/workflows/ci.yml, docs/plans/stage-3.md
  • After you push and CI runs: check passes and the pytest log shows the db tests executed, not skipped (this is the real acceptance for slice 7)

Review: all checks passed. check.sh: CHECK PASSED locally.

Made with Cursor

So db integration tests run against pgvector in GitHub Actions before slices 5 and 6.

Co-authored-by: Cursor <cursoragent@cursor.com>
@xquantize
xquantize merged commit 862c2a2 into develop Oct 28, 2026
1 check passed
@xquantize
xquantize deleted the agent/stage-3-ci-postgres branch October 28, 2026 03:30
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