Remove dead Madrone Co link and fix link checker for unreleased tags#2586
Remove dead Madrone Co link and fix link checker for unreleased tags#2586
Conversation
- Remove madroneco.com link from PROJECTS.md (site is no longer live), keeping the text reference to Madrone Analytics - Replace individual historical compare link exclusions with a single pattern excluding all GitHub compare links from this repo, since the latest changelog entry always references a tag that doesn't exist yet Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
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 (2)
WalkthroughConfiguration and documentation updates were made to exclude GitHub compare links and adjust project listing formatting. The changes involve updating URL exclusion patterns in Lychee configuration and removing a hyperlink from the projects documentation. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 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 performs two focused maintenance tasks: removes a dead Key changes:
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[CI: check-markdown-links] --> B[Lychee scans all .md files]
B --> C{URL matches exclude pattern?}
C -- Yes --> D[Skip / Ignore URL]
C -- No --> E[HTTP request to URL]
E --> F{Response OK?}
F -- Yes --> G[Pass]
F -- No --> H[Fail CI]
subgraph "New broad pattern"
P1["'^https://github.com/shakacode/react_on_rails/compare/'"]
end
subgraph "Old specific patterns (removed)"
P2["compare/8.0.6...8.0.7 $"]
P3["compare/8.0.7...9.0.0 $"]
P4["compare/10.1.1...10.1.2 $"]
P5["compare/10.1.2...10.1.3 $"]
end
P1 --> D
P2 -.->|replaced by| P1
P3 -.->|replaced by| P1
P4 -.->|replaced by| P1
P5 -.->|replaced by| P1
Last reviewed commit: 7f94618 |
| # release link always references a tag that doesn't exist yet (created after | ||
| # the changelog is committed). Exclude all compare links since they're | ||
| # auto-generated by changelog tooling. | ||
| '^https://github\.com/shakacode/react_on_rails/compare/', |
There was a problem hiding this comment.
Overly broad exclusion silences valid link checks
The new pattern '^https://github\.com/shakacode/react_on_rails/compare/' excludes all GitHub compare links for this repo — including historical ones that already resolve correctly. The stated goal is to handle the single "unreleased latest tag" link that's committed before the tag is pushed.
A slightly more targeted approach would be to match only the HEAD or unreleased-tag pattern (e.g. anchoring on the latest version). However, the main practical risk here is that if a future CHANGELOG entry contains a compare link with a typo or invalid tag range (other than the expected "unreleased" one), the link checker will silently skip it rather than flag it.
This is a reasonable trade-off for CI stability, but it's worth noting that this is broader than the original intent of "only exclude unreleased tags."
PR ReviewThis is a clean, low-risk documentation and CI configuration PR. Changes are reasonable and well-motivated.
The new broad exclusion pattern covers the ongoing problem (new CHANGELOG entries referencing not-yet-created tags), but has two subtle downsides:
A middle-ground would be scoping the exclusion to only CHANGELOG.md via
Straightforward dead-link cleanup. Keeping the text reference without a link is the right call. Overall: Minor suggestion — add a brief note in the new comment block referencing the historical tagging issue or issue #2232 so future contributors have that context. |
| # release link always references a tag that doesn't exist yet (created after | ||
| # the changelog is committed). Exclude all compare links since they're | ||
| # auto-generated by changelog tooling. | ||
| '^https://github\.com/shakacode/react_on_rails/compare/', |
There was a problem hiding this comment.
The broad exclusion is pragmatic, but it silently skips ALL compare links — including any that might be genuinely malformed in future docs. Consider adding a comment preserving the historical context about why specific old tags were missing (see removed comment referencing issue #2232), so future contributors understand the history:
| '^https://github\.com/shakacode/react_on_rails/compare/', | |
| '^https://github\.com/shakacode/react_on_rails/compare/', | |
| # Note: some historical releases (8.0.7, 10.1.2, 10.1.3) were never tagged — | |
| # their changelog entries were rolled into the next release. See issue #2232. |
…k cleanup (#2596) ## Summary - Added missing changelog entries for PRs #2439, #2477, #2554 - Stamped version header for 16.4.0.rc.9 (collapsed rc.8 into rc.9) - **Fixed rake task bug**: `collapse_prerelease_sections` removed section headers but left behind orphaned compare links at the bottom of CHANGELOG.md. Added `cleanup_collapsed_prerelease_links` to remove these links and update `[unreleased]` to compare from the last stable version. ## Changes 1. **CHANGELOG.md**: New entries + rc.9 stamp + removed orphaned `[16.4.0.rc.8]` link 2. **update_changelog.rake**: Added `cleanup_collapsed_prerelease_links` function, called from `prepare_changelog_for_auto_version` 3. **update_changelog_rake_helpers_spec.rb**: 3 new tests covering link cleanup (multi-prerelease chain, single prerelease, no prereleases) ## Skipped PRs (not user-visible) - #2593 — test only (lock instrumentation) - #2591 — test only (Jest clearMocks) - #2588 — internal refactoring (Thor shell output) - #2584 — docs restructuring - #2587 — internal tooling (release script) - #2589 — docs fix (JWT claim name) - #2586 — docs/CI (dead link removal) ## Test plan - [x] All 13 rake helper tests pass (3 new) - [ ] CI passes - [ ] After merge, run `rake release` to publish 16.4.0.rc.9 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed bin/setup failing in pnpm workspace member directories. * **New Features** * Added host configuration option for the Node Renderer Fastify worker. * **Improvements / Changed** * Automatic installation of react_on_rails_pro enabled for --rsc/--pro flags. * Clarified Pro-installation signaling related to immediate hydration warnings. * Updated changelog to include RC9 entries and ensure Unreleased links point to the correct base. * **Documentation** * Added startup warning and remediation guidance for unsafe compression middleware callbacks. * **Tests** * Added tests covering changelog prerelease-link cleanup behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 4.6 <[email protected]>
…k cleanup (#2596) ## Summary - Added missing changelog entries for PRs #2439, #2477, #2554 - Stamped version header for 16.4.0.rc.9 (collapsed rc.8 into rc.9) - **Fixed rake task bug**: `collapse_prerelease_sections` removed section headers but left behind orphaned compare links at the bottom of CHANGELOG.md. Added `cleanup_collapsed_prerelease_links` to remove these links and update `[unreleased]` to compare from the last stable version. ## Changes 1. **CHANGELOG.md**: New entries + rc.9 stamp + removed orphaned `[16.4.0.rc.8]` link 2. **update_changelog.rake**: Added `cleanup_collapsed_prerelease_links` function, called from `prepare_changelog_for_auto_version` 3. **update_changelog_rake_helpers_spec.rb**: 3 new tests covering link cleanup (multi-prerelease chain, single prerelease, no prereleases) ## Skipped PRs (not user-visible) - #2593 — test only (lock instrumentation) - #2591 — test only (Jest clearMocks) - #2588 — internal refactoring (Thor shell output) - #2584 — docs restructuring - #2587 — internal tooling (release script) - #2589 — docs fix (JWT claim name) - #2586 — docs/CI (dead link removal) ## Test plan - [x] All 13 rake helper tests pass (3 new) - [ ] CI passes - [ ] After merge, run `rake release` to publish 16.4.0.rc.9 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed bin/setup failing in pnpm workspace member directories. * **New Features** * Added host configuration option for the Node Renderer Fastify worker. * **Improvements / Changed** * Automatic installation of react_on_rails_pro enabled for --rsc/--pro flags. * Clarified Pro-installation signaling related to immediate hydration warnings. * Updated changelog to include RC9 entries and ensure Unreleased links point to the correct base. * **Documentation** * Added startup warning and remediation guidance for unsafe compression middleware callbacks. * **Tests** * Added tests covering changelog prerelease-link cleanup behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 4.6 <[email protected]>
…k cleanup (#2596) ## Summary - Added missing changelog entries for PRs #2439, #2477, #2554 - Stamped version header for 16.4.0.rc.9 (collapsed rc.8 into rc.9) - **Fixed rake task bug**: `collapse_prerelease_sections` removed section headers but left behind orphaned compare links at the bottom of CHANGELOG.md. Added `cleanup_collapsed_prerelease_links` to remove these links and update `[unreleased]` to compare from the last stable version. ## Changes 1. **CHANGELOG.md**: New entries + rc.9 stamp + removed orphaned `[16.4.0.rc.8]` link 2. **update_changelog.rake**: Added `cleanup_collapsed_prerelease_links` function, called from `prepare_changelog_for_auto_version` 3. **update_changelog_rake_helpers_spec.rb**: 3 new tests covering link cleanup (multi-prerelease chain, single prerelease, no prereleases) ## Skipped PRs (not user-visible) - #2593 — test only (lock instrumentation) - #2591 — test only (Jest clearMocks) - #2588 — internal refactoring (Thor shell output) - #2584 — docs restructuring - #2587 — internal tooling (release script) - #2589 — docs fix (JWT claim name) - #2586 — docs/CI (dead link removal) ## Test plan - [x] All 13 rake helper tests pass (3 new) - [ ] CI passes - [ ] After merge, run `rake release` to publish 16.4.0.rc.9 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed bin/setup failing in pnpm workspace member directories. * **New Features** * Added host configuration option for the Node Renderer Fastify worker. * **Improvements / Changed** * Automatic installation of react_on_rails_pro enabled for --rsc/--pro flags. * Clarified Pro-installation signaling related to immediate hydration warnings. * Updated changelog to include RC9 entries and ensure Unreleased links point to the correct base. * **Documentation** * Added startup warning and remediation guidance for unsafe compression middleware callbacks. * **Tests** * Added tests covering changelog prerelease-link cleanup behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 4.6 <[email protected]>
Summary
madroneco.comlink from PROJECTS.md (site is no longer live), keeping the text reference to Madrone Analytics.lychee.tomlwith a single pattern that excludes all GitHub compare links from this repo — the latest changelog entry always references a tag that hasn't been created yet, causing the link checker to failTest plan
check-markdown-linksCI job passes🤖 Generated with Claude Code
Note
Low Risk
Documentation and CI link-check configuration only; no runtime code paths or data/security-sensitive logic affected.
Overview
Removes the dead
madroneco.comlink fromPROJECTS.md, keeping the Madrone Analytics entry as plain text.Updates
.lychee.tomlto stop special-casing a few historical missing-tag compare URLs and instead exclude allgithub.com/shakacode/react_on_rails/compare/links (to avoid link-check failures for the latest, not-yet-tagged release compare link).Written by Cursor Bugbot for commit 7f94618. Configure here.
Summary by CodeRabbit
Documentation
Chores