Skip to content
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(server): add warnings when versions change #271

Closed
wants to merge 1 commit into from

Conversation

patrickhulce
Copy link
Collaborator

@patrickhulce patrickhulce commented Apr 15, 2020

build comparisons will appear in the usual runtime settings warning modal

dashboard will appear as shaded background on the time delta between the two builds where the change occurred and have a warning in the build overlay with the gauge

image

ref #119

function metaLighthouseVersion() {
return lhrs => {
const version = lhrs[0].lighthouseVersion || '';
const [_, major = '0', minor = '0', patch = '0'] = version.match(/^(\d+)\.(\d+)\.(\d+)/) || [];
Copy link
Collaborator

Choose a reason for hiding this comment

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

do you care about the alpha/beta tag?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not really. we'll never publish a version of lhci that's stuck on an alpha or beta tag and in the event that someone uploads data manually to lhci server using lighthouse@next I'm ok with the idea that they won't get warnings between alpha/beta/final versions

this behavior is also captured by the tests for this file so unlikely to accidentally change it either

pull bot pushed a commit to ZyanKLee/lighthouse-ci that referenced this pull request Apr 16, 2020
@patrickhulce
Copy link
Collaborator Author

super weird, this has already been merged not sure why it's open...

8790c76

there's even activity from the pull bot saying it's been pulled into forks
image

@patrickhulce patrickhulce deleted the version_warnings branch April 16, 2020 18:21
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.

None yet

2 participants