Fix lychee CI link checker failures#1269
Conversation
Add --fallback-extensions md for VitePress doc links that omit .md extensions, accept 403 status codes from sites that block bots (npmjs.com, linode.com), and exclude nixos.org/letsencrypt.org which have intermittent network failures in CI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughThe PR updates link-checking and CI. The 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The CI runner was running out of disk space during maturin wheel installation. Use jlumbroso/free-disk-space to remove pre-installed software (Android SDK, .NET, Haskell, etc.) that isn't needed, freeing ~30GB. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Use glob pattern **/CHANGELOG.md to exclude all changelogs, not just root - Fix doc.moq.dev/blog/first-cdn → moq.dev/blog/first-cdn/ in READMEs - Fix LICENSE-MIT path in rs/moq-lite/README.md (relative to repo root) - Fix auth doc paths in rs/moq-relay and rs/moq-token READMEs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
exclude_path takes regex patterns, not globs. CHANGELOG\.md matches any path containing CHANGELOG.md (e.g. rs/hang/CHANGELOG.md). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add CHANGELOG\.md exclusion to CLI (config was overridden by --exclude-path) - Exclude demo HTML files from lychee (Vite root-relative paths) - Exclude iroh-live repo URL (no longer exists) - Fix LICENSE paths in js/hang, js/ui-core READMEs (relative to repo root) - Fix auth doc paths in js/token and root README - Fix /rs and /js root-relative links in README - Remove references to nonexistent rs/justfile and js/justfile Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…usion CLI --exclude-path overrides config, so all exclusions must be on the command line for the non-doc lychee invocation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
--fallback-extensions mdto the doc lychee command so VitePress-style links (without.mdextension) resolve correctlyTest plan
lychee --root-dir "$(pwd)/doc" --fallback-extensions md docpasses locally with 0 errors🤖 Generated with Claude Code