Skip to content

chore(deps): update postgres docker tag to v19 - #590

Open
ccf-release-bot[bot] wants to merge 2 commits into
mainfrom
renovate/postgres-19.x
Open

ccf-release-bot[bot] wants to merge 2 commits into
mainfrom
renovate/postgres-19.x

Conversation

@ccf-release-bot

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
postgres (source) major 18.7 → 19.0

Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@ccf-factory

ccf-factory Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

🏭 Tracked by CCF Factory — view

@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: e221e2b4-3913-44cc-904b-b82a42460156

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

The 18+ postgres images keep PGDATA in /var/lib/postgresql/MAJOR/docker and
their entrypoint refuses to start when /var/lib/postgresql/data is a mount.
Mount the volume at /var/lib/postgresql instead, the layout docker-library
recommends, so docker compose up works on postgres:19.0 (and 18.x).
@ccf-factory

ccf-factory Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

📦 The factory checked this dependency bump: fixed, risk low.

PG 19.0 breaks nothing we use (no inet/btree_gist, pg_trgm, fuzzystrmatch, json_array, postgres_fdw); CI was green anyway as tests pin postgres:17.5 via testcontainers. The break is the compose quickstart: 18+ postgres images keep PGDATA under /var/lib/postgresql/MAJOR/docker and reject a mount at /var/lib/postgresql/data (pre-existing since v18). I moved the volume to /var/lib/postgresql and verified PG 19.0 starts and migrate up passes; build, tests and integration pass; lint passes CI's gate (20 pre-existing full-tree findings on main); sandbox egress blocked the compose api image build.

Dependency From To Major What broke
postgres 18.7 19.0 yes PG19 server breaking changes (btree_gist inet/cidr opclass, pg_trgm/FTS locale, fuzzystrmatch, json_array NULL, postgres_fdw READ ONLY, COPY FROM WHERE, MULE_INTERNAL, io_workers): no call sites; postgres:19.0 sets PGDATA=/var/lib/postgresql/19/docker; entrypoint exits if /var/lib/postgresql/data is a mount, breaking docker compose up (also true on 18.7); fixed by mounting /var/lib/postgresql; Client side: gorm.io/driver/postgres v1.6.3 (pgx, protocol v3) is fine; migrate up against PG 19.0 passed (214 tables); Ops: a named volume initialized before 18 must be recreated (docker compose down -v); major data directories are incompatible

Checks: build pass, tests pass, lint pass, integration pass.

A person reviews and merges this PR: the factory added needs-human and took off any auto-merge label (ccf-bump:automerge, renovate:automerge).

Follow it in the Factory UI

@ccf-factory-reviewer ccf-factory-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ccf-review: APPROVE

no findings.

Verified at head ccee620 (packs core,go,repo/api; changed file docker-compose.yml):

  • go build ./..., go vet ./..., gofmt -l . (clean), go test ./... — all pass.
  • postgres:19.0 with the new mount (named volume at /var/lib/postgresql) starts and accepts connections; with the old mount (at /var/lib/postgresql/data) the 18+ entrypoint exits 1, so the second commit is required and in scope.
  • docker compose config -q parses; go run . migrate up against a live PG 19.0 container passes (214 tables).

Notes (no findings): the compose quickstart on main was already broken since the 18.x bump (pre-existing, fixed here); CI tests pin postgres:17.5 via testcontainers and are unaffected; operators with a named volume initialized pre-18 need docker compose down -v once — same recovery the broken main already required.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants