Skip to content

Review Netlify checklinks plugin #988

@MarkAckert

Description

@MarkAckert

There's been an increase in build failures on netlify for this repo due to false-positive errors being thrown by a link check plugin. We should investigate if there's a way to mitigate these failures such as increasing retry count on failed links, or if we should remove the plugin and instead check links through Github Actions where we'd have more control over the scanning process.

1:10:20 PM:   ✖ FAIL load https://lfprojects.org/policies/privacy-policy/
1:10:20 PM:   | operator: load
1:10:20 PM:   | expected: 200 https://lfprojects.org/policies/privacy-policy/
1:10:20 PM:   |   actual: ETIMEDOUT
1:10:20 PM:   |       at: _site/privacy_policy.html:5:31 <meta http-equiv="refresh" content="0; url=https://lfprojects.org/policies/privacy-policy/">
1:10:20 PM:   87 tests
1:10:20 PM:   86 passed
1:10:20 PM:    1 failed
1:10:20 PM: ​
1:10:20 PM: Plugin "netlify-plugin-checklinks" failed                     
1:10:20 PM: ────────────────────────────────────────────────────────────────
1:10:20 PM: ​
1:10:20 PM:   Error message
1:10:20 PM:   Error: Links checking failed
1:10:20 PM: ​
1:10:20 PM:   Plugin details
1:10:20 PM:   Package:        netlify-plugin-checklinks
1:10:20 PM:   Version:        4.1.1
1:10:20 PM:   Repository:     git://github.com/munter/netlify-plugin-checklinks.git
1:10:20 PM:   npm link:       https://www.npmjs.com/package/netlify-plugin-checklinks
1:10:20 PM:   Report issues:  https://github.com/munter/netlify-plugin-checklinks/issues
1:10:20 PM: ​
1:10:20 PM:   Error location
1:10:20 PM:   In "onPostBuild" event in "netlify-plugin-checklinks" from Netlify app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions