-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Description:
The application should panic during startup if every provider is disabled. This will prevent silent misconfiguration and ensure that at least one provider is enabled for proper system operations.
Acceptance Criteria:
- During project startup, check if all providers are disabled (either by configuration or code).
- Immediately panic with a clear error message if this condition is met: e.g., "Startup failed: all providers are disabled. Please enable at least one provider."
- Add test cases to confirm this behavior.
- Document this in the startup and configuration documentation.
Context / Motivation:
Silent startup when no providers are enabled can lead to confusion and undetected issues in deployment pipelines.
Additional Notes:
- "Providers" refers to all implementations that the project supports, such as storage providers, authentication providers, etc.
- Double-check if disabling all providers is already prevented in current config.
- If yes, ensure a panic occurs as early as possible.
Feel free to rename "providers" if a more specific term is used within the codebase.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request