Repository navigation
Conversation
… from Beta - New `PgStandbyCount` integer enum (0, 1, 2, Unknown(i64)) for the `pgStandbyCount` schema. - `standby_count` on PostgresService, PostgresServiceListItem, PostgresServicePostRequest and PostgresServicePatchRequest (optional) and on the orphan BasePostgresService (required, as the spec resolves it). - Regenerate BETA_OPERATIONS: 19 Postgres operations are no longer Beta. - CLI: `cloud postgres create/update` send no standbyCount (pinned by the existing builder tests); live test literals gain the new field. Refs #1466 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 17, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #1466. API PR 2 of 3, stacked on the services PR. CLI exposure follows in #1471.
PgStandbyCountinteger enum (0/1/2,Unknown(i64)catch-all).standby_count: Option<PgStandbyCount>onPostgresService,PostgresServiceListItem,PostgresServicePostRequestandPostgresServicePatchRequest. It is required on the orphanBasePostgresService, as the spec says.BETA_OPERATIONS(regenerated);DEPRECATED_FIELDSunchanged.standby_count: None(pinned).spec_coverage_testis expected to fail here; its failures list only the ClickStack drift.🤖 Generated with Claude Code
Note
Medium Risk
New required field on BasePostgresService and struct-literal updates can break callers; standby count ties to HA configuration and most Postgres APIs are no longer marked Beta.
Overview
Adds
PgStandbyCount(0/1/2 plusUnknown) and optionalstandby_counton Postgres service/list/create/PATCH models, with a required field onBasePostgresService. Omitted values follow HA-type defaults on the API; wire JSON uses integerstandbyCount, omitted when unset on requests.Graduates 19 Postgres client operations from Beta by trimming
meta::BETA_OPERATIONS(create remains beta). Updates changelog, model/facade tests, wiremock client coverage, and a live integration check for default standby count whenhaTypeisnone.clickhousectlonly setsstandby_count: Noneon create/update until CLI exposure lands in a follow-up.Reviewed by Cursor Bugbot for commit 3f369c8. Bugbot is set up for automated code reviews on this repo. Configure here.