-
Notifications
You must be signed in to change notification settings - Fork 457
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: including metric table in Console #3215
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3215 +/- ##
==========================================
- Coverage 80.47% 75.66% -4.82%
==========================================
Files 722 722
Lines 11209 11237 +28
Branches 1502 1508 +6
==========================================
- Hits 9020 8502 -518
- Misses 1785 2406 +621
+ Partials 404 329 -75
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 14 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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 looks good in and of itself but needs some related changes:
- A test to make sure this is printed and we don't accidentally regress it in a future change.
- Documentation to show this table and explain what it's for, preferably with some links to EPSS on the assumption that only some of our users will have any idea what the acronym stands for.
- What happens here if the metrics table isn't populated with EPSS? Do we get a table with just CVSS or will it throw an error? Do we need a flag to toggle EPSS on/off? (I think I'd rather EPSS default to on, but given the number of network issues we've seen with NVD I don't think it would be too much of a surprise if some people wanted to disable it)
@terriko |
Having the docs in a separate issue works for me! And yes, I agree that a flag would have to be a separate PR, but no harm in preparing so these PRs can handle a lack of data appropriately via a bit of error handling. |
(The tests can also be in separate PRs if you really want, but I find it easier to have those go together with code personally. I'm less picky about docs as long as they're coming soon.) |
@terriko Only docs will be included in separate PR. the test will be included in this PR. |
The spell check job is just giving me a message that says "error" so I'm going to re-run it and see if it behaves or can at least give me an error message that we can actually resolve. |
Curiosity about the failing spell check aside: if #3224 was a replacement for this PR then maybe this one can be closed? |
@terriko @anthonyharrison told me to add it for now. In the future, we may remove any one of them depending on which reviews. |
Ok, do you still want this one merged, then? |
(I already merged #3224 ) |
@terriko we can merge them for now. And depending on review from user we will keep either this or the other console. (Which user prefer the most or which get more positive review) |
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.
Okay, let's get this merged then!
fixes: #3214