Skip to content

Load env files through Modal secrets - #11

Open
ofekby wants to merge 1 commit into
mainfrom
env-file-modal-secret
Open

Load env files through Modal secrets#11
ofekby wants to merge 1 commit into
mainfrom
env-file-modal-secret

Conversation

@ofekby

@ofekby ofekby commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace YAML env with env_file and reject old env config
  • parse dotenv files locally and attach values to the Modal Worker via modal.Secret.from_dict
  • fingerprint parsed env values deterministically by sorted key, ignoring comments/order/blank lines
  • exclude configured env files from direct sync, including repo symlink paths
  • bump version to 0.7.0 and update docs/playbooks

Verification

  • uv run pytest -q
  • uv run ruff check .
  • uv run ty check
  • uv build

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