From 4f45df1727ffcb1a110ff535f7be2f86ee3a28f4 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 27 Nov 2026 02:47:01 +0000 Subject: [PATCH] chore: drop obsolete renovate pins, test against PostgreSQL 15 (#40528) PostgreSQL 14 reached end of life on 2026-11-12, so CI moves to 15, the oldest supported major. Also drops two Renovate pins that do nothing: `@mcaptcha/vanilla-glue` has had no release since the pinned `0.1.0-rc2`, and the `gomodMod` constraint equals the `@latest` Renovate installs by default. Changes to the DB test workflow or the `pgsql-shard` action now trigger all DB tests. Before, only SQLite ran, so a PostgreSQL bump like this one went untested. Assisted-by: Claude Code:claude-opus-5-5 --- .github/workflows/files-changed.yml | 2 ++ .github/workflows/pull-db-tests.yml | 4 ++-- renovate.json5 | 7 +------ 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/files-changed.yml b/.github/workflows/files-changed.yml index e9f76c31257..aad53d66bfd 100644 --- a/.github/workflows/files-changed.yml +++ b/.github/workflows/files-changed.yml @@ -66,6 +66,8 @@ jobs: - "tests/gitea-repositories-meta/**" - "tests/testdata/**" - "tools/test-integration.sh" + - ".github/workflows/pull-db-tests.yml" + - ".github/actions/pgsql-shard/**" frontend: - "*.ts" diff --git a/.github/workflows/pull-db-tests.yml b/.github/workflows/pull-db-tests.yml index bd892698528..39c0bdc3730 100644 --- a/.github/workflows/pull-db-tests.yml +++ b/.github/workflows/pull-db-tests.yml @@ -22,7 +22,7 @@ jobs: timeout-minutes: 50 services: pgsql: - image: postgres:14@sha256:c0e9c0e9bac7e4c1834b698217a03ee5c708de30d313c84a506972de0e24b059 + image: postgres:15@sha256:91b9edc40277faf94bc1e3d7ae621b185fa70f3099b94309c4731a8296114870 env: POSTGRES_DB: test POSTGRES_PASSWORD: postgres @@ -58,7 +58,7 @@ jobs: timeout-minutes: 50 services: pgsql: - image: postgres:14@sha256:c0e9c0e9bac7e4c1834b698217a03ee5c708de30d313c84a506972de0e24b059 + image: postgres:15@sha256:91b9edc40277faf94bc1e3d7ae621b185fa70f3099b94309c4731a8296114870 env: POSTGRES_DB: test POSTGRES_PASSWORD: postgres diff --git a/renovate.json5 b/renovate.json5 index 20857b460f1..302f34df41d 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -12,7 +12,6 @@ "separateMajorMinor": false, // include major updates in group PRs "minimumReleaseAge": "5 days", "postUpdateOptions": ["gomodUpdateImportPaths", "pnpmDedupe"], - "constraints": {"gomodMod": "v0.10.0"}, "semanticCommits": "enabled", "osvVulnerabilityAlerts": true, "vulnerabilityAlerts": { @@ -66,10 +65,6 @@ "groupName": "dependencies", // single weekly PR for all dependency updates "semanticCommitType": "chore", // dep updates are rarely fixes for gitea }, - { - "matchPackageNames": ["@mcaptcha/vanilla-glue"], - "allowedVersions": "^0.1", // breaking changes in rc versions need to be handled - }, { "matchPackageNames": ["tailwindcss"], "allowedVersions": "^3", // need to migrate @@ -84,7 +79,7 @@ }, { "matchPackageNames": ["postgres"], - "allowedVersions": "/^14($|[.-])/", // pin to oldest supported major + "allowedVersions": "/^15($|[.-])/", // pin to oldest supported major }, { "matchPackageNames": ["bitnamilegacy/mysql"],