Skip to content

testserver: materialize postgres project status defaults - #5430

Merged
pietern merged 1 commit into
mainfrom
acc-purge-on-delete
Jun 4, 2026
Merged

testserver: materialize postgres project status defaults#5430
pietern merged 1 commit into
mainfrom
acc-purge-on-delete

Conversation

@pietern

Copy link
Copy Markdown
Contributor

A cloud run of the postgres_projects/purge_on_delete acceptance test (added in #5414) showed that the backend materializes default_endpoint_settings (1/1/86400s) and history_retention_duration (604800s) in the project status even when the spec omits them. The local testserver left these empty, diverging from cloud.

PostgresProjectCreate now fills in these backend defaults when the spec doesn't provide them, with any spec-provided values overriding field-by-field. This brings the local test in line with the cloud golden output.

This pull request and its description were written by Isaac.

A cloud run of the postgres_projects/purge_on_delete acceptance test
(added in #5414) showed that the backend materializes
default_endpoint_settings (1/1/86400s) and history_retention_duration
(604800s) in the project status even when the spec omits them. The local
testserver left these empty, diverging from cloud.
PostgresProjectCreate now fills in these backend defaults when the spec
doesn't provide them, with any spec-provided values overriding
field-by-field.
Co-authored-by: Isaac
@pietern
pieterntemporarily deployed to test-trigger-is June 4, 2026 08:59 — with GitHub Actions Inactive
@pietern
pieterntemporarily deployed to test-trigger-is June 4, 2026 08:59 — with GitHub Actions Inactive
@pietern
pietern requested a review from denikJune 4, 2026 09:02
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Commit: ff9138f

Run: 26941820203

@pietern
pietern added this pull request to the merge queueJun 4, 2026
Merged via the queue into main with commit 0cbdd49Jun 4, 2026
25 checks passed
@pietern
pietern deleted the acc-purge-on-delete branch June 4, 2026 15:06
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Commit: 0cbdd49

Run: 26960479715

Sign up for freeto 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.

3 participants

@pietern@eng-dev-ecosystem-bot@andrewnester