-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
tools: add coverage reporting & enforcement to router check #7727
tools: add coverage reporting & enforcement to router check #7727
Conversation
Signed-off-by: Derek Schaller <[email protected]>
Signed-off-by: Derek Schaller <[email protected]>
Signed-off-by: Derek Schaller <[email protected]>
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.
Looks good. This seems super useful. WDYT of following tiny nit:
Signed-off-by: Derek Schaller <[email protected]>
@dio thanks for the review! Updated based on your feedback |
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.
This is a really awesome feature. A potential TODO/follow-up would be to have an option to print all of the routes that aren't covered?
@mattklein123 thanks! Definitely agree about the follow up. I wanted to get basic coverage reporting and enforcement but I’d like to expand this to produce reports and include more comprehensive coverage of the fields for each route entry |
Awesome! |
Signed-off-by: Derek Schaller <[email protected]>
Signed-off-by: Derek Schaller <[email protected]>
Signed-off-by: Derek Schaller <[email protected]>
Signed-off-by: Derek Schaller <[email protected]>
@dio @rgs1 @mattklein123 updated this based on feedback. Can I get another look over this? :) |
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.
Thanks looks good with some small nits. Also, can you add a test that fails/passes some coverage results? It should be pretty easy if based on the other tests. Thank you!
/wait
We possibly can add a small check in route_tests.sh |
Signed-off-by: Derek Schaller <[email protected]>
Signed-off-by: Derek Schaller <[email protected]>
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.
/wait
Signed-off-by: Derek Schaller <[email protected]>
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.
Awesome, tiny nit and then ready to ship.
/wait
Signed-off-by: Derek Schaller <[email protected]>
Signed-off-by: Derek Schaller <[email protected]>
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.
Thanks!
@dio any additional comments? |
Description: add coverage reporting & enforcement for routes in router check tool
Risk Level: Low
Testing: Manually tested
Docs Changes: Included
Release Notes: Included
Fixes #7567
Signed-off-by: Derek Schaller [email protected]