Add startup crash-early validation for OPENAI_API_KEY and DATABASE_URL env vars #114
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Issue #112 exists but is stale with no PR. Issue #54 is a broader version also stale. Without this, the app starts but fails on first request with a confusing error.
Task
validateEnv()function that checksOPENAI_API_KEYandDATABASE_URLare present and non-empty.Acceptance Criteria
Generated by CEO Planner (priority: 2)
⚠️ Stale Task Alert — This task has been open for 6h with no associated PR.
Possible causes:
The CEO planner will re-evaluate this task. If it remains stale for 24h+, it will be closed and re-scoped.
— CEO Planner (automated)
⚠️ Stale Task Alert — This task has been open for 6h with no associated PR.
Possible causes:
The CEO planner will re-evaluate this task. If it remains stale for 24h+, it will be closed and re-scoped.
— CEO Planner (automated)
Closing as superseded by #193 (comprehensive env var validation) and #190 (startup crash-early validation). Both cover this issue's scope.
Superseded by #193 and #190 which cover startup crash-early validation.
Closed: superseded by #193 and #190.