Files
lightrag/.github
BukeLy bef7577fd9 fix: correct PostgreSQL environment variable name in E2E workflow
Why this change is needed:
E2E tests were failing with:
"ValueError: Storage implementation 'PGKVStorage' requires the following
environment variables: POSTGRES_DATABASE"

The workflow was setting POSTGRES_DB but LightRAG's check_storage_env_vars()
expects POSTGRES_DATABASE (matching ClientManager.get_config()).

How it solves it:
Changed environment variable name from POSTGRES_DB to POSTGRES_DATABASE
in the "Run PostgreSQL E2E tests" step.

Impact:
- PGKVStorage, PGGraphStorage, and PGDocStatusStorage can now properly
  initialize using ClientManager's configuration
- Fixes ValueError during LightRAG initialization

Testing:
Next E2E run should pass environment variable validation and proceed
to actual test execution.
2025-11-20 00:35:03 +08:00
..
2025-02-19 20:07:34 +01:00