-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Epic: Improve error handling and configuration validation #10102
Comments
Could you please share some examples here? |
There may be opportunities to improve configuration validation to ensure that all necessary settings are properly configured before use. iterative/dvc-s3#26 |
Most of those are runtime validations. It may be difficult to provide a good error message because of the layers involved (fsspec<>dvc config translation, lack of proper exception on fsspec sides, too many types of auth configs, etc). I associate config validations to mean the static validations. For runtime validations, take a look at discussions on a separate command: #8235. |
While we don't necessarily need Pydantic for runtime validations, switching all schemas to Pydantic would still have some benefits. For example, it would simplify our workflow by eliminating the need to manually synchronize the Pydantic schema used in dvcyaml-schema and the Voluptuous schema, saving us time and improving the development experience. However, I consider this change to be low priority. |
I don't think we need a meta issue, and the problems are being tracked on individual issues. Closing... |
Summary / Background
Confusing error messages and inadequate configuration validation can lead to a poor user experience when working with remote storage providers. The current error messages are not always clear or actionable, making it difficult for users to diagnose and resolve issues.
Scope
Our goal is to provide users with clearer, more actionable error messages and consistent error handling across all providers. Additionally, we will enhance the DVC configuration validation process to prevent errors from occurring in the first place. By doing so, we can improve the overall user experience and reduce friction when working with remote storage providers.
Assumptions
Open Questions
.dvc/config
file in future versions of DVC?Blockers / Dependencies
General Approach
Steps
Must have (p1)
Tasks
Optional / followup (p2)
Tasks
Timelines
The text was updated successfully, but these errors were encountered: