Skip flaky external URLs in lychee checks#2547
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughAdded three new URL exclusion patterns to the Lychee link checker configuration to prevent validation of Redux.js.org, AngularJS.org, and a specific Frigade blog article. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Greptile SummaryThis PR adds three exact-match exclusion patterns to
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[bin/check-links invoked] --> B[Collect git-tracked .md files\ndocs/**/*.md, *.md, react_on_rails_pro/**/*.md]
B --> C[lychee --config .lychee.toml]
C --> D{URL found in file}
D --> E{Matches exclude pattern?}
E -- Yes --> F[Skip URL\nno request made]
E -- No --> G[HTTP request with\nmax_retries=4, timeout=20s]
G --> H{Response code in\naccept list?}
H -- 200 or 308 --> I[✅ OK]
H -- Other --> J[❌ Error reported]
F -.->|New exclusions added| K["'^https://redux\\.js\\.org/?$'\n'^https://angularjs\\.org/?$'\n'^https://frigade\\.com/blog/.../?$'"]
Last reviewed commit: 330cd3d |
Review: Skip flaky external URLs in lychee checksThis is a clean, minimal config-only change. The approach is correct. Verified: The three excluded URLs exactly match what is referenced in the repo:
One minor observation: The new patterns use exact-match anchors ( LGTM. The change is appropriately scoped and the |
### Summary Add exact-match `lychee` exclusions for external URLs that intermittently fail from CI, so markdown link checks stop failing on third-party network issues unrelated to repo content. This covers `redux.js.org`, `angularjs.org`, and the referenced `frigade.com` article. ### Pull Request checklist ~[ ] Add/update test to cover these changes~ ~[ ] Update documentation~ ~[ ] Update CHANGELOG file~ ### Other Information Verified locally with `bin/check-links` (`1590 OK`, `0 Errors`). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk config-only change that only affects CI link-check coverage by skipping a few unstable external URLs. > > **Overview** > Updates `.lychee.toml` to **exclude additional flaky third-party URLs** from CI link checking by adding exact-match patterns for `redux.js.org`, `angularjs.org`, and a specific `frigade.com` blog post, reducing CI failures caused by intermittent external connectivity/5xx errors. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 330cd3d. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
…upport * origin/master: (38 commits) fix: use env-var-driven ports in Procfile templates to support multiple worktrees (#2539) Fix prettier formatting in auto-bundling doc Docs: Clarify .client/.server suffixes vs use client RSC directive (#2406) Warn against using .server/.client variants with RSC features Docs: move internal-only docs out of published docs trees (#2414) Fix crash when HTTPX::ErrorResponse is returned in get_form_body_for_file (#2532) Skip flaky external URLs in lychee checks (#2547) Update mise docs: prefer shell-level shims over conductor-exec (#2537) Document compression middleware compatibility with streaming SSR (#2544) Fix duplicate node-renderer message reporting in render failures (#2531) Fix private_output_path not configured on fresh Shakapacker installs (#2289) Bump the npm-security group across 1 directory with 3 updates (#2387) docs: use https links (#2518) Consolidate changelog to keep only rc6 prerelease (#2533) Fix CSS module class name divergence with rspack SSR (#2489) Bump version to 16.4.0.rc.6 Add BugBot license scanning config (#2515) Fix buildVM promise cleanup ordering (#2483) (#2484) Fix streaming SSR hangs and silent error absorption in RSC payload injection (#2407) Ensure lefthook uses mise tools in non-interactive shells (#2512) ... # Conflicts: # CHANGELOG.md
## Summary - Add changelog entries for 6 user-visible PRs merged since v16.4.0.rc.6 that were missing from `[Unreleased]` - Update existing #2561 entry to include #2568 contributor credit ### New entries added | Section | PR | Description | |---|---|---| | Added | #2539 | Environment-variable-driven ports in Procfile templates | | Fixed | #2417 | Rspack generator config path fix | | Fixed | #2419 | Precompile hook load-based execution fix | | Fixed | #2577 | `create-react-on-rails-app` validation improvements | | Pro Fixed | #2416 | StreamResponse status fallback fix | | Pro Fixed | #2566 | Empty-string license plan mismatch fix | ### Skipped PRs (not user-visible) Docs (#2406, #2414, #2479, #2494, #2518, #2537, #2544), CI/internal (#2533, #2547, #2555, #2557, #2558, #2564), dependabot (#2387, #2541), dev dependencies (#2559, #2569, #2573). ## Test plan - [ ] Verify changelog formatting matches existing entries - [ ] Verify all user-visible PRs since v16.4.0.rc.6 are covered 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Documentation-only changelog updates with no runtime or build behavior changes. > > **Overview** > Updates `CHANGELOG.md`’s **[Unreleased]** section to include previously missing user-facing entries: Procfile templates now support env-driven ports, several generator/`bin/dev` precompile-hook and rspack-path fixes are documented, and `create-react-on-rails-app` validation improvements are noted. > > Also adds two Pro fix entries (StreamResponse status fallback and license plan empty-string validation) and updates the existing `bin/dev` precompile-hook entry to credit an additional PR/contributor. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit e75d2b5. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Claude Opus 4.6 <[email protected]>
Summary
Add exact-match
lycheeexclusions for external URLs that intermittently fail from CI, so markdown link checks stop failing on third-party network issues unrelated to repo content. This coversredux.js.org,angularjs.org, and the referencedfrigade.comarticle.Pull Request checklist
[ ] Add/update test to cover these changes[ ] Update documentation[ ] Update CHANGELOG fileOther Information
Verified locally with
bin/check-links(1590 OK,0 Errors).Note
Low Risk
Low risk config-only change that only affects CI link-check coverage by skipping a few unstable external URLs.
Overview
Updates
.lychee.tomlto exclude additional flaky third-party URLs from CI link checking by adding exact-match patterns forredux.js.org,angularjs.org, and a specificfrigade.comblog post, reducing CI failures caused by intermittent external connectivity/5xx errors.Written by Cursor Bugbot for commit 330cd3d. Configure here.
Summary by CodeRabbit