Resolve "Backend: Update existing devfile_validator to return all errors"
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
Issue: Backend: Update existing devfile_validator to r... (#545661 - closed)
What does this MR do and why?
Gather all devfile restrictions enforcer errors all at once instead of returning early with the first error.
References
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Choose Create Workspace
and choose your project and give an invalid devfile.
I used example.invalid-multiple-errors-devfile.yaml.erb
content, which is in ee/spec/fixtures/remote_development
Multiple errors are gathered and returned.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #545661 (closed)
Edited by Omar Nasser