From 940b7e7e705a8bfeb4360c8398448f7f321cb81d Mon Sep 17 00:00:00 2001 From: Ajibose Date: Sun, 30 Aug 2026 19:25:05 +0300 Subject: [PATCH] fix(ci): pin pr-test-gate Postgres version to match ci.yml and docs Aligns pr-test-gate.yml's Postgres service image with the version already pinned in ci.yml and docker-compose.yml (16-alpine, digest pinned) and updates docs/DEVELOPMENT.md's stated version floor accordingly, so the backend/Prisma test suite runs against the same Postgres major version everywhere instead of drifting between 15, 16, and a documented "14+" floor. Closes #1282 --- .github/workflows/pr-test-gate.yml | 4 +++- docs/DEVELOPMENT.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-test-gate.yml b/.github/workflows/pr-test-gate.yml index 49c97b09..8260659d 100644 --- a/.github/workflows/pr-test-gate.yml +++ b/.github/workflows/pr-test-gate.yml @@ -27,7 +27,9 @@ jobs: runs-on: ubuntu-latest services: postgres: - image: postgres:15 + # Pinned to match the version used in ci.yml and docker-compose.yml + # (production target). Keep these in sync — see issue #1282. + image: postgres:16-alpine@sha256:e013e867e712fec275706a6c51c966f0bb0c93cfa8f51000f85a15f9865a28cb env: POSTGRES_USER: postgres POSTGRES_PASSWORD: password diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 10c39a4a..c6b39c43 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -11,7 +11,7 @@ Required: - Rust toolchain (stable via rustup) - Node.js 20+ - npm -- PostgreSQL 14+ +- PostgreSQL 16 (matches the version pinned in `docker-compose.yml` and CI) - Docker & Docker Compose (recommended for local infra) - Stellar CLI / Soroban CLI (https://github.com/stellar/stellar-cli)