Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
675 commits
Select commit Hold shift + click to select a range
96e1046
cli: --chrome-ignore-default-flags (#10184)
connorjclark Jan 7, 2020
5dcb666
core(js-libraries): hide fast path items from table, put all in debug…
connorjclark Jan 7, 2020
81c6e92
report: remove Util.UIStrings mutation, add I18n renderer class (#10153)
connorjclark Jan 7, 2020
17ac7e2
tests: remove global.URL (#10186)
connorjclark Jan 7, 2020
2f63d28
cli: fix csv for --output (#10188)
connorjclark Jan 8, 2020
5e4b5fe
misc: release script push tag (#10193)
connorjclark Jan 9, 2020
9c5d31a
tests(report-ui-features): fix tools button suite to pass isolated ru…
johnemau Jan 9, 2020
ff87d69
docs(auth): use --disable-storage-reset for chrome-debug (#10189)
connorjclark Jan 9, 2020
9d6590d
tests(report-ui-features): add empty list and single item test cases …
johnemau Jan 10, 2020
9931d24
core: measure time for GatherRunner.runPass (#10205)
connorjclark Jan 10, 2020
922471b
misc: add predictive perf to lantern test set (#10209)
patrickhulce Jan 10, 2020
5870cb4
deps(devtools-protocol): upgrade to 0.0.729809 (#10207)
connorjclark Jan 10, 2020
8a66059
tests(driver): type check (#10123)
connorjclark Jan 10, 2020
03ef2bc
tests(gather-runner): replace getMockedEmulationDriver w/ mock… (#10136)
connorjclark Jan 11, 2020
1abf9b8
core(resource-summary): ignore /favicon.ico (#10190)
connorjclark Jan 13, 2020
a9cfbf9
core(font-size): speed up gatherer (#10200)
connorjclark Jan 13, 2020
90ade4f
docs: update scoring.md to v5 (#10223)
mattjared Jan 13, 2020
e0dbb0a
report: fix ghost menu in print (#10216)
johnemau Jan 14, 2020
6fba15d
tests(gather-runner): type check (#10215)
connorjclark Jan 14, 2020
e87a8b7
i18n(report): runtime settings and tools (#9166)
exterkamp Jan 14, 2020
56d1840
core(script-elements): parallelize getting request contents (#9713)
connorjclark Jan 14, 2020
b07dbf6
report: close drop down menu when focus is lost (#10208)
johnemau Jan 14, 2020
5049d46
core: move unused-css to computed artifact (#10160)
connorjclark Jan 14, 2020
22455f4
core: warn if document was redirected (#10157)
connorjclark Jan 14, 2020
e689945
core(audits): Add more keywords to blocklist (#9986)
Malvoz Jan 14, 2020
4ecf6b4
tests: avoid redirect in failureMode warn test (#10230)
patrickhulce Jan 15, 2020
8a7e700
core(largest-contentful-paint): update docs link (#10213)
Jan 15, 2020
1b5756f
core(lhr): add numericUnit to audit result (#9979)
patrickhulce Jan 15, 2020
4367845
tests(smokehouse): make bytes gzip size checks less restrictive (#10227)
connorjclark Jan 15, 2020
f145f84
core(installable-manifest): icon requirement 192px -> 144px (#10175)
connorjclark Jan 15, 2020
b02ef65
lantern: keep first layout/paint/parse events regardless of duration …
connorjclark Jan 15, 2020
0f47355
report: align audit warnings (#10232)
connorjclark Jan 16, 2020
e0b44a5
i18n(import): new audit strings and small edits (#10244)
jazyan Jan 22, 2020
46ce3a4
core(emulation): use Moto G4 for mobile emulation (#10191)
connorjclark Jan 22, 2020
17aed28
misc: bump bundlesize threshold for LR (#10245)
paulirish Jan 22, 2020
84cc7aa
misc: add git3po scripts (#10231)
paulirish Jan 23, 2020
1e9f2f9
core(noopener): use node detail type (#10242)
Beytoven Jan 23, 2020
c4a5ff9
build: use npm pack'd lighthouse in doc integrations (#10254)
connorjclark Jan 23, 2020
99eb3c6
docs: recipe for using puppeteer in a gatherer (#10253)
connorjclark Jan 24, 2020
56658fa
docs(readme): yarn test-docs, jq (#10263)
connorjclark Jan 24, 2020
b692e11
misc(git3po): land-when-green (#10256)
connorjclark Jan 24, 2020
6454620
misc: delete CODEOWNERS now that we have a review rotation
paulirish Jan 25, 2020
58de8f2
docs: add protobuf install directions
paulirish Jan 25, 2020
3ecf490
misc(git3po): use --start-at (#10266)
connorjclark Jan 25, 2020
bd9dc67
misc(git3po): lock-resolved
connorjclark Jan 26, 2020
6149c42
docs(readme): Add siteimprove to integrations section (#9836)
Munter Jan 27, 2020
c5be90d
core(audits): add handling of 'incomplete' results from axe-core (#10…
jayaddison Jan 27, 2020
b21d007
core(tracehouse): improved attribution for XHRs + paint/layout… (#10001)
patrickhulce Jan 28, 2020
74f13c9
core(gather): new computed artifact, js-bundles
connorjclark Jan 28, 2020
de149bc
report: add channel to runtime settings
paulirish Jan 28, 2020
21c8886
misc(git3po): need milliseconds epoch, not seconds (#10271)
paulirish Jan 28, 2020
c54dfcd
tests(audits): Return type correction (LH.Audit.Result -> LH.Audit.Pr…
jayaddison Jan 28, 2020
e7abad4
deps: bundlesize to 0.18.0 (#10272)
paulirish Jan 28, 2020
03fd8e6
misc(build): bundle pub ads plugin for devtools
brendankenny Jan 28, 2020
88905c1
deps: update axe-core to 3.4.1
jayaddison Jan 28, 2020
ef4b5e4
misc: add CODEOWNERS to finish codereview assignment setup (#10274)
paulirish Jan 28, 2020
8d8a052
docs: Fix broken link to aria-toggle-field-name
msomji Jan 28, 2020
3e0e5f0
docs: tweaks to auth + pptr docs (#10277)
paulirish Jan 30, 2020
9083561
misc: tweak CODEOWNERS to finish codereview assignment setup (#10282)
paulirish Jan 30, 2020
edc1535
docs(readme): add a table of contents (#10283)
paulirish Jan 30, 2020
582751a
misc: write lantern accuracy to file on update
patrickhulce Jan 30, 2020
623baa9
core(lantern): do not create self-dependencies via timers (#10280)
patrickhulce Jan 30, 2020
955271b
core(uses-rel-preconnect): warn on 3+ preconnects (#9903)
piotrzarycki Jan 31, 2020
1b52a82
core(installable-manifest): check for fetchable icon
connorjclark Jan 31, 2020
7ffb922
misc(git3po): add-needs-priority, remove-needs-priority (#10257)
connorjclark Feb 4, 2020
48b5135
core(stacks): handle numeric version from library detector
patrickhulce Feb 4, 2020
f187429
core(preconnect): pass without warning at 2 links (#10293)
patrickhulce Feb 4, 2020
39badfd
misc(git3po): filter out pull requests for need-priority scripts
connorjclark Feb 6, 2020
7ecfb08
core(lightwallet): render timing-budget audit (#9925)
khempenius Feb 7, 2020
bc4d3d5
core(lightwallet): compute resource metrics by origin (#10105)
khempenius Feb 7, 2020
2fe5972
core: add temporary config for source map features (#10311)
connorjclark Feb 10, 2020
0c0a05b
viewer(css): adding grayscale & wait cursor while loading (#10305)
connorjclark Feb 10, 2020
51df179
core: support old version of Page.getInstallabilityErrors
connorjclark Feb 11, 2020
b1dc2cf
core: experimental config (#10333)
connorjclark Feb 13, 2020
b6270c4
misc: add git3po script for PR assignees (#10338)
patrickhulce Feb 17, 2020
840b245
devtools: update roll script to print correct command for tests (#10310)
connorjclark Feb 18, 2020
6696ce4
clients(extension): firefox (#10332)
connorjclark Feb 19, 2020
fa70748
core(legacy-javascript): new audit (#10303)
connorjclark Feb 19, 2020
252274c
tests(static-server): allow hook to modify response body
connorjclark Feb 19, 2020
ce529a1
new_audit: add charset declaration audit (#10284)
Beytoven Feb 19, 2020
d9d2999
core: audit.meta.__internalOptionalArtifacts
connorjclark Feb 20, 2020
d15b81c
build(smokehouse): bundle smoke test runner
connorjclark Feb 20, 2020
53a8619
viewer(css): cursor:wait indicator no longer blocked by pointer-event…
awdltd Feb 21, 2020
661fd62
misc: update commitlint config to latest, loosen subject-case
paulirish Feb 24, 2020
ff34be1
tests(smoke): deep clone expectations. do not use p.stdout (#10361)
connorjclark Feb 25, 2020
0b41206
build: fix appveyor cache failures (#10281)
jayaddison Feb 25, 2020
1621bc7
clients(devtools): use the same desktop throttling as lightrider
connorjclark Feb 25, 2020
672bb60
core(unused-javascript): augment with source maps
connorjclark Feb 25, 2020
0efa37e
clients(extension): remove content security policy (#10380)
connorjclark Feb 26, 2020
f150573
new_audit(pwa): maskable icon audit (#10370)
Beytoven Feb 26, 2020
7b5051e
core(charset audit): loosen charset regexps (#10389)
mathiasbynens Feb 27, 2020
00a33c0
docs(readme): add lighthouse-batch-parallel to related projects (#10385)
Carr1005 Feb 28, 2020
0420e6d
deps: pptr to 1.20.0 (#10275)
paulirish Feb 28, 2020
a8a0f8f
new_audit: add cumulative layout shift metric
paulirish Feb 28, 2020
c59c0bb
misc(compare-runs): report metrics, add gather/audit modes, etc
paulirish Feb 28, 2020
2d287eb
clients(devtools): roll to front_end/third_party
connorjclark Feb 28, 2020
44c305f
misc(viewer): mention other lighthouse channels (#10384)
staabm Mar 2, 2020
3b9fe96
core(lightwallet): add firstPartyHostnames to budget.json (#10324)
khempenius Mar 3, 2020
42649ad
report: fix link contrast issue in dark mode (#10364)
SphinxKnight Mar 4, 2020
54408d2
deps(snyk): update snyk snapshot (#10423)
snyk-bot Mar 4, 2020
a5ff4f5
deps: update axe-core to 3.5.1 (#10344)
jayaddison Mar 4, 2020
ea9d226
core(duplicated-javascript): new audit
connorjclark Mar 6, 2020
feaee89
core(cls): add learn more link (#10427)
connorjclark Mar 10, 2020
9ad4a18
misc: resolve jest-haste-map naming collision warning (#10447)
paulirish Mar 10, 2020
c93e80b
tests: add github action w/ basic CI tasks
paulirish Mar 10, 2020
77cc782
core(scoring): apply v6 score weightings (#9949)
paulirish Mar 11, 2020
40a187f
tests: update coveragePathIgnore jest configuration
paulirish Mar 11, 2020
468c10b
v6.0.0-beta.0 (#10451)
paulirish Mar 12, 2020
a74c807
misc: add non-null annotations to keep internal lint happy (#10454)
brendankenny Mar 13, 2020
ee7cb3b
core(lcp): remove todo, mark score curve points as official (#10452)
brendankenny Mar 14, 2020
30ec2e3
tests(smoke): use range for unused bytes expectations (#10473)
connorjclark Mar 17, 2020
72f0774
core(source-maps): workaround CORS for fetching maps (#9459)
connorjclark Mar 17, 2020
f3d0e34
misc: rename license header to use Lighthouse Authors (#10469)
patrickhulce Mar 18, 2020
7904efb
core(ImageElements): add usesPixelArtScaling and usesSrcSetDensityDes…
sk- Mar 19, 2020
2afddc7
misc: ignore duplicate builds in lhci dogfood (#10482)
patrickhulce Mar 19, 2020
244b61a
deps(snyk): update snyk snapshot (#10478)
snyk-bot Mar 19, 2020
42da38b
docs(readme): update PageSpeed Green in related projects
olex-green Mar 19, 2020
c8b7163
new_audit: check images are big enough
sk- Mar 19, 2020
2b500fc
core: remove some dead code in driver.js (#10491)
Beytoven Mar 23, 2020
1457b4c
docs(readme): add AwesomeTechStack to lighthouse integrations (#10475)
AndreasKubasa Mar 24, 2020
8821839
core(unused-javascript): update doc link to web.dev
connorjclark Mar 25, 2020
69ef99d
docs(variability): expand on hardware recommendations
patrickhulce Mar 25, 2020
f1216f9
core(driver): pause after FCP event before resolving load (#10505)
patrickhulce Mar 27, 2020
ff4f82f
core(audits): remove audio-caption accessibility audit (#10453)
beaufortfrancois Mar 27, 2020
6330d77
docs: add link to gist for using lighthouse audits directly
connorjclark Mar 30, 2020
61207be
docs: emphasize some points on what makes a good audit
connorjclark Mar 30, 2020
8443176
misc(driver): rename ForFCP to ForFcp (#10516)
patrickhulce Mar 30, 2020
20e4bc7
misc(compare-runs): fix filter, allow for resume, reorganize output
connorjclark Mar 30, 2020
f6a3201
report: update table and inline code formatting (#10437)
Beytoven Mar 30, 2020
fffc33b
deps(snyk): update snyk snapshot (#10531)
snyk-bot Apr 1, 2020
e55fcd2
core: include finished state on hidden network-requests audit (#10530)
brendankenny Apr 1, 2020
2b61483
core(lantern): add edges from initiatorRequest when there are duplica…
warrengm Apr 2, 2020
ec45d53
docs(lantern): add deep dive video (#10546)
connorjclark Apr 3, 2020
2f11010
core(responsive-images): find offscreen images larger than viewport (…
patrickhulce Apr 6, 2020
2f3da7d
deps: upgrade publisher ads
connorjclark Apr 6, 2020
ae0f076
report: specify transfer or resource size for columns
connorjclark Apr 6, 2020
7c20539
core(driver): add run warning on page load timeout (#10538)
patrickhulce Apr 8, 2020
6056bbb
tests(smokehouse): loosen wastedMs for unused-javascript (#10561)
patrickhulce Apr 8, 2020
4f6170d
deps(typescript): update to 3.8.3 (#10461)
connorjclark Apr 8, 2020
3641e19
deps(snyk): update snyk snapshot
snyk-bot Apr 8, 2020
a6fd756
core(audits): mention <div> is allowed to group content in <dl> (#10479)
Malvoz Apr 9, 2020
5b0c5b8
docs: add explainer on performance budgets (#10542)
khempenius Apr 9, 2020
159fd93
misc(build): disable fail-fast on gh basics workflow (#10551)
paulirish Apr 9, 2020
3e5c664
core(runner): make LH.Audit.Context immutable (#10555)
brendankenny Apr 9, 2020
49c5da5
misc(compare-runs): category scores, url filter, sort abs.val (#10526)
connorjclark Apr 13, 2020
ac186d0
core: delete unused driver.queryPermissionState() (#10571)
paulirish Apr 13, 2020
6c9cee4
misc(build): report to buildtracker on commit via ghactions
paulirish Apr 14, 2020
f79845d
misc: npmignore += timings-data/ (#10584)
paulirish Apr 14, 2020
35b5eb5
cli: experimental preset (#10585)
connorjclark Apr 14, 2020
6420832
core(lantern): improve LCP tail error (#10529)
patrickhulce Apr 16, 2020
8b43044
tests: fix i18n-test bugs in Node 13 (#10595)
brendankenny Apr 17, 2020
9a6afb3
misc: cleanup of audit-details type names (#10603)
brendankenny Apr 18, 2020
7f2d039
tests: remove protoc roundtrip check from update:sample-json (#10557)
connorjclark Apr 22, 2020
c78e3e6
tests: use assert in strict assertion mode (#10606)
brendankenny Apr 22, 2020
6be44f0
cli: add support for multiple --chrome-flags
jantimon Apr 22, 2020
d1c6823
docs(readme): add seo guard entry to integrations (#10609)
kmanuel Apr 22, 2020
ec50812
deps(snyk): update snyk snapshot
snyk-bot Apr 22, 2020
8fd3f84
misc(CI): also run GH workflow on pull_request (#10622)
paulirish Apr 22, 2020
e359627
tests: add all tests to GitHub workflow (#10620)
connorjclark Apr 22, 2020
57a3048
tests(legacy-javascript): cache variants, check in lockfile, … (#10568)
connorjclark Apr 22, 2020
95ffe7b
core(budgets): support CLS and LCP budgets (#10579)
khempenius Apr 23, 2020
8bd65af
core: unused-javascript-summary computed artifact (#10387)
connorjclark Apr 23, 2020
30cc954
tests: use an observed throttlingMethod in budget tests (#10625)
patrickhulce Apr 23, 2020
4533cbc
misc(build): yarn unlink before linking (#10583)
paulirish Apr 25, 2020
40792e7
report(viewer): add option for loading from JSON (#10608)
Kikobeats Apr 25, 2020
08aa146
tests(smoke): fork pwa.rocks (#10648)
connorjclark Apr 27, 2020
80e24f1
core(legacy-javascript): use source maps (#10564)
connorjclark Apr 27, 2020
dc5bb65
docs(readme): add variability and throttling to FAQ (#10631)
patrickhulce Apr 27, 2020
51a9845
core(cls): shorten description (#10570)
connorjclark Apr 28, 2020
77f2a9a
core(a11y): ensure errors can be serialized properly (#10646)
patrickhulce Apr 28, 2020
2040079
core(scoring): update CLS score curve - 0.25 is now failing
paulirish Apr 28, 2020
ee04683
misc(compare-runs): use execFile (#10652)
connorjclark Apr 28, 2020
5ce1805
tests(ci): authenticate protoc download
brendankenny Apr 29, 2020
875e8af
core(report-generator): add url to CSV output (#10656)
patrickhulce Apr 29, 2020
bd7c2f4
deps(snyk): update snyk snapshot (#10670)
snyk-bot Apr 29, 2020
60b9eed
deps: upgrade chrome-launcher to 0.13.1 (#10535)
paulirish Apr 29, 2020
e5b6ed2
misc: close variability issues to master issue (#10658)
patrickhulce Apr 29, 2020
080c6b4
docs(scoring): update and refine scoring.md (#10633)
RolandBurrows Apr 30, 2020
0bb7117
core: remove length check from csv report test (#10675)
Beytoven Apr 30, 2020
e388716
report: add Trust & Safety group under Best Practices (#10623)
Beytoven Apr 30, 2020
4b6734a
tests(gh): increase cli test timeout to reduce flakes (#10627)
patrickhulce May 1, 2020
f5a8fcf
core: surface LCP element in a diagnostic audit (#10517)
Beytoven May 1, 2020
5bd45c7
misc(build): fix npm link issue (#10682)
connorjclark May 4, 2020
9e8ad2d
core(driver): use last frameNavigated event to determine finalUrl (#1…
patrickhulce May 4, 2020
37a04f4
deps(axe-core): upgrade to 3.5.3 (#10637)
connorjclark May 4, 2020
0adf50d
misc(lantern-collect): update gcp scripts (#10663)
connorjclark May 5, 2020
c52eb16
core(resource-summary): rename size to transferSize (#10700)
connorjclark May 5, 2020
1b93a1d
core(charset): add description link to web.dev guide (#10689)
May 5, 2020
ba1250d
deps: bump third-party-web to 0.11.1 (#10711)
patrickhulce May 6, 2020
5c02ac8
core(unused-javascript): check for SourceMaps before trying to use (#…
connorjclark May 6, 2020
ffd4a02
core(maskable-icon): update description link to new web.dev guide (#1…
May 6, 2020
30b5d8f
misc(build): don't let buildtracker fail the build (#10718)
connorjclark May 7, 2020
24c0c73
docs(scoring): update for v6; defer to web.dev for performance (#10676)
paulirish May 7, 2020
ed5b6b1
misc: add comment to TraceElements artifact (#10713)
connorjclark May 7, 2020
98e9e64
docs(readme): fix small typo (#10694)
nxqamar May 7, 2020
688873f
core(scoring): redefine log-normal curves with median and p10 points …
brendankenny May 7, 2020
b36b694
tests: use brfs when bundling smokehouse (#10727)
connorjclark May 7, 2020
6ba8c44
core(offscreen-images): loosen to 3 viewports (#10643)
patrickhulce May 7, 2020
cfecfea
core(is-on-https): add Mixed Content verbiage to description (#10712)
Beytoven May 8, 2020
db2a0dc
core(metrics): do not round CLS in output (#10728)
patrickhulce May 8, 2020
38416d3
core: assert.strict doesn't work in bundles (#10733)
connorjclark May 8, 2020
32eb8d8
report: link to updated scoring documentation (#10725)
paulirish May 8, 2020
d95c31b
i18n(import): new audits, dropdowns, and columns (#10645)
exterkamp May 11, 2020
82f20d7
report(resource-summary): fix size heading key (#10743)
connorjclark May 11, 2020
e2cb5e5
deps: upgrade yargs-parser to latest (#10723)
patrickhulce May 11, 2020
5162e5b
core(ttfb): change name to server-response-time (#10735)
brendankenny May 11, 2020
7917c26
docs(readme) add wattspeed to the integrations (#10745)
catalinred May 11, 2020
4193df5
core(mixed-content): delete preset and audit (#10750)
patrickhulce May 11, 2020
aaa6f74
core: surface top CLS elements in a diagnostic audit (#10702)
Beytoven May 12, 2020
eabdfea
core(emulation): keep DPR at 2.625 for mobile emulation (#10749)
connorjclark May 12, 2020
a462d31
report: improve color contrast of top-level errors (#10636)
baseeee May 12, 2020
132f276
misc(scripts): fix devtools filename doublecheck (#10758)
paulirish May 13, 2020
41cfc56
report: define monospace fontsize relative to report-font-size (#10761)
paulirish May 13, 2020
d43483b
clients(devtools): fix Runtime.cachedResources reference (#10762)
paulirish May 13, 2020
c8a5a11
misc: drop trailing whitespace in css (#10765)
paulirish May 13, 2020
d8d386d
report(metrics): use css grid so metrics are aligned (#10695)
connorjclark May 13, 2020
739f21e
report: link to calculator w/ values (#10754)
paulirish May 13, 2020
f625ab7
misc: .mailmap (#10766)
connorjclark May 13, 2020
95898ad
core: add desktop score curves for TBT and LCP (#10756)
brendankenny May 13, 2020
81540ec
deps: upgrade chrome-launcher@0.13.2 (#10724)
paulirish May 13, 2020
92c5af7
report: add device type and version to scorecalc link (#10763)
connorjclark May 13, 2020
73ed152
report: correctly handle CLS values of 0 for calc link (#10767)
paulirish May 13, 2020
120213f
deps(snyk): update snyk snapshot (#10771)
connorjclark May 13, 2020
d22225a
report: fix regression in report renderer for devtools (#10773)
connorjclark May 13, 2020
8369a08
deps: lighthouse-plugin-publisher-ads@^1.1.0-beta.0 (#10776)
paulirish May 13, 2020
5f372ea
report(metrics): [revert] use css grid so metrics are aligned (#10695…
paulirish May 13, 2020
7e4fa55
v6.0.0 (#10780)
paulirish May 14, 2020
22e9783
core(emulation): bump chrome versions (#10787)
paulirish May 14, 2020
14f619a
core(image-size-responsive): quantize DPRs (#10801)
sk- May 19, 2020
bfdd899
docs(contributing): add tips for audit and gatherer PRs (#10690)
brendankenny May 19, 2020
e2bfa14
misc: update changelog for v6.0.0 (#10807)
brendankenny May 19, 2020
e63cde9
misc(changelog): add missing 6.0.0 new contributors (#10821)
brendankenny May 20, 2020
575e29b
new_audit(crawlable-anchors): add an anchor-href audit for seo (#10662)
umaar May 20, 2020
4c6a817
docs(readme): update PageSpeed Green description (#10818)
olex-green May 21, 2020
20c5c50
deps(snyk): update snyk snapshot (#10840)
snyk-bot May 25, 2020
fed2b62
core(preload): ignore cross-frame requests (#10847)
patrickhulce May 26, 2020
210ff35
report: fix the width of the 3-dots menu in topbar (#10855)
psmarshall May 27, 2020
03f00c7
core(legacy-javascript): use third-party-web for scoring (#10849)
connorjclark May 27, 2020
4c0a76b
report: updated method signature typing to remove focusevent cast (#1…
johnemau May 27, 2020
e36fb5a
deps: update to lhci 0.4.0 (#10828)
patrickhulce May 27, 2020
f315cd2
core(legacy-javascript): fix core-js 3 detection (#10852)
connorjclark May 27, 2020
780522d
core(renderer): fix null Util.i18n in PSI renderer (#10822)
jazyan May 27, 2020
abe3bfc
core(median-run): add computeMedianRun to lib (#10859)
patrickhulce May 28, 2020
1199d72
new_audit: add long-tasks diagnostic audit for surfacing top long tas…
Beytoven May 28, 2020
5b90acb
core: new inspector issues gatherer for Audit.IssueAdded events (#10664)
Beytoven May 28, 2020
f3d656a
tests(smokehouse): do not assert on flaky node path (#10827)
connorjclark May 28, 2020
9035d4f
docs(readme): update integrations section (#10826)
paulirish May 28, 2020
9ce4969
report(metrics): use css grid so metrics are aligned (#10789)
connorjclark May 29, 2020
3fc76e1
test error
brendankenny May 29, 2020
c701e39
narrow
brendankenny May 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 13 additions & 6 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ install:

before_test:
- set "PATH=C:\MinGW\msys\1.0\bin;%PATH%"
- set "LIGHTHOUSE_CHROMIUM_PATH=%CD%\chrome-win32\chrome.exe"
- set "CHROME_PATH=%CD%\chrome-win32\chrome.exe"
- bash ./lighthouse-core/scripts/download-chrome.sh
- yarn build-all

Expand All @@ -32,13 +32,20 @@ test_script:
- which yarn
- yarn lint
- yarn unit-core --runInBand
- yarn unit-cli
# Appveyor protocol timeouts are unusually common.
# We retry our smoketests 3 times for this reason, so do the same for CLI tests that launch Chrome.
- yarn unit-cli || yarn unit-cli || yarn unit-cli
- yarn unit-viewer
- yarn type-check
# FIXME: Exclude Appveyor from running `perf` smoketest until we fix the flake.
# https://github.com/GoogleChrome/lighthouse/issues/5053
# - yarn smoke
- yarn smoke a11y pwa pwa2 pwa3 dbw redirects seo offline byte metrics
# run smoke tests serially, trying up to three times to prevent flakes.
# FIXME: Exclude Appveyor from running `lantern` smoketest until we fix the flake.
- yarn smoke -j=1 --retries=2 a11y errors oopif pwa pwa2 pwa3 dbw redirects seo offline byte perf metrics

on_success:
# Remove module resolution symlinks; this avoids 'Unable to save cache'
# errors when appveyor runs 7z.exe to save the build cache
- yarn unlink lighthouse
- yarn unlink

cache:
#- chrome-win32 -> appveyor.yml,package.json
Expand Down
19 changes: 0 additions & 19 deletions .build-for-now.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .cz-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Copyright 2017 Google Inc. All Rights Reserved.
* @license Copyright 2017 The Lighthouse Authors. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/
Expand Down
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@

**/node_modules/**
**/third_party/**
**/generated/**
**/source-maps/**

lighthouse-cli/test/fixtures/byte-efficiency/bundle.js

/dist/**

coverage/**

!.eslintrc.js

lighthouse-core/scripts/legacy-javascript/variants
16 changes: 14 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Copyright 2017 Google Inc. All Rights Reserved.
* @license Copyright 2017 The Lighthouse Authors. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/
Expand All @@ -9,6 +9,7 @@ module.exports = {
// start with google standard style
// https://github.com/google/eslint-config-google/blob/master/index.js
extends: ['eslint:recommended', 'google'],
plugins: ['eslint-plugin-local-rules'], // include custom rules
env: {
node: true,
es6: true,
Expand Down Expand Up @@ -49,7 +50,7 @@ module.exports = {
'no-unused-vars': [2, {
vars: 'all',
args: 'after-used',
argsIgnorePattern: '(^reject$|^_$)',
argsIgnorePattern: '(^reject$|^_+$)',
varsIgnorePattern: '(^_$)',
}],
'space-infix-ops': 2,
Expand All @@ -64,11 +65,22 @@ module.exports = {
functions: 'never',
}],

// Custom lighthouse rules
'local-rules/require-file-extension': 2,

// Disabled rules
'require-jsdoc': 0,
'valid-jsdoc': 0,
'arrow-parens': 0,
},
overrides: [
{
files: ['lighthouse-cli/test/smokehouse/**/*expectations.js'],
rules: {
'max-len': 0,
},
},
],
parserOptions: {
ecmaVersion: 2018,
ecmaFeatures: {
Expand Down
22 changes: 5 additions & 17 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
# Each line is a file pattern followed by one or more owners.
# Order is important. The last matching pattern has the most precedence.
# https://help.github.com/articles/about-codeowners/

lighthouse-cli/ @patrickhulce @paulirish
lighthouse-cli/test/fixtures/ @patrickhulce @brendankenny
lighthouse-cli/test/smokehouse/ @patrickhulce @brendankenny
# This file pairs with the automated code review assignment setting to make that system work
# https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/managing-code-review-assignment-for-your-team

lighthouse-core/gather/ @patrickhulce @paulirish
lighthouse-core/audits/ @patrickhulce @brendankenny @paulirish
lighthouse-core/report/ @paulirish
# Docs: https://help.github.com/articles/about-codeowners/

lighthouse-core/config/ @patrickhulce @brendankenny
lighthouse-core/lib/ @brendankenny @paulirish
clients/ @paulirish @patrickhulce
lighthouse-viewer/ @ebidel @brendankenny

docs/ @paulirish
proto/ @brendankenny @exterkamp

# no explicit owner for travis, etc
# default owners for the entire repo
* @GoogleChrome/lighthouse-hackers
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ about: Report something working incorrectly

#### Provide the steps to reproduce
1. Run LH on <affected url>

<!-- If your page is only local, or is liable to change, consider uploading a repro so that we can more easily debug the problem. Some services that will help are: https://jsbin.com/, https://surge.sh/ -->

#### What is the current behavior?

Expand All @@ -19,6 +21,7 @@ about: Report something working incorrectly
#### Environment Information
* Affected Channels: <!-- CLI, Node, Extension, DevTools -->
* Lighthouse version:
* Chrome version: <!-- chrome://version/ -->
* Node.js version:
* Operating System:

Expand Down
6 changes: 5 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!-- Thank you for submitting a pull request! -->
<!--
Thank you for submitting a pull request!
See CONTRIBUTING.MD for help in getting a change landed.
https://github.com/GoogleChrome/lighthouse/blob/master/CONTRIBUTING.md
-->

**Summary**
<!-- What kind of change does this PR introduce? -->
Expand Down
85 changes: 85 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# The Travis CI is our full-fledged CI, but this Github workflow
# runs the same tests. The GH workflow UI makes it simpler to hone
# in on the step that failed.

name: 💡🏠

on: [push]

jobs:
ci:

runs-on: ubuntu-latest
strategy:
# e.g. if lint fails, continue to the unit tests anyway
fail-fast: false

steps:
- name: git clone
uses: actions/checkout@v2

- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: 10.x

- name: Setup protoc
uses: arduino/setup-protoc@7ad700d
with:
version: '3.7.1'
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 2.7
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install protobuf==3.7.1

# Cache yarn deps. thx https://github.com/actions/cache/blob/master/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Set up node_modules cache
uses: actions/cache@v1
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- run: yarn --frozen-lockfile
- run: yarn build-all
- run: yarn diff:sample-json
# - run: yarn type-check
# - run: yarn lint
- run: yarn test-proto # Run before unit-core because the roundtrip json is needed for proto tests.

# Run tests that require headfull Chrome.
- run: sudo apt-get install xvfb
- run: xvfb-run --auto-servernum yarn jest report/proto-test.js
# - run: xvfb-run --auto-servernum yarn test-clients
# - run: xvfb-run --auto-servernum yarn smoke -j=1 --retries=2
# - run: xvfb-run --auto-servernum yarn test-bundle
# - run: xvfb-run --auto-servernum yarn test-docs

# - run: yarn test-lantern
# - run: yarn test-legacy-javascript
# - run: yarn i18n:checks
# - run: yarn dogfood-lhci

# buildtracker runs `git merge-base HEAD origin/master` which needs more history than depth=1. https://github.com/paularmstrong/build-tracker/issues/106
# - name: Deepen git fetch (for buildtracker)
# run: git fetch --deepen=100
# - name: Store in buildtracker
# TODO(paulirish): Don't allow this to fail the build. https://github.com/paularmstrong/build-tracker/issues/200
# run: yarn bt-cli upload-build || true
# env:
# https://buildtracker.dev/docs/guides/github-actions#configuration
# BT_API_AUTH_TOKEN: ${{ secrets.BT_API_AUTH_TOKEN }}

# Fail if any changes were written to source files (ex, from: build/build-cdt-lib.js).
# - run: git diff --exit-code
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules
npm-debug.log
.vscode
.tmp
.idea

/dist
coverage
Expand All @@ -22,14 +23,20 @@ last-run-results.html
*.report.csv
*.report.pretty
*.artifacts.log
*.ctc.json

!lighthouse-core/test/results/artifacts/*.trace.json
!lighthouse-core/test/results/artifacts/*.devtoolslog.json
!lighthouse-core/test/fixtures/artifacts/**/*.trace.json
!lighthouse-core/test/fixtures/artifacts/**/*.devtoolslog.json
!lighthouse-core/test/fixtures/traces/**/*.trace.json
!lighthouse-core/test/fixtures/traces/**/*.devtoolslog.json

lighthouse-core/scripts/legacy-javascript/variants

latest-run
lantern-data
timings-data

closure-error.log
yarn-error.log
Expand All @@ -43,3 +50,8 @@ yarn-error.log
proto/scripts/*_pb2.*
proto/scripts/*_pb.*
proto/scripts/*_processed.json

# require any lock file to be checked in explicitly
yarn.lock

proto/sample_v2_round_trip.json
6 changes: 6 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Brendan Kenny <bckenny@gmail.com> Brendan Kenny <bckenny@google.com>
Connor Clark <cjamcl@gmail.com> cjamcl <cjamcl@google.com>
Connor Clark <cjamcl@gmail.com> Connor Clark <cjamcl@google.com>
Patrick Hulce <patrick.hulce@gmail.com> Patrick Hulce <phulce@google.com>
Paul Irish <paul.irish@gmail.com> Paul Irish <paulirish@google.com>
Paul Lewis <github@aerotwist.com> Paul Lewis <gravatar@aerotwist.com>
9 changes: 7 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ assets/
build/
coverage/
dist/
proto/

lighthouse-core/scripts/*
lighthouse-core/test/
Expand All @@ -23,10 +24,13 @@ lighthouse-logger/
# keep smokehouse tests, etc
!lighthouse-cli/test

node_modules/
results/
lantern-data/
latest-run/
timings-data/

# ignore all folders named as such
node_modules
latest-run

# generated files
**/pages/scripts/lighthouse-report.js
Expand All @@ -49,3 +53,4 @@ results.html
.eslintignore
.eslintrc.js
.travis.yml
*.tgz
Loading