Skip to content

Update 3.1.0 images (#575) - #576

Merged
eleo007 merged 1 commit into
productionfrom
prod-update-pg-3.1.0
Oct 6, 2026
Merged

eleo007 merged 1 commit into
productionfrom
prod-update-pg-3.1.0

Conversation

@eleo007

@eleo007 eleo007 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor
  • Update 3.1.0 images with CVE fixes

* Update 3.1.0 images

* Update to support 14-15 build in deps

* Review comment

* Fix review comments
@eleo007
eleo007 requested review from jvpasinatto and valmiranogueira and a balanced review from Copilot October 6, 2026 13:51
@JNKPercona

Copy link
Copy Markdown
Contributor
Test name Status
api-tests passed

Copilot AI 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.

Copilot review overview

🟡 Changes recommended

Current-version truncation allows automatic selection to return an older PostgreSQL image rebuild.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Updates PostgreSQL Operator 3.1.0 image recommendations for CVE fixes and adjusts version selection to support image rebuild suffixes.

Changes:

  • Refreshes image tags, digests, and dependency ranges.
  • Adds rebuild-aware PostgreSQL version ordering.
  • Expands unit and API regression coverage.
File Description
sources/​operator.3.1.0.pg-operator.json Updates recommended images and digests.
sources/​operator.3.1.0.pg-operator.dep.json Adds rebuild-specific dependency ranges.
server/​filters.go Adjusts rebuild ordering and preserves catalogue keys.
server/​filters_test.go Tests rebuild ordering and dependency selection.
api-tests/​apply_route_test.go Updates version expectations and tests returned dependencies.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread server/filters.go
for _, s := range sorted {
if s.Equal(c) || s.LessThan(c) {
// A -N image rebuild on the same X.Y.Z is newer than the unsuffixed version.
if !pgImageNewer(s, c) {
@eleo007
eleo007 merged commit 5a5f34d into production Oct 6, 2026
3 checks passed
@eleo007
eleo007 deleted the prod-update-pg-3.1.0 branch October 6, 2026 14:40
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.

5 participants