Skip to content

Centralize load_dotenv() to entry points only#59

Merged
gkamradt merged 1 commit into
mainfrom
cleanup/centralize-load-dotenv
Jan 15, 2026
Merged

Centralize load_dotenv() to entry points only#59
gkamradt merged 1 commit into
mainfrom
cleanup/centralize-load-dotenv

Conversation

@ericc59
Copy link
Copy Markdown
Contributor

@ericc59 ericc59 commented Jan 14, 2026

Summary

  • Remove redundant load_dotenv() calls from 13 adapter files
  • Add missing load_dotenv() to cli/run_all.py (was a bug)
  • Keep load_dotenv() only in entry points: main.py, cli/run_all.py, cli/submission_cli.py

Test plan

  • All 201 tests pass
  • Single task run verified with random-baseline
  • Batch run verified with random-baseline

- Remove redundant load_dotenv() calls from 13 adapter files
- Add missing load_dotenv() to cli/run_all.py (was a bug)
- Keep load_dotenv() only in entry points: main.py, cli/run_all.py, cli/submission_cli.py
- Keep in test files for standalone execution
@gkamradt gkamradt merged commit bb02733 into main Jan 15, 2026
6 checks passed
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