-
Notifications
You must be signed in to change notification settings - Fork 655
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
Add status check when target=filesystem #378
Comments
Thanks for filing @idbartosz !
We don't run the status check because there's nothing for the status check to link to. Filesystem target was meant as a workaround for the user to do whatever they want with the results. I'm not terribly opposed to running the status check for the filesystem target, but it's definitely a less than ideal experience to not be able to click details and see the report or any additional information. |
Thanks for quick response! Actually Jenkins CI has a nice
And thank you for this option 😀 not everyone needs advanced features like comparison with historical data, or wants to expose their results in some external storage solution. The status check has some handy automation behind it, like assertions or generating checks for individual URLs - it's a bit wasteful to do those on your own when they are already here 🙂 |
I don't think there's any way for LHCI to figure this out in a way that isn't just much more work than the end user posting a status to GitHub 😆 We need to know the URL per URL per run at the time of upload. The URLs won't be known to userland until after filesystem upload. Just leave this up to
This is a good fallback though. If GitHub token is found and this is set, we'll run github status check for filesystem 👍 |
I had to do a bit of troubleshooting to figure out that the github status checks don't post when the target is set to Unless this changes, it might be helpful to update the upload documentation and the app docs to clarify that a target other than filesystem is required. |
Currently when
target
is set tofilesystem
there's no report back to Github statuses api. Is there a reason whyrunGithubStatusCheck
wasn't added forrunFilesystemTarget
? Maybe it also would be worth to addpending
state before Lighthouse collect is ran 🙂lighthouse-ci/packages/cli/src/upload/upload.js
Lines 566 to 569 in daac2d1
The text was updated successfully, but these errors were encountered: