Skip to content

Conversation

marcklingen
Copy link
Member

@marcklingen marcklingen commented Jul 13, 2025

Important

Enhance link checking scripts to handle redirects, log redirect chains, and improve error handling for invalid URLs and timeouts.

  • Behavior:
    • Add redirect handling in check-links.js and check-sitemap-links.js with a maximum of 5 redirects.
    • Log redirect chains and final status for links in both scripts.
    • Improve error handling for invalid URLs and timeouts.
  • Functions:
    • checkUrlWithRedirects() in check-links.js handles redirects and logs errors.
    • fetchUrl() in check-sitemap-links.js updated to handle redirects and log redirect chains.
  • Misc:
    • Update config in check-links.js to ignore more patterns and reduce timeout to 10s.
    • Log large files and directory read errors in check-links.js.

This description was created by Ellipsis for 0c72659. You can customize this summary. It will automatically update as commits are pushed.

Copy link

vercel bot commented Jul 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
langfuse-docs ✅ Ready (Inspect) Visit Preview Jul 13, 2025 4:42pm

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. documentation Improvements or additions to documentation labels Jul 13, 2025
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Jul 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant