Skip to content

ci: run the published-upgrade Postgres tests in their own lane - #1978

Merged
bokelley merged 1 commit into
nextfrom
ci/split-published-upgrade-lane
Nov 26, 2026
Merged

bokelley merged 1 commit into
nextfrom
ci/split-published-upgrade-lane

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Closes #1977.

Summary

The core Postgres conformance lane now takes 27–45 minutes on next, and twice it hit its 45-minute timeout while tests were still passing (#1969, #1954). About 40% of that time is one module: tests/conformance/reporting/test_reporting_storage_published_upgrade_pg.py. It installs the published adcp / adcp-reporting-storage wheels from PyPI and upgrades their ledgers, which takes 11–18 minutes on its own. This PR moves that module into its own lane.

Changes

.github/workflows/ci.yml, pg-conformance job:

What stays the same

  • Required gate: Postgres conformance tests (Postgres 16) (pg-conformance-required-gate) is still the only required Postgres check. It needs the whole pg-conformance matrix, so a failure in the new lane still fails the gate. No ruleset change is needed.
  • Test coverage: the module runs with the same steps, services and harness as before; it's just in a separate job.
  • Check names: the new job shows up as Postgres conformance tests (Postgres 16, published-upgrade).

Tests

  • ci.yml parses.
  • The six test files that read ci.yml pass locally (260 tests): test_ci_scope, test_native_ci, test_release_ci, test_main_release_policies and the two installed-artifact matrix tests.
  • This PR's own CI is the real check: both lanes should finish well under budget.

🤖 Generated with Claude Code

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 <noreply@anthropic.com>

@aao-secretariat aao-secretariat 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.

Ladon verdict: Approve

Approve — clean single-file CI change, no blocking or medium findings.

Checked:

  • .github/workflows/ci.yml splits the slow test_reporting_storage_published_upgrade_pg.py module (11–18 min) out of the core pg-conformance lane into a new published-upgrade lane with a 30-min budget; core adds the matching --ignore so the module runs exactly once (no coverage loss).
  • Required gate (pg-conformance-required-gate) aggregates matrix lanes by job name, so the new lane still fails the gate on failure with no gate edit needed.
  • ci.yml-parsing tests (test_ci_scope, test_reporting_installed_artifact_matrix) key by job name and are unaffected.
  • No tests disabled, no ruff rule dropped, no blanket mypy ignore — CI gates stay armed.

No no-auto-approve team match, gated_paths false, high_risk false. No Critical/High/Medium findings. Rows 1–8 do not fire; falls through to row 9.

@bokelley
bokelley merged commit fcaef7f into next Nov 26, 2026
42 checks passed
@bokelley
bokelley deleted the ci/split-published-upgrade-lane branch November 26, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant