Skip to content

set prev_version to 13 for rhel10/postgresql-16 specifically - #673

Merged
pkubatrh merged 2 commits into
sclorg:masterfrom
pkubatrh:fix_pg16_prev
Oct 27, 2026
Merged

pkubatrh merged 2 commits into
sclorg:masterfrom
pkubatrh:fix_pg16_prev

Conversation

@pkubatrh

@pkubatrh pkubatrh commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Opened instead of #663 as that PR is lacking distgen parts.

Summary by CodeRabbit

  • Compatibility
    • PostgreSQL 16 packages for RHEL 10 and CentOS Stream 10 now use PostgreSQL 13 as their previous-version baseline. Other platforms continue to use PostgreSQL 15. This platform-specific baseline affects the version relationship used for PostgreSQL 16 packaging on these operating systems; the PostgreSQL 16 version itself remains unchanged.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9963b25a-65ef-4acb-9dc6-cd9c9f67fddd
Commits

Reviewing files that changed from the base of the PR and between bf0707e and 4b09593.

Files selected for processing: 1
  • specs/multispec.yml

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

Walkthrough

PostgreSQL 16 previous-version settings now use 13 for RHEL 10 and CentOS Stream 10. The multispec rules retain version 15 for other platforms.

Changes: PostgreSQL 16 previous-version settings

Layer / File(s) Summary
Set previous-version values by platform
specs/multispec.yml, 16/Dockerfile.c10s, 16/Dockerfile.rhel10
The multispec rules select prev_version and prev_short values of 13 for RHEL 10 and CentOS Stream 10, and 15 otherwise. Both Dockerfiles set POSTGRESQL_PREV_VERSION to 13.

Priority: Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: phracek

Merge Risk: Minimal · up to 4b095

The targeted PostgreSQL 16 previous-version configuration is consistent and presents no identified merge-blocking risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the main change: setting PostgreSQL 16's previous version to 13 for the rhel10 configuration. It is concise and technically related, although it does not mention the match…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title clearly identifies the main change: setting PostgreSQL 16's previous version to 13 for the rhel10 configuration. It is concise and technically related, although it does not mention the matching c10s change.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkubatrh pkubatrh changed the title Fix pg16 prev set prev_version to 13 for rhel10/postgresql-16 specifically Oct 26, 2026
@pkubatrh

Copy link
Copy Markdown
Member Author

[test-all]

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Pull Request validation

Failed

🔴 Failed or pending statuses:

  • Testing Farm - RHEL10 - PyTest - OpenShift 4 - 18[error]
  • Testing Farm - RHEL9 - PyTest - OpenShift 4 - 18[error]
  • Testing Farm - RHEL10 - PyTest - OpenShift 4 - 16[error]
  • Testing Farm - RHEL8 - PyTest - 15[error]
  • Testing Farm - RHEL8 - PyTest - OpenShift 4 - 12[error]
  • Testing Farm - RHEL8 - PyTest - OpenShift 4 - 15[error]
  • Testing Farm - RHEL9 - PyTest - OpenShift 4 - 16[error]
  • Testing Farm - RHEL9 - PyTest - OpenShift 4 - 15[error]
  • Testing Farm - RHEL8 - PyTest - OpenShift 4 - 16[error]
  • Testing Farm - RHEL9 - PyTest - OpenShift 4 - 13[error]

🔴 Review - Missing review from a member (1 required)


Triggered by Workflow Run

@pkubatrh

Copy link
Copy Markdown
Member Author

[test-all]

@pkhartsk pkhartsk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after upgrade tests pass

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
Fedora - 16Fedora-latestx86_64✅ passed26.10.2026 15:19:3813min 16stest pipeline
RHEL10 - 16RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 15:19:3914min 36stest pipeline
RHEL10 - 18RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 15:48:4616min 56stest pipeline
Fedora - PyTest - 15Fedora-latestx86_64✅ passed26.10.2026 15:19:3513min 45stest pipeline
RHEL10 - Unsubscribed host - PyTest - 16RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 15:19:4315min 57stest pipeline
Fedora - PyTest - 16Fedora-latestx86_64✅ passed26.10.2026 15:19:4514min 20stest pipeline
CentOS Stream 9 - 13CentOS-Stream-9x86_64✅ passed26.10.2026 15:19:5514min 21stest pipeline
CentOS Stream 10 - PyTest - 16CentOS-Stream-10x86_64✅ passed26.10.2026 15:19:3917min 49stest pipeline
RHEL9 - 13RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 15:19:4217min 6stest pipeline
CentOS Stream 9 - 18CentOS-Stream-9x86_64✅ passed26.10.2026 15:19:4817min 47stest pipeline
RHEL9 - Unsubscribed host - PyTest - 15RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 15:19:5316min 51stest pipeline
CentOS Stream 9 - PyTest - 13CentOS-Stream-9x86_64✅ passed26.10.2026 15:19:4018min 23stest pipeline
RHEL9 - 18RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 15:19:4118min 17stest pipeline
RHEL9 - 15RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 15:19:4118min 9stest pipeline
RHEL9 - PyTest - 13RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 15:19:5318min 49stest pipeline
RHEL8 - 16RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 15:19:4319min 34stest pipeline
CentOS Stream 9 - PyTest - 18CentOS-Stream-9x86_64✅ passed26.10.2026 15:19:4120min 24stest pipeline
RHEL9 - PyTest - 16RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 15:19:5021min 31stest pipeline
CentOS Stream 9 - PyTest - 15CentOS-Stream-9x86_64✅ passed26.10.2026 15:19:5120min 43stest pipeline
Fedora - 18Fedora-latestx86_64✅ passed26.10.2026 15:36:2511min 47stest pipeline
RHEL10 - Unsubscribed host - 16RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 15:33:5818min 1stest pipeline
CentOS Stream 10 - 16CentOS-Stream-10x86_64✅ passed26.10.2026 15:35:5914min 17stest pipeline
Fedora - PyTest - 18Fedora-latestx86_64✅ passed26.10.2026 15:36:2314min 36stest pipeline
RHEL9 - Unsubscribed host - 13RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 15:38:0515min 41stest pipeline
RHEL10 - PyTest - OpenShift 4 - 18RHEL-10.2-Nightlyx86_64❌ error26.10.2026 15:38:1614min 19stest pipeline
RHEL9 - PyTest - OpenShift 4 - 18RHEL-9.8.0-Nightlyx86_64❌ error26.10.2026 15:42:0517min 16stest pipeline
RHEL10 - PyTest - OpenShift 4 - 16RHEL-10.2-Nightlyx86_64❌ error26.10.2026 15:38:2120min 44stest pipeline
RHEL9 - Unsubscribed host - PyTest - 16RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 15:42:1816min 23stest pipeline
RHEL8 - PyTest - 16RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 15:34:0427min 1stest pipeline
RHEL8 - PyTest - 15RHEL-8.10.0-Nightlyx86_64❌ error26.10.2026 15:38:1223min 20stest pipeline
RHEL8 - PyTest - OpenShift 4 - 12RHEL-8.10.0-Nightlyx86_64❌ error26.10.2026 15:38:2224min 34stest pipeline
CentOS Stream 9 - 15CentOS-Stream-9x86_64✅ passed26.10.2026 15:42:1222min 30stest pipeline
RHEL8 - PyTest - OpenShift 4 - 15RHEL-8.10.0-Nightlyx86_64❌ error26.10.2026 15:40:2727min 38stest pipeline
RHEL9 - PyTest - OpenShift 4 - 16RHEL-9.8.0-Nightlyx86_64❌ error26.10.2026 15:40:0128min 19stest pipeline
RHEL9 - PyTest - OpenShift 4 - 15RHEL-9.8.0-Nightlyx86_64❌ error26.10.2026 15:40:2928min 15stest pipeline
RHEL8 - PyTest - OpenShift 4 - 16RHEL-8.10.0-Nightlyx86_64❌ error26.10.2026 15:40:1030min 42stest pipeline
RHEL9 - PyTest - OpenShift 4 - 13RHEL-9.8.0-Nightlyx86_64❌ error26.10.2026 15:40:2033min 45stest pipeline
Fedora - 15Fedora-latestx86_64✅ passed26.10.2026 16:00:3412min 8stest pipeline
CentOS Stream 10 - PyTest - 18CentOS-Stream-10x86_64✅ passed26.10.2026 15:54:4322min 31stest pipeline
RHEL9 - Unsubscribed host - 18RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 15:52:1828min 26stest pipeline
RHEL8 - 12RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 15:52:2829min 60stest pipeline
CentOS Stream 10 - 18CentOS-Stream-10x86_64✅ passed26.10.2026 16:06:4216min 44stest pipeline
RHEL8 - PyTest - 12RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 16:00:5839min 43stest pipeline
RHEL10 - Unsubscribed host - 18RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 16:00:3248min 48stest pipeline
RHEL9 - Unsubscribed host - 16RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 16:02:3348min 49stest pipeline
RHEL10 - PyTest - 18RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 16:07:1044min 8stest pipeline
RHEL10 - PyTest - 16RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 16:02:3253min 41stest pipeline
RHEL9 - Unsubscribed host - PyTest - 18RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 15:54:251h 4min 33stest pipeline
RHEL9 - 16RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 15:52:501h 6min 41stest pipeline
RHEL9 - PyTest - 18RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 16:08:5450min 9stest pipeline
RHEL8 - 15RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 16:00:431h 4min 52stest pipeline
RHEL10 - Unsubscribed host - PyTest - 18RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 16:04:451h 3min 12stest pipeline
RHEL9 - Unsubscribed host - PyTest - 13RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 16:02:421h 9min 12stest pipeline

@pkubatrh

pkubatrh commented Oct 27, 2026 •

Copy link
Copy Markdown
Member Author

Thanks!
Upgrade works with the exception of RHEL8 where I expect version 13 is missing in: https://github.com/sclorg/postgresql-container/blob/master/test/conftest.py#L53 - likely missed while doing #665
Will follow up with a different PR.
Merging.

@pkubatrh
pkubatrh merged commit 17a77b9 into sclorg:master Oct 27, 2026
52 of 62 checks passed
@pkubatrh
pkubatrh deleted the fix_pg16_prev branch October 27, 2026 08:28
@pkubatrh

Copy link
Copy Markdown
Member Author

Followup PR #674

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants