Skip to content

fix(psql): preserve false durability status - #81

Merged
HaoyL666 merged 2 commits into
oracle:mainfrom
HaoyL666:fix/oke-44456-preserve-status-false
Jul 31, 2026
Merged

fix(psql): preserve false durability status#81
HaoyL666 merged 2 commits into
oracle:mainfrom
HaoyL666:fix/oke-44456-preserve-status-false

Conversation

@HaoyL666

Copy link
Copy Markdown
Member

solve: https://jira.oci.oraclecorp.com/browse/OKE-44456

Summary

Preserves PostgreSQL status.storageDetails.isRegionallyDurable: false instead of omitting it during status serialization.

Changes

  • Generate required observed-state boolean fields as pointers where false must remain explicitly represented.
  • Update PostgreSQL DbSystem status to use *bool without omitempty.
  • Add regression coverage for status patch persistence with false.
  • Refresh PostgreSQL generated API, CRD/package artifacts, and generated documentation.

Validation

  • Focused PostgreSQL and generator tests
  • envtest status persistence test
  • go build ./...
  • go vet ./...
  • Live OKE/OCI reconciliation: confirmed OCI durability false is persisted in the CR status

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 21, 2026
@HaoyL666
HaoyL666 requested a review from veera-adithya-d July 21, 2026 17:49
@HaoyL666
HaoyL666 merged commit f094803 into oracle:main Jul 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants