Skip to content

feat: cloudsql split + nais alpha postgres (#784) - #785

Merged
jhrv merged 2 commits into
mainfrom
wtfix
Oct 1, 2026
Merged

jhrv merged 2 commits into
mainfrom
wtfix

Conversation

@jhrv

@jhrv jhrv commented Oct 1, 2026

Copy link
Copy Markdown
Contributor
  • fix: dont use removed pg fields

  • fix: instances -> branches

  • feat(postgres): show local branch names in postgres list

Match the API schema where PostgresBranch.name is local to its Postgres. List Nais branches as / and link to the Postgres resource. Update the schema snapshot, regenerate the client, and cover the Nais + Cloud SQL merge and environment filtering with a table test.

  • feat: split and prepare postgres subcmds

  • fix: fmt

  • fix: fmt and combine

  • fix(alpha postgres): validate relay token, clean up on signals, bound setup

Reject anything but unpadded base64url of 32 bytes before building the Authorization header, since the HTTP stack echoes invalid header values in errors. Run cleanup on SIGTERM and Ctrl-C, bound access creation with the polling timeout, and drop an unused Cloud SQL flag type.

  • feat(cli)!: drop Zalando Postgres, alias nais postgres to cloudsql

Remove the legacy in-cluster Postgres code and grantPostgresAccess client. nais postgres and nais pg now run the Cloud SQL commands so the transition is soft; Nais Postgres lives under nais alpha postgres.

  • feat(cli)!: drop Zalando Postgres, alias nais postgres to cloudsql

    Remove the legacy in-cluster Postgres code and grantPostgresAccess client.
    nais postgres and nais pg now run the Cloud SQL commands and print a
    deprecation warning; Nais Postgres lives under nais alpha postgres.

  • fix: deprecation msg

* fix: dont use removed pg fields

* fix: instances -> branches

* feat(postgres): show local branch names in `postgres list`

Match the API schema where PostgresBranch.name is local to its Postgres.
List Nais branches as <postgres>/<branch> and link to the Postgres
resource. Update the schema snapshot, regenerate the client, and cover the
Nais + Cloud SQL merge and environment filtering with a table test.

* feat: split and prepare postgres subcmds

* fix: fmt

* fix: fmt and combine

* fix(alpha postgres): validate relay token, clean up on signals, bound setup

Reject anything but unpadded base64url of 32 bytes before building the
Authorization header, since the HTTP stack echoes invalid header values in
errors. Run cleanup on SIGTERM and Ctrl-C, bound access creation with the
polling timeout, and drop an unused Cloud SQL flag type.

* feat(cli)!: drop Zalando Postgres, alias nais postgres to cloudsql

Remove the legacy in-cluster Postgres code and grantPostgresAccess client.
nais postgres and nais pg now run the Cloud SQL commands so the transition
is soft; Nais Postgres lives under nais alpha postgres.

* feat(cli)!: drop Zalando Postgres, alias nais postgres to cloudsql

   Remove the legacy in-cluster Postgres code and grantPostgresAccess client.
   nais postgres and nais pg now run the Cloud SQL commands and print a
   deprecation warning; Nais Postgres lives under nais alpha postgres.

* fix: deprecation msg
@jhrv
jhrv enabled auto-merge (squash) October 1, 2026 09:56
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

📝 Changelog preview

Below is a preview of the Changelog that will be added to the next release. Only commit messages that follow the Conventional Commits specification will be included in the Changelog.

v5.51.0 - 2026-10-01

Full Changelog: v5.50.3...v5.51.0

🚀 Features

@jhrv
jhrv merged commit 19ac3e5 into main Oct 1, 2026
22 checks passed
@jhrv
jhrv deleted the wtfix branch October 1, 2026 10:02
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.

1 participant