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

Upgrade ci-info #11758

Merged
merged 3 commits into from
Apr 9, 2020
Merged

Upgrade ci-info #11758

merged 3 commits into from
Apr 9, 2020

Conversation

Timer
Copy link
Member

@Timer Timer commented Apr 8, 2020

This adds support for Nevercode, GH Actions, and Render.

@ijjk
Copy link
Member

ijjk commented Apr 8, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.5s 10.6s ⚠️ +59ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.4s 11.3s -128ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB -114 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB ⚠️ +39 B
link.js gzip 243 kB 243 kB ⚠️ +171 B
routerDirect.js gzip 241 kB 241 kB -10 B
withRouter.js gzip 241 kB 241 kB ⚠️ +38 B
Overall change 1.19 MB 1.19 MB ⚠️ +124 B

@ijjk
Copy link
Member

ijjk commented Apr 8, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.3s 11.4s ⚠️ +49ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 12.2s 12.1s -87ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +31 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB ⚠️ +313 B
link.js gzip 243 kB 243 kB -112 B
routerDirect.js gzip 241 kB 241 kB -156 B
withRouter.js gzip 241 kB 241 kB ⚠️ +274 B
Overall change 1.19 MB 1.19 MB ⚠️ +350 B

Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

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

Looks like we need to re-run yarn ncc-compiled in the packages/next dir and commit the change.

Note: since we do --no-ignore for eslint in lint-staged we might need to do --no-verify when committing the ncc'd change

@ijjk
Copy link
Member

ijjk commented Apr 8, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/179266cbb60105e306e1a0e70ebc811bf05f569d.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 9.9s 10.1s ⚠️ +213ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.2s 10.5s ⚠️ +235ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall decrease ✓
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB -99 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB ⚠️ +128 B
link.js gzip 243 kB 243 kB -7 B
routerDirect.js gzip 241 kB 241 kB -257 B
withRouter.js gzip 241 kB 241 kB -82 B
Overall change 1.19 MB 1.19 MB -317 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/901aed7c8643990e958a3f9b994e8f88ae58c118.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/b970fc06d2bd32b0f10cf375af48df6faa6a434b.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.7s 10.7s -50ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.3s 11.1s -206ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall decrease ✓
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB -112 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -59 B
link.js gzip 243 kB 243 kB -89 B
routerDirect.js gzip 241 kB 241 kB ⚠️ +276 B
withRouter.js gzip 241 kB 241 kB -339 B
Overall change 1.19 MB 1.19 MB -323 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.8s 10.7s -16ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.5s 11.6s ⚠️ +95ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +453 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB ⚠️ +9 B
link.js gzip 243 kB 243 kB ⚠️ +17 B
routerDirect.js gzip 241 kB 241 kB -109 B
withRouter.js gzip 241 kB 241 kB ⚠️ +318 B
Overall change 1.19 MB 1.19 MB ⚠️ +688 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 9.8s 10.1s ⚠️ +274ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.4s 10.2s -132ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall decrease ✓
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB -7 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -8 B
link.js gzip 243 kB 243 kB ⚠️ +48 B
routerDirect.js gzip 241 kB 241 kB -278 B
withRouter.js gzip 241 kB 241 kB -98 B
Overall change 1.19 MB 1.19 MB -343 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/12c26ca3326cb0f49481a1287dbf5131d8fab432.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/eb38db8304699c2693249453152693a0bf391dc3.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 9.8s 9.9s ⚠️ +107ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.8s 10.6s -145ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +268 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB ⚠️ +277 B
link.js gzip 243 kB 243 kB -134 B
routerDirect.js gzip 241 kB 241 kB ⚠️ +23 B
withRouter.js gzip 241 kB 241 kB -46 B
Overall change 1.19 MB 1.19 MB ⚠️ +388 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/0a137b75660164f856a3fbb61214952c3067c15f.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.5s 10.7s ⚠️ +127ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.4s 11.3s -28ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +130 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB ⚠️ +398 B
link.js gzip 243 kB 243 kB ⚠️ +50 B
routerDirect.js gzip 241 kB 241 kB -376 B
withRouter.js gzip 241 kB 241 kB ⚠️ +48 B
Overall change 1.19 MB 1.19 MB ⚠️ +250 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/54a1365640bcd9faec5cf04630df0962818e1b9f.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 9.9s 9.9s -54ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.7s 10.7s ⚠️ +71ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +421 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB ⚠️ +288 B
link.js gzip 243 kB 243 kB -250 B
routerDirect.js gzip 241 kB 241 kB -8 B
withRouter.js gzip 241 kB 241 kB -30 B
Overall change 1.19 MB 1.19 MB ⚠️ +421 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.8s 10.9s ⚠️ +71ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 12.5s 12.2s -277ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall decrease ✓
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +186 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -47 B
link.js gzip 243 kB 243 kB -128 B
routerDirect.js gzip 241 kB 241 kB ⚠️ +87 B
withRouter.js gzip 241 kB 241 kB -280 B
Overall change 1.19 MB 1.19 MB -182 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/f7b37211e7ad30f344f7c661eccac1c67399bd09.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.5s 10.6s ⚠️ +78ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.2s 11.5s ⚠️ +289ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +2 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -6 B
link.js gzip 243 kB 243 kB ⚠️ +57 B
routerDirect.js gzip 241 kB 241 kB ⚠️ +18 B
withRouter.js gzip 241 kB 241 kB ⚠️ +300 B
Overall change 1.19 MB 1.19 MB ⚠️ +371 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.8s 10.9s ⚠️ +130ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.5s 11.4s -82ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +84 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -5 B
link.js gzip 243 kB 243 kB ⚠️ +243 B
routerDirect.js gzip 241 kB 241 kB ⚠️ +25 B
withRouter.js gzip 241 kB 241 kB ⚠️ +5 B
Overall change 1.19 MB 1.19 MB ⚠️ +352 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/fc4114b45999dacbe88edb4ae78e4a9274243dfa.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.e42803.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.1s 10.1s ⚠️ +55ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.7s 10.9s ⚠️ +178ms
nodeModulesSize 52.5 MB 52.5 MB ⚠️ +658 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB -313 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB ⚠️ +2 B
link.js gzip 243 kB 243 kB ⚠️ +210 B
routerDirect.js gzip 241 kB 241 kB ⚠️ +153 B
withRouter.js gzip 241 kB 241 kB
Overall change 1.19 MB 1.19 MB ⚠️ +52 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/c01e6e620bc3e00d16fc1c52883d28075b473ed2.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/bc38f02de771d5a4dfde5f0af24099bd179db919.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.4s 11.5s ⚠️ +165ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 12.2s 12.3s ⚠️ +85ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall decrease ✓
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB -331 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -3 B
link.js gzip 243 kB 243 kB -72 B
routerDirect.js gzip 241 kB 241 kB ⚠️ +43 B
withRouter.js gzip 241 kB 241 kB -313 B
Overall change 1.19 MB 1.19 MB -676 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/d1597addf7ce0be1214415db4b08334433837145.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.2s 11.8s ⚠️ +1.5s
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 12.7s 12.5s -191ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall decrease ✓
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +33 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -101 B
link.js gzip 243 kB 243 kB ⚠️ +4 B
routerDirect.js gzip 241 kB 241 kB ⚠️ +65 B
withRouter.js gzip 241 kB 241 kB -149 B
Overall change 1.19 MB 1.19 MB -148 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/e0d550e5faf0aaf306d6753060f0bb59ccea9105.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.e42803.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11s 10.9s -83ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.8s 11.7s -85ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall decrease ✓
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +334 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -184 B
link.js gzip 243 kB 243 kB -210 B
routerDirect.js gzip 241 kB 241 kB -68 B
withRouter.js gzip 241 kB 241 kB ⚠️ +72 B
Overall change 1.19 MB 1.19 MB -56 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.9s 10.7s -247ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.3s 11.5s ⚠️ +200ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall decrease ✓
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB -260 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -219 B
link.js gzip 243 kB 243 kB ⚠️ +9 B
routerDirect.js gzip 241 kB 241 kB -117 B
withRouter.js gzip 241 kB 241 kB -103 B
Overall change 1.19 MB 1.19 MB -690 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/b55602c2ca01c59d3f63fe4d7f74a7247039affd.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.7s 10.6s -54ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.8s 11.5s -300ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +307 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB ⚠️ +226 B
link.js gzip 243 kB 243 kB ⚠️ +153 B
routerDirect.js gzip 241 kB 241 kB -203 B
withRouter.js gzip 241 kB 241 kB -268 B
Overall change 1.19 MB 1.19 MB ⚠️ +215 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/59ed7a1fcd640993d8a2a09b98a6af6096ca22d6.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.6s 11.2s -352ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 12.8s 12.2s -601ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall decrease ✓
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +40 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -108 B
link.js gzip 243 kB 243 kB -114 B
routerDirect.js gzip 241 kB 241 kB ⚠️ +37 B
withRouter.js gzip 241 kB 241 kB ⚠️ +2 B
Overall change 1.19 MB 1.19 MB -143 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.3s 10.2s -78ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.9s 10.8s -123ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +132 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB ⚠️ +232 B
link.js gzip 243 kB 243 kB ⚠️ +15 B
routerDirect.js gzip 241 kB 241 kB ⚠️ +85 B
withRouter.js gzip 241 kB 241 kB -22 B
Overall change 1.19 MB 1.19 MB ⚠️ +442 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/2c948f7adbb58751bf11be018933c54461218eb4.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/c50eca368760ce2f6640162ece326704c706d6c2.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.8s 10.8s ⚠️ +60ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.6s 11.1s -473ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB -180 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB ⚠️ +111 B
link.js gzip 243 kB 243 kB
routerDirect.js gzip 241 kB 241 kB ⚠️ +208 B
withRouter.js gzip 241 kB 241 kB ⚠️ +334 B
Overall change 1.19 MB 1.19 MB ⚠️ +473 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10.6s 10.7s ⚠️ +39ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 11.4s 11.6s ⚠️ +198ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall decrease ✓
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +30 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -185 B
link.js gzip 243 kB 243 kB ⚠️ +33 B
routerDirect.js gzip 241 kB 241 kB -23 B
withRouter.js gzip 241 kB 241 kB ⚠️ +32 B
Overall change 1.19 MB 1.19 MB -113 B

@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Failing test suites

test/integration/build-warnings/test/index.test.js

  • Build warnings > should not warn about missing cache in non-CI
Expand output

● Build warnings › should not warn about missing cache in non-CI

expect(received).not.toContain(expected) // indexOf

Expected substring: not "no-cache"
Received string:        "Warning: No build cache found. Please configure build caching for faster rebuilds. Read more: https://err.sh/next.js/no-cache

Creating an optimized production build...
> Using external babel configuration
> Location: \"/home/runner/work/next.js/next.js/test/.babelrc\"

Compiled successfully.

Automatically optimizing pages...

Page                                                           Size     First Load JS
┌ ○ /                                                          263 B          57.8 kB
└ ○ /404                                                       2.99 kB        60.5 kB
+ First Load JS shared by all                                  57.6 kB
  ├ static/pages/_app.js                                       783 B
  ├ chunks/c194bcd2afbe4d9d0e5b43aeaf692735f8547750.bcb395.js  10.1 kB
  ├ chunks/framework.33db2b.js                                 40.5 kB
  ├ runtime/main.749619.js                                     5.49 kB
  └ runtime/webpack.b65cab.js                                  746 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)

"

  57 |       },
  58 |     })
> 59 |     expect(stdout).not.toContain('no-cache')
     |                        ^
  60 |   })
  61 | 
  62 |   it('should warn about missing cache in CI', async () => {

  at Object.<anonymous> (integration/build-warnings/test/index.test.js:59:24)

This adds support for Nevercode, GH Actions, and Render.
@ijjk
Copy link
Member

ijjk commented Apr 9, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10s 9.4s -578ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Rendered Page Sizes
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
index.html gzip 918 B 918 B
link.html gzip 926 B 926 B
withRouter.html gzip 913 B 913 B
Overall change 2.76 kB 2.76 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
buildDuration 10s 10.2s ⚠️ +233ms
nodeModulesSize 61 MB 61 MB ⚠️ +710 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.js gzip 6.25 kB 6.25 kB
webpack-HASH.js gzip 746 B 746 B
de003c3a9d30..e3d8.js gzip 10.2 kB 10.2 kB
framework.HASH.js gzip 39.1 kB 39.1 kB
Overall change 56.3 kB 56.3 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
main-HASH.module.js gzip 4.78 kB 4.78 kB
webpack-HASH..dule.js gzip 746 B 746 B
de003c3a9d30..dule.js gzip 6.78 kB 6.78 kB
framework.HA..dule.js gzip 39.1 kB 39.1 kB
Overall change 51.5 kB 51.5 kB
Legacy Client Bundles (polyfills)
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
polyfills-HASH.js gzip 26.3 kB 26.3 kB
Overall change 26.3 kB 26.3 kB
Client Pages
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.js gzip 1.24 kB 1.24 kB
_error.js gzip 3.15 kB 3.15 kB
hooks.js gzip 664 B 664 B
index.js gzip 222 B 222 B
link.js gzip 2.03 kB 2.03 kB
routerDirect.js gzip 279 B 279 B
withRouter.js gzip 278 B 278 B
Overall change 7.86 kB 7.86 kB
Client Pages Modern
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_app.module.js gzip 594 B 594 B
_error.module.js gzip 2.08 kB 2.08 kB
hooks.module.js gzip 370 B 370 B
index.module.js gzip 212 B 212 B
link.module.js gzip 1.48 kB 1.48 kB
routerDirect..dule.js gzip 271 B 271 B
withRouter.m..dule.js gzip 270 B 270 B
Overall change 5.28 kB 5.28 kB
Client Build Manifests
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_buildManifest.js gzip 61 B 61 B
_buildManife..dule.js gzip 61 B 61 B
Overall change 122 B 122 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js ci/upgrade-ci-info Change
_error.js gzip 233 kB 233 kB ⚠️ +165 B
404.html gzip 1.32 kB 1.32 kB
hooks.html gzip 956 B 956 B
index.js gzip 233 kB 233 kB -151 B
link.js gzip 243 kB 243 kB ⚠️ +74 B
routerDirect.js gzip 241 kB 241 kB ⚠️ +229 B
withRouter.js gzip 241 kB 241 kB -29 B
Overall change 1.19 MB 1.19 MB ⚠️ +288 B

@Timer Timer merged commit 041384b into vercel:canary Apr 9, 2020
@Timer Timer deleted the ci/upgrade-ci-info branch April 9, 2020 14:23
@vercel vercel locked as resolved and limited conversation to collaborators Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants