Collect method "psi": should it throw "Chrome installation not found"?
See original GitHub issueAs far as I understood, while using the PageSpeed API (--collect.method=psi
), the tests would run in Google’s cloud instead of trying to find an instance of Chrome on my local environment and run (which motivated me to generate an API token in my Google Cloud account and favour this method, so I don’t need to run it on my CI, implying I don’t need to have Chrome installed on my CI environments).
Did I miss something or this is indeed a bug?
NOTE: Not even using LHCITEST_IGNORE_CHROME_INSTALLATIONS
(an option I found being used in an automated test for the healthcheck
script made the check to be skipped (but maybe it just works if I call healthcheck explicitly, which is not the case - using autorun
)
Context:
- Relates to: #340
- Version used:
0.4.4
- Command used:
lhci autorun --config=./lighthouse-ci.config.json --collect.url=https://some/url/with/index.html --collect.numberOfRuns=1 --collect.settings.chromeFlags=--no-sandbox --collect.settings.emulatedFormFactor=desktop --collect.settings.onlyCategories=["performance", "accessibility", "best-practices"] --collect.method=psi --collect.psiApiKey=some-token
- Config used:
{
"ci": {
"assert": {
"assertions": {
"resource-summary:document:size": ["error", {"maxNumericValue": 2200}],
"resource-summary:stylesheet:size": ["error", {"maxNumericValue": 15000}],
"resource-summary:font:size": ["error", {"maxNumericValue": 105000}],
"resource-summary:image:size": ["error", {"maxNumericValue": 377006}],
"resource-summary:script:size": ["error", {"maxNumericValue": 500000}]
}
},
"upload": {
"ignoreDuplicateBuildFailure": true,
"urlReplacementPatterns": ["s#/[a-f0-9]+/#/#"],
"serverBaseUrl": "http://some/server:9001/",
"githubApiHost": "https://github.com/api/v3"
}
}
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Fix problems installing Chrome - Google Chrome Help
Start menu or Start menu . Open the Windows Settings app. In the "Find a setting" search box, type Firewall. Click Allow an...
Read more >Forcing garbage collection in Google Chrome - Stack Overflow
Start with checking if 'Collect Garbage' button at the bottom of this panel really does its job, if not - you probably have...
Read more >Release Notes - Play services - Google Developers
December 15, 2022. The latest update to the Google Play services Matter library upgrades the APIs from beta status to generally available.
Read more >Bottled - Message in a Bottle - Apps on Google Play
Release what's on your mind * Write your message, place it in a bottle and launch it into the sunset * Meeting new...
Read more >Troubleshooting Amazon OpenSearch Service
If your cluster does not use dedicated master nodes, quorum loss occurs when ... the OpenSearch process crashing due to a continuous heavy...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Here’s what the CircleCI job looks like currently, including the workaround.
Ah, you’re right @yuriteixeira the Chrome installation healthcheck shouldn’t apply when you’re using the PSI collect method 👍
It’s a bug we’ll fix thanks very much for filing! 😃