-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[docs] Fix Next.js v13.5.1 <title> SEO regression #40302
Conversation
633e785
to
406c7f3
Compare
Netlify deploy previewhttps://deploy-preview-40302--material-ui.netlify.app/ Bundle size report |
406c7f3
to
dcca619
Compare
dcca619
to
91582bd
Compare
Rebased on HEAD |
Signed-off-by: Olivier Tassinari <olivier.tassinari@gmail.com>
It looks like Netlify builds are failing 40% of the time on HEAD since we merged this PR. https://app.netlify.com/sites/material-ui/deploys?filter=master labels the origin pretty clearly to be here. I think we need to either revert #40302 and #40423 or fix it. Is this what #41111 tries to do? Unfortunately, it's not helping. Strange as this doesn't happen on MUI X. |
@Janpot found a failing build prior to this change: https://app.netlify.com/sites/material-ui/deploys/65c3bb5ccb8fee00087cbe74 We're trying different approaches to handle this and you can see our attempts among PRs. |
And this is what led me to believe it could've been connected to the next.config.mjs change that was merged earlier that day. Sadly reverting back to next.config.js did produce a failing build as well. The change right before that is the Next.js update. We could indeed try reverting to 13.4.19. update: nope, reverting Next.js produced a failing build Otherwise I guess we could start bissecting and open a PR that reverts to a specific commit, and go backwards until we can't reproduce anymore. Or until we can safely state it's a platform issue on latest netlify images.
I'm stopping this effort unless #41132 turns out not to fix it |
"build:clean": "rimraf .next && pnpm build", | ||
"build-sw": "node ./scripts/buildServiceWorker.js", | ||
"dev": "next dev", | ||
"deploy": "git push -f material-ui-docs master:latest", | ||
"export": "rimraf docs/export && next export --threads=3 -o export && pnpm build-sw", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oliviertassinari Any idea what caused us to add this --threads=3
? It doesn't seem to translate anywhere in the output: 'export'
setup.
edit: got it, netlify resource issues it seems
edit 2: checked the next.js source code and it seems that option is now coming from experimental.cpus
.
Fix the SEO regression introduced from #40423
Use the same fix as in mui/mui-x#11182.
Preview: https://deploy-preview-40302--material-ui.netlify.app/