From 911c9cc41785e5a5bcf624a35a91f1c32eb3ce02 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Thu, 26 Nov 2026 18:09:29 +0000 Subject: [PATCH] ci: run the published-upgrade Postgres tests in their own lane test_reporting_storage_published_upgrade_pg.py installs the published adcp / adcp-reporting-storage wheels and upgrades their ledgers. It takes 11-18 minutes, about 40% of the core Postgres lane, which now runs 27-45 minutes on next and was cancelled at its 45-minute timeout twice (#1977). It moves to a published-upgrade matrix lane with a 30-minute budget. The required "Postgres conformance tests (Postgres 16)" gate already needs the whole pg-conformance matrix, so it covers the new lane. Closes #1977 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c491f62b5..1bda655639 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -202,11 +202,16 @@ jobs: matrix: include: # Core also builds and installs the reporting wheel/sdist fixtures. - # It runs 25-29 minutes on main, so 30 cancelled it on slow runners. + # Without the published-upgrade module it runs about 16-25 minutes + # on next; with it, 27-45 minutes, and slow runners hit 45 (#1977). - lane: core timeout_minutes: 45 - lane: process timeout_minutes: 15 + # Installs the published adcp / adcp-reporting-storage wheels from + # PyPI and upgrades their ledgers: 11-18 minutes on its own. + - lane: published-upgrade + timeout_minutes: 30 services: postgres: # CI-local ephemeral database. POSTGRES_HOST_AUTH_METHOD=trust @@ -289,11 +294,15 @@ jobs: --ignore=tests/conformance/reporting/test_reporting_tier_projection.py \ --ignore=tests/conformance/reporting/test_reporting_schedule_schema.py \ --ignore=tests/conformance/reporting/test_reporting_rc6_rolling.py \ + --ignore=tests/conformance/reporting/test_reporting_storage_published_upgrade_pg.py \ -v -ra ;; process) python scripts/reporting_test_harness.py pytest tests/conformance/reporting/test_reporting_notification_process_matrix.py -v -ra ;; + published-upgrade) + python scripts/reporting_test_harness.py pytest tests/conformance/reporting/test_reporting_storage_published_upgrade_pg.py -v -ra + ;; *) echo "Unknown Postgres conformance lane" exit 1