Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate workspace provider configuration on startup #1725

Open
thedadams opened this issue Feb 12, 2025 · 1 comment
Open

Validate workspace provider configuration on startup #1725

thedadams opened this issue Feb 12, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@thedadams
Copy link
Contributor

When the workspace provider is not configured correctly, there are esoteric failures that are hard to decipher. We need to a validation of the workspace-provider configuration on startup to better communicate issues to the user.

@thedadams
Copy link
Contributor Author

The easiest way to test this is to set the OBOT_WORKSPACE_PROVIDER_TYPE environment variable to s3 without setting any of the other configuration variables. This will show the "negative" outcome by logging an error and quitting with a nonzero exit code.

The "positive" outcome is already tested in the three hosted environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant