Skip to content

Show budget violations in the graph UI #217

@paulirish

Description

@paulirish

Problem

I have warning/failing budgets on some of my builds, but looking at the server UI, there's no indication of that. Oooh.. I found it.

eg., on Lighthouse we have these two warning for master branch right now:

⚠️: dist/lightrider/lighthouse-lr-bundle.js failed the gzip budget size limit of 1,464.84 KiB by 388.24 KiB
⚠️: dist/lightrider/report-generator-bundle.js failed the gzip budget size limit of 48.83 KiB by 16.57 KiB

In https://lh-build-tracker.herokuapp.com/ I was looking for evidence of this and just managed to find this:

image

But that wasn't obvious to me without clicking around quite a bit.

Proposed solution

I was expecting to see something in the graph, especially as this budgettype is SIZE. Perhaps the the area that's above budget could get some diagonal shading to help indicate it's outside expected range?

Not sure how DELTA violations could be visualized... placing a warning/error icon at the top "point" of the area slice?

Another idea: an extra annotation could be added to the hovertooltip in these cases. That has plenty of visibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions