Skip to content

Conversation

@auxesis
Copy link
Contributor

@auxesis auxesis commented Sep 30, 2025

Previously Proxy's test harness was using images tagged postgres:latest, which was pointing to the latest release in the Postgres 17 series.

Postgres 18 was released in the last 24 hours, and postgres:latest now points to Postgres 18.

There seem to be some changes in the Postgres 18 containers, and volume mounting now breaks consistently in CI and locally.

For now we will pin the test harness to Postgres 17, and look at supporting Postgres 18 in a subsequent PR.

Acknowledgment

By submitting this pull request, I confirm that CipherStash can use, modify, copy, and redistribute this contribution, under the terms of CipherStash's choice.

Previously we were using images tagged `postgres:latest`, which was
pointing to the latest release in the Postgres 17 series.

Postgres 18 was released in the last 24 hours, and `postgres:latest` now
points to Postgres 18.

There seem to be some changes in the Postgres 18 containers, and volume
mounting now breaks consistently in CI and locally.

For now we will pin to Postgres 17, and look at supporting Postgres 18
later.
So we have continuous feedback on any breakages in the Postgres 17
release series.
Copilot AI review requested due to automatic review settings September 30, 2025 04:14
@auxesis auxesis changed the title fix: pin to Postgres 17 fix: pin tests to Postgres 17 Sep 30, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses a compatibility issue caused by the recent release of Postgres 18 by pinning the Postgres Docker image to version 17. The change prevents CI and local development environments from breaking due to volume mounting issues in the new Postgres 18 containers.

  • Pin Postgres Docker image from latest to version 17 in both compose files
  • Add pull_policy: always to ensure consistent image retrieval

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tests/docker-compose.yml Updates test environment to use Postgres 17 with explicit pull policy
docker-compose.yml Updates main development environment to use Postgres 17 with explicit pull policy

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@auxesis auxesis merged commit aea5786 into main Sep 30, 2025
2 checks passed
@auxesis auxesis deleted the fix/pin-to-postgres-17 branch September 30, 2025 04:28
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.

3 participants