fix: refactor into common uri parsing logic, fix test, and fix compose file (#5261)

refactor into common uri parsing logic, fix test, and fix compose file
This commit is contained in:
Kian Jones
2025-10-08 15:25:22 -07:00
committed by Caren Thomas
parent d3888e0961
commit e58c76124a
2 changed files with 4 additions and 6 deletions

View File

@@ -11,13 +11,11 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
# Database configuration for docker-compose
# Note: LETTA_PG_HOST is intentionally NOT set here because:
# - Inside containers: uses 'letta_db' (from dev-compose.yaml defaults)
# - Host pytest tests: uses 'localhost' (to connect via port mapping)
# Database configuration - these will be used by dev-compose.yaml
LETTA_PG_DB: letta
LETTA_PG_USER: letta
LETTA_PG_PASSWORD: letta
LETTA_PG_HOST: pgvector_db # Internal Docker service name
LETTA_PG_PORT: 5432
# Server configuration for tests
LETTA_SERVER_PASS: test_server_token