Skip to content

fix(cli): allow blog and posts changelog slugs - #17462

Open
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1787075364-blog-changelog-feed-slugs
Open

fix(cli): allow blog and posts changelog slugs#17462
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1787075364-blog-changelog-feed-slugs

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Description

Linear ticket: Refs

valid-changelog-slug errors on any changelog whose URL contains no allowlisted segment, on the grounds that its .rss/.atom/.json feeds would 404. A changelog published at /blog is exactly that case today, so authoring a blog on the changelog pipeline (fern-api/fern-platform#14055 adds layout: blog) fails fern check outright.

This adds blog, blogs, and posts to CHANGELOG_FEED_ALLOWED_SLUGS, keeping the rule in sync with the server-side list the docs bundle matches feed requests against (packages/commons/docs-server/src/patterns.ts in fern-platform, extended in the same way by that PR). Both lists must move together — allowing it here alone would validate a changelog whose feeds still 404.

Changes Made

  • Add blog, blogs, posts to the rule's allowlist.
  • Cover a top-level /blog changelog as valid in the rule's tests.
  • Add an unreleased CLI changelog entry (type: fix).

Testing

  • Unit tests added/updated — turbo run test --filter=@fern-api/docs-validator: 18 files, 207 tests passing.
  • Manual testing completed — fern check on a docs project whose blog changelog resolves to /blog reports 0 errors (previously an error on the changelog slug).

Link to Devin session: https://app.devin.ai/sessions/da27e5183b724ee0953e0cd3f4cbcd06


Open in Devin Review

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.

1 participant