Skip to content

Fix nightly PostgreSQL exclusion filtering - #426

Closed
ibrahim halatci (ihalatci) wants to merge 2 commits into
developfrom
ihalatci-fix-nightly-exclusion-list
Closed

Fix nightly PostgreSQL exclusion filtering#426
ibrahim halatci (ihalatci) wants to merge 2 commits into
developfrom
ihalatci-fix-nightly-exclusion-list

Conversation

@ihalatci

Copy link
Copy Markdown
Contributor

Summary

  • filter nightly PostgreSQL exclusions from nightly_versions instead of release_versions
  • update the directly affected nightly exclusion test expectation

Why

The bug is latent while exclude.nightly is empty: adding any nightly exclusion currently replaces the nightly matrix with filtered release_versions. Filtering nightly_versions preserves the intended nightly matrix while removing only the excluded PostgreSQL versions.

This is required by the companion all-citus matrix change that excludes PostgreSQL 19: citusdata/packaging#1215. Both changes are required, but they can land in either order.

get_postgres_versions() built the excluded nightly list by iterating
release_versions instead of nightly_versions, so any entry under
`exclude.nightly` in pg_exclude.yml silently replaced the nightly
postgres versions with the release ones.

The bug is currently dormant because `exclude.nightly` is empty, but it
makes the nightly exclusion feature unusable: adding a single nightly
exclusion switches nightly builds over to the release matrix. With
citus main at 15.0devel this would have produced PG15/PG16 nightlies,
neither of which main supports any more.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bb18c8e4-f4c5-43b7-92cf-30d6b03deb87
The Oracle Linux fixture excludes PostgreSQL 15 from the nightly matrix, so the corrected filter now leaves only PostgreSQL 14.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@ihalatci

Copy link
Copy Markdown
Contributor Author

Superseded by #423, which merged the same nightly exclusion fix into develop and is included in the stable v0.8.39 tag. Closing rather than resolving the duplicate conflict.

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.

2 participants