-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(lsp): add validation checking to lsp #7097
feat(lsp): add validation checking to lsp #7097
Conversation
ec49e6b
to
b746f0d
Compare
8382042
to
98ec01c
Compare
Looks like some tests are failing. Can you please update the PR? |
98ec01c
to
a1c761a
Compare
PR is updated, should be fixed now. Accidentally pushed a change to examples/profile-test which had a validation error (the change made to demonstrate how this works in the image posted) |
Codecov Report
@@ Coverage Diff @@
## main #7097 +/- ##
==========================================
- Coverage 70.48% 68.52% -1.97%
==========================================
Files 515 558 +43
Lines 23150 26148 +2998
==========================================
+ Hits 16317 17917 +1600
- Misses 5776 7002 +1226
- Partials 1057 1229 +172
Continue to review full report at Codecov.
|
I believe the kokoro test failure is a known flake - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR wires up the
skaffold lsp
to the validation logic, allowing the LSP to mark (via Diagnostics) any skaffold.yaml validation errors that occur while iterating in an IDEExample showing this PR displaying the "Duplicate Image" validation rule in an IDE: