Skip to content

don't use pg8000 flow for now#4260

Merged
bolyachevets merged 1 commit intomainfrom
investigate-pg8000
Apr 14, 2026
Merged

don't use pg8000 flow for now#4260
bolyachevets merged 1 commit intomainfrom
investigate-pg8000

Conversation

@bolyachevets
Copy link
Copy Markdown
Collaborator

Issue #: /bcgov/entity###

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

Copilot AI review requested due to automatic review settings April 14, 2026 00:01
@sonarqubecloud
Copy link
Copy Markdown

@bolyachevets bolyachevets merged commit 2de6c6d into main Apr 14, 2026
15 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GCP 1Password-backed environment variable mapping for legal-api to avoid using the Cloud SQL Python Connector + pg8000 connection path and instead rely on explicit DB credentials and a Unix socket configuration.

Changes:

  • Add DATABASE_PASSWORD, DATABASE_PORT, and DATABASE_UNIX_SOCKET to the GCP vault env mapping.
  • Remove CLOUDSQL_INSTANCE_CONNECTION_NAME and DATABASE_OWNER_ROLE from the GCP vault env mapping.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bolyachevets bolyachevets deleted the investigate-pg8000 branch April 18, 2026 23:46
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.

2 participants