Skip to content

fix(feed): stop advertising leftover Highlighty Part 2 404 - #32

Draft
wustep wants to merge 1 commit into
mainfrom
cursor/omit-unresolvable-feed-slugs-7d97
Draft

fix(feed): stop advertising leftover Highlighty Part 2 404#32
wustep wants to merge 1 commit into
mainfrom
cursor/omit-unresolvable-feed-slugs-7d97

Conversation

@wustep

@wustep wustep commented Aug 17, 2026

Copy link
Copy Markdown
Owner

What was wrong

/feed still lists Rapid Prototyping: Highlighty (Part 2) at /rapid-prototyping-highlighty-part-2. That post is marked Public in the Notion posts collection (so RSS picks it up), but it is hidden from home and /writing, so it is not in the committed page index. Visiting the URL is a soft 404:

Production 404 for /rapid-prototyping-highlighty-part-2

This is leftover from the Highlighty article pair. Part 1 (/rapid-prototyping-highlighty) is real and already fixed in #24. Part 2 is an unpublished leftover that subscribers still get as a dead link.

Why it matters

RSS is a public listing. Advertising a URL that 404s is worse than omitting a hidden draft. The feed description for Part 2 also falls back to the generic site tagline (Software Engineer, San Francisco, CA), which is another leftover-article smell.

What changed

Feed items are now skipped unless /<slug> would resolve the same way page routes do: committed index / URL overrides, then collection slugs from override pages like /writing. Hidden leftover posts stay out of the feed. Real hidden-from-home posts that are on /writing (Part 1) still resolve and still appear.

Test plan

  • Unit tests for isResolvablePageSlug (index hit, writing-collection hit, leftover Part 2 miss)
  • GET /feed no longer contains rapid-prototyping-highlighty-part-2
  • /feed still includes /rapid-prototyping-highlighty, /oct-25, /philosophy
  • /rapid-prototyping-highlighty-part-2 still 404s (intentional; this PR does not publish the leftover page)

Notion Test Page ID

2bc5cb08cf2c81639fb3f549654b6a7c (Highlighty Part 2 — leftover, 404s on the site)

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

The posts collection still marks Rapid Prototyping: Highlighty (Part 2)
as public, so /feed advertised /rapid-prototyping-highlighty-part-2.
That slug is hidden from home and /writing, so the site 404s.

Skip feed items that would not resolve the same way page routes do.
@vercel

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
me Ready Ready Preview Aug 17, 2026 5:33am

Request Review

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.

2 participants