Skip to content

Run sematic validation also when schema validation fails#428

Merged
jsoriano merged 2 commits intoelastic:mainfrom
jsoriano:semantic-validation-after-schema-validation
Sep 28, 2022
Merged

Run sematic validation also when schema validation fails#428
jsoriano merged 2 commits intoelastic:mainfrom
jsoriano:semantic-validation-after-schema-validation

Conversation

@jsoriano
Copy link
Copy Markdown
Member

@jsoriano jsoriano commented Sep 28, 2022

What does this PR do?

It always run sematic validation, even when schema validation fails.

Why is it important?

It gives earlier feedback to package developers, as they can see semantic validation failures also before solving other schema issues.

Checklist

@jsoriano jsoriano requested a review from efd6 September 28, 2022 11:22
@jsoriano jsoriano self-assigned this Sep 28, 2022
@jsoriano jsoriano requested a review from a team as a code owner September 28, 2022 11:22
@elasticmachine
Copy link
Copy Markdown

elasticmachine commented Sep 28, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-09-28T11:23:57.202+0000

  • Duration: 10 min 16 sec

Test stats 🧪

Test Results
Failed 0
Passed 640
Skipped 0
Total 640

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine
Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (7/7) 💚
Files 68.0% (17/25) 👍
Classes 76.471% (26/34) 👍
Methods 56.075% (60/107) 👍
Lines 42.229% (538/1274) 👍 0.045
Conditionals 100.0% (0/0) 💚

Copy link
Copy Markdown
Contributor

@efd6 efd6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@jsoriano jsoriano merged commit 4fab6b0 into elastic:main Sep 28, 2022
@jsoriano jsoriano deleted the semantic-validation-after-schema-validation branch September 28, 2022 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants