Repository navigation
ci: run the published-upgrade Postgres tests in their own lane - #1978
Merged
Merged
Conversation
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>
bokelley
requested review from
KonstantinMirin and
rachitm022
as code owners
November 26, 2026 18:09
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean single-file CI change, no blocking or medium findings.
Checked:
.github/workflows/ci.ymlsplits the slowtest_reporting_storage_published_upgrade_pg.pymodule (11–18 min) out of thecorepg-conformance lane into a newpublished-upgradelane with a 30-min budget;coreadds the matching--ignoreso 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 publishedadcp/adcp-reporting-storagewheels 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-conformancejob:published-upgrade, withtimeout_minutes: 30, runs only that module throughscripts/reporting_test_harness.py.coreadds--ignorefor the module. Its 45-minute budget stays, and the expected runtime drops to about 16–25 minutes.What stays the same
Postgres conformance tests (Postgres 16)(pg-conformance-required-gate) is still the only required Postgres check. It needs the wholepg-conformancematrix, so a failure in the new lane still fails the gate. No ruleset change is needed.Postgres conformance tests (Postgres 16, published-upgrade).Tests
ci.ymlparses.ci.ymlpass locally (260 tests):test_ci_scope,test_native_ci,test_release_ci,test_main_release_policiesand the two installed-artifact matrix tests.🤖 Generated with Claude Code