From: petere (@petere) <noreply+petere@github.com>
To: pgbouncer/pgbouncer <noreply+pgbouncer-pgbouncer@github.com>
Subject: [pgbouncer/pgbouncer] PR #1712: ci: Pin formatting job to fixed ubuntu version
Date: Fri, 20 Nov 2026 08:01:14 +0000
Message-ID: <gh-pgbouncer-pgbouncer-1712@github.com> (raw)
The Formatting & linting job was running on ubuntu-latest, which recently switched from ubuntu-24.04 to ubuntu-26.04. This broke the uncrustify build. (Because the uncrustify build is cached, this might not show up unless the cache expires.) We should eventually fix that, but for now, and to avoid future surprises like this, pin to known-good version ubuntu-24.04.
Other uses of ubuntu-latest are left in place. These mostly just wrap another container, so they are unlikely to cause problems like this.
(I'm also working on patches to update uncrustify, but I would first like to have a clean baseline, which could also be backpatched if necessary.)
inline patch 1: .github/workflows/pgbouncer-ci.yml (+1/-1 lines) download inline-1.patchdiff --git a/.github/workflows/pgbouncer-ci.yml b/.github/workflows/pgbouncer-ci.ymlindex 42a43522ff15..110ddb7618ed 100644--- a/.github/workflows/pgbouncer-ci.yml+++ b/.github/workflows/pgbouncer-ci.yml@@ -506,7 +506,7 @@ jobs:
format-check:
name: Formatting & linting
- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7