nuxt: stop running the link checker at build time - #5636
Conversation
The nuxt-link-checker prerender pass takes 19m15s of a 24m15s CI job and scales with page count. Only missing-hash and no-javascript are still error scope for us, and the CI build workflow already runs hyperlink with --check-anchors over nuxt/dist in under a second. Dev-time and devtools checking are unaffected.
✅ Deploy Preview for flowforge-website ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
To consider if merged: Lost:
Not lost:
both are cheap to recover.
Pre-existing gap:
|
|
While setting |
|
@knolleary can you take a look at the comment above when you have time? It solves part of our CI pipeline taking so long woes. |


Description
Adds
runOnBuild: falseto thelinkCheckerconfig, so nuxt-link-checker no longer re-inspects every prerendered page at the end of the build. On run 32107141754 that pass was 19m15s of a 24m15s CI job, and it scales with page count: 4m34s over 251 routes on 28 Jul, 10m10s over 563 routes on 30 Jul, 19m15s over 2363 routes on 18 Aug. Only three of its inspections are error scope, andno-error-responseis already inskipInspections, leavingmissing-hashandno-javascript; the CI build workflow also runs hyperlink with--check-anchorsover the builtnuxt/disttree in 582ms, which already covers broken links and anchors.failOnErrorandskipInspectionsare unchanged, and the module keeps its dev-time and devtools checking. Only the build-time pass is dropped.Related Issue(s)
None
Checklist