Skip to content

fix: skip missing seed env files - #25

Merged
sourishkrout merged 1 commit into
mainfrom
trude/seed-optional-env-files
Aug 7, 2026
Merged

sourishkrout merged 1 commit into
mainfrom
trude/seed-optional-env-files

Conversation

@sourishkrout

@sourishkrout sourishkrout commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • treat seed EnvFiles as optional ordered candidates
  • skip missing dotenv files while preserving read/parse errors
  • expand implicit seed env-file defaults to .env, .env.local, .env.development, .env.dev
  • cover internal seed, raw value store, and public pkg/owl/seed behavior

Verification

  • go test ./internal/seed ./pkg/owl/seed -run 'Test(NewStore|NewRawValueStore|DotenvVariables)' -count=1 -v
  • make check
  • runme run test
  • runme run lint

@sourishkrout
sourishkrout force-pushed the trude/seed-optional-env-files branch from fdfabb0 to 3b2e091 Compare August 7, 2026 18:36
@sourishkrout
sourishkrout force-pushed the trude/seed-optional-env-files branch from 3b2e091 to e47cae1 Compare August 7, 2026 18:37
@sourishkrout
sourishkrout merged commit e2956e8 into main Aug 7, 2026
2 checks passed
@sourishkrout
sourishkrout deleted the trude/seed-optional-env-files branch August 7, 2026 18:39
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