From 22a9b129dbbc3c00bfe85b923131d7c11ee48810 Mon Sep 17 00:00:00 2001 From: Yoshiofthewire Date: Wed, 25 Nov 2026 14:07:08 -0500 Subject: [PATCH] chore(ci): run the PostgreSQL suites on PostgreSQL 18 The postgres job's service moves from postgres:17 to 18.7-trixie, pinned by digest (same Debian variant). Dependabot ignores PostgreSQL majors. Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 5 +++++ .github/workflows/ci.yml | 2 +- internal/worker/AGENTS.md | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7ba8356e..07151825 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -57,6 +57,11 @@ updates: interval: weekly cooldown: default-days: 3 + # The CI PostgreSQL service is pinned to a major on purpose: a new major is a reviewed + # change (PostgreSQL 19 changes behaviour and its image's data layout), not a digest bump. + ignore: + - dependency-name: "postgres" + update-types: ["version-update:semver-major"] groups: actions: patterns: ["*"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79d66ddb..22ca34de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,7 +105,7 @@ jobs: timeout-minutes: 40 services: postgres: - image: postgres:17@sha256:ff87138949ad9a46f32ff23bd6852b52ce024a13dffe9b4087be98292cdd3b4f + image: postgres:18.7-trixie@sha256:c699303802144847d238196173655dbbecf7a96aeca1565f2b02eb671a1f0b6b env: POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_INITDB_ARGS: --locale=C --encoding=UTF8 diff --git a/internal/worker/AGENTS.md b/internal/worker/AGENTS.md index 967ac553..23b96a37 100644 --- a/internal/worker/AGENTS.md +++ b/internal/worker/AGENTS.md @@ -24,7 +24,7 @@ Elect one multi-tenant scheduler without an external coordination service. ## Verification -- `KYNOTES_TEST_DATABASE_URL= go test -race -count=1 ./internal/worker` +- `KYNOTES_TEST_DATABASE_URL= go test -race -count=1 ./internal/worker` - `TestReplicaWorkerExclusionCancellationAndTakeover` - `TestReplicaWorkerCancelsOnLostConnection` terminates only its schema-specific test lock session.