Skip to content

Fix the current CI failure - #176

Merged
AD1938 merged 1 commit into
mainfrom
load-env
Mar 15, 2026
Merged

AD1938 merged 1 commit into
mainfrom
load-env

Conversation

@AD1938

@AD1938 AD1938 commented Mar 14, 2026

Copy link
Copy Markdown
Member

The new calendar_test.go (from #173) transitively imports flow/api/serde -> flow/api/env, whose init() calls log.Fatalf when env vars like API_PORT aren't set.

Replace the automatic init() in api/env with an explicit Init() called from main().

@AD1938
AD1938 requested a review from jzhou-otterai March 14, 2026 18:55
@AD1938
AD1938 merged commit 2d42201 into main Mar 15, 2026
1 check passed
@AD1938
AD1938 deleted the load-env branch March 15, 2026 14:06
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