Repository navigation
ci: run the tests and the development environment on PostgreSQL 18 - #1204
Open
tintinhamans wants to merge 1 commit into
Open
tintinhamans wants to merge 1 commit into
tintinhamans wants to merge 1 commit into
Conversation
tintinhamans
marked this pull request as draft
November 13, 2026 21:27
The operator deploys PostgreSQL 18, but CI and the development environment still ran 15. CI's service and the development database move to 18. PostgreSQL 18 cannot open a data directory written by 15, so the development database gets a volume of its own, tools_awx_db_18. The first `make docker-compose` with a tools_awx_db_15 volume copies its database across with pg_dump and pg_restore (the sclorg 18 image's pg_upgrade only upgrades from 17) and leaves the old volume as it was. A failed copy removes the new volume, so the next run tries again. docker-clean-volumes removed tools_awx_db, a volume that no longer exists; it now removes tools_awx_db_18 and tools_awx_db_15. Signed-off-by: tintinhamans <5984296+tintinhamans@users.noreply.github.com>
tintinhamans
force-pushed
the
ci/postgresql-18
branch
from
November 13, 2026 22:08
153eacb to
f6d4361
Compare
tintinhamans
marked this pull request as ready for review
November 13, 2026 22:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
The operator deploys PostgreSQL 18, but CI and the dev environment still ran 15. This moves both to 18.
18 can't read a 15 data directory, so the dev database gets a new volume,
tools_awx_db_18. Iftools_awx_db_15exists,make docker-composecopies the database over once and leaves the old volume alone.docker-clean-volumesalso pointed attools_awx_db, which no longer exists.Full API suite and migrations pass locally on 18. I tested the copy against a 15 volume with data in it, including a failed start.
ISSUE TYPE
COMPONENT NAME
ASCENDER VERSION
Assisted-by: Claude Opus 5.5