Skip to content

Pin the link checker to v1 and declare known false positives - #813

Open
mmcky wants to merge 1 commit into
mainfrom
linkcheck-pin-and-ignore-patterns
Open

Pin the link checker to v1 and declare known false positives#813
mmcky wants to merge 1 commit into
mainfrom
linkcheck-pin-and-ignore-patterns

Conversation

@mmcky

@mmcky mmcky commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Two changes to linkcheck.yml, following the v1.1.0 release of the link checker.

Pin @main@v1

@main tracks whatever lands on the action's default branch, so this workflow absorbs behaviour changes without review. @v1 is a moving tag that follows the 1.x line.

Declare the known false positives

The five open "Broken Links Found in Documentation" issues here all report the same thing. The most recent, #810, lists six broken links and every one is Status: 0 (Timeout) — five FRED URLs and one github.com commit link. None is actually broken; FRED throttles datacenter IP ranges, so it times out from a runner while serving readers normally.

Five of the six are handled by the new ignore-patterns input, added here. The sixth needs nothing: v1.1.0 fixed a bug where the allowance for well-known hosts required the error string Connection Error and so could never fire on a timeout — with that fixed, the github.com timeout is absorbed automatically. I confirmed both against the checker.

The list also mirrors the three patterns in lectures/_config.yml, which Sphinx reads and this checker never sees. A comment records that the two lists have to be kept in step.

Existing issues

v1.1.0 stops the weekly duplicates: a recurring finding now refreshes one open issue rather than opening a new one. It does not close the five that already exist — the reuse logic latches onto the newest open issue and leaves older ones alone — so those want closing by hand.

Copilot AI review requested due to automatic review settings August 3, 2026 10:23
@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for taupe-gaufre-c4e660 ready!

Name Link
🔨 Latest commit 9fa8391
🔍 Latest deploy log https://app.netlify.com/projects/taupe-gaufre-c4e660/deploys/6a706c21cbe5ac000790a218
😎 Deploy Preview https://deploy-preview-813--taupe-gaufre-c4e660.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens and de-noises the documentation link-check workflow by pinning the link-checker action to the stable v1 major line and configuring it to ignore known, recurring false positives (notably FRED timeouts from GitHub-hosted runners).

Changes:

  • Pin QuantEcon/action-link-checker from @main to @v1 to avoid unreviewed behavior changes.
  • Add ignore-patterns to exempt known false-positive URL patterns (mirroring lectures/_config.yml’s linkcheck_ignore intent and avoiding runner-specific FRED timeouts).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request August 3, 2026 10:31 Inactive
@github-actions
github-actions Bot temporarily deployed to pull request August 3, 2026 10:32 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants