Skip to content

[codex] dedupe env loading - #7

Draft
Caser-86 wants to merge 5 commits into
masterfrom
codex/env-loading-cleanup
Draft

Caser-86 wants to merge 5 commits into
masterfrom
codex/env-loading-cleanup

Conversation

@Caser-86

Copy link
Copy Markdown
Owner

What changed\n- Centralized .env loading into scripts/env_file.py\n- Reused the shared loader in the provider-check and demo-env scripts\n- Added tests around the shared loader and provider checks\n- Tightened resource handling in the provider checks\n\n## Why\n- Reduce duplicated parsing logic and keep env behavior consistent across scripts\n- Make the helper scripts easier to maintain and safer to run\n\n## Validation\n- python -m ruff check .\n- python -m pytest -q\n- python -m coverage report --fail-under=85\n- python scripts/validate_demo_env.py\n- python scripts/check_search_provider.py --provider mock\n- python scripts/check_llm_provider.py\n- insight-graph-smoke http://127.0.0.1:8000 --timeout 5

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