fix(server): use plain psycopg with OS libpq#241
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
namrataghadi-galileo
approved these changes
Jun 16, 2026
617a1c4 to
93c9f32
Compare
ShuaiShao93
approved these changes
Jun 17, 2026
namrataghadi-galileo
approved these changes
Jun 17, 2026
galileo-automation
pushed a commit
that referenced
this pull request
Jun 17, 2026
## [3.1.0](ts-sdk-v3.0.0...ts-sdk-v3.1.0) (2026-06-17) ### Features * **engine:** add evaluation runtime tuning ([#239](#239)) ([2f1e5fe](2f1e5fe)) * **server:** bound database connection pool ([#236](#236)) ([80aea8f](80aea8f)) ### Bug Fixes * **evaluators:** configure Luna scorer API URL ([#237](#237)) ([fc516f0](fc516f0)) * **server:** use plain psycopg with OS libpq ([#241](#241)) ([45a33a5](45a33a5))
Collaborator
|
🎉 This PR is included in version 3.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Summary
agent-control-serverto depend on plainpsycopginstead ofpsycopg[binary].binaryandcextras for applications that intentionally choose those psycopg implementations.libpq5in the published server Docker image and setPSYCOPG_IMPL=python.libpq5in Python CI and add a Docker smoke test that verifies psycopg can load libpq inside the image.Why
The server package should not force bundled native psycopg libraries into downstream applications. Plain
psycopggives consumers control over the runtime implementation, while the published Docker image remains self-contained by shipping OSlibpq.Validation
ci,sdk-ts-ci,ui-ci,build-and-push-server,validate,codecov/patch.git diff --check.github/workflows/ci.ymland.github/workflows/docker-publish.yml.uv run --package agent-control-server ruff check --config pyproject.toml server/src server/tests/test_init_agent.py