Skip to content

fix(next-styles): the home page gets its own sheet after Vercel regenerates it CU-17tkuw61z4z - #2920

Merged
michaelassraf merged 1 commit into
mainfrom
fix/route-styles-index-path
Nov 2, 2026
Merged

michaelassraf merged 1 commit into
mainfrom
fix/route-styles-index-path

Conversation

@michaelassraf

@michaelassraf michaelassraf commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Summary

  • The home page got the complete stylesheet (252 KB) instead of its own after Vercel regenerated it. Every other cached page kept its own sheet.
  • Vercel serves the home page as its index function, so a regenerated home page renders with /index as its path, which matches no route in the manifest.
  • /index is now the home route, as in Next (denormalizePagePath). No app route is named index: Next answers /index itself.

Evidence

On the flamingo preview of the hub's pin to 0.0.835, a regenerated home page carried the complete sheet while /careers, /faqs, /download and a blog post kept their own. The local Vercel build output stores the home page as functions/index.func.

Test plan

  • vitest run src/__tests__/route-styles.test.ts: the resolver answers the home sheet for / and /index
  • After the release: the hub preview's home page carries its own sheet after a regeneration

Change-Set: feat-route-styles-adapter
ClickUp task: https://app.clickup.com/t/17tkuw61z4z

🤖 Generated with Claude Code

Change set flamingo-stack/feat-route-styles-adapter: this pull request is the only one in it so far. Another pull request joins by naming this one in a Depends-On line, or by carrying the same Change-Set line.

Linked work

Linked by the Depends-On / Change-Set lines in these descriptions; this block is maintained by the hub.

…erates it CU-17tkuw61z4z

Vercel serves the home page as its index function, so a home page it
regenerates renders with /index as its path, matches no route and got
the complete sheet. /index is the home route, as in Next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@michaelassraf

Copy link
Copy Markdown
Member Author

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

🦩 Flamingo Code Review

Not reviewed yet. Reviews start when you ask, so the reviewer reads this pull request when it is ready, not when it is opened.

When it is ready:

  • Review this pull request

Or comment @flamingo-review. Add the flamingo-review-always label to review every push.

Updated 2026-11-01 19:45 UTC · workflow run

@michaelassraf
michaelassraf merged commit 92e8753 into main Nov 2, 2026
20 of 21 checks passed
@michaelassraf
michaelassraf deleted the fix/route-styles-index-path branch November 2, 2026 04:17
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