Skip to content

feat(web): /all-stars on Effect UI, retire Foldkit Cafe - #375

Merged
shitratgit[bot] merged 1 commit into
mainfrom
effect-ui-all-stars
Nov 27, 2026
Merged

shitratgit[bot] merged 1 commit into
mainfrom
effect-ui-all-stars

Conversation

@shitratgit

@shitratgit shitratgit Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Moves /all-stars from Foldkit to Effect UI and retires the Foldkit Cafe client. It follows /news (#370), /directory (#373) and /lore (#374) on the same Vite manifest asset path.

What changes

  • /all-stars renders with @effect/ui on the server and hydrates its own route entry, with a schema-checked server handoff.
  • The Foldkit Cafe client, its views and the GotCafeMessage wiring are removed. Only the server loader, the build and test fixtures decode Cafe data (ReaderSource). The Foldkit shell now reads Cafe-free ReaderFlags.
  • Captured Foldkit fixtures keep All Stars, Directory and News parity tests independent of the new views.
  • The production bundle test follows the emitted home HTML and its manifest modulepreloads to source maps. It fails if any Cafe model, handoff or reader-cafe module reaches the home page. The rejected first version failed this test and named all five module IDs.

Proof

  • Cold install from a fresh clone with an empty store, then the forced full gate: 106/106, 0 cached.
  • Parity:
    • all 55 profiles, order, text, avatar bytes, links, classes and stylesheet bytes match;
    • the Atom feed and all 56 Markdown files are byte-identical;
    • reversing the card order fails the captured Foldkit test.
  • Packaged Website in Chrome:
    • All Stars, Directory, both News routes and /lore/effect-basics hydrate their own entries without Foldkit;
    • home still adopts Foldkit and preloads no Cafe module;
    • every page registers the same 21 WebMCP tools;
    • the Directory keyboard filter and reset still work;
    • the manifest returns 404.
  • A single-commit revert restores Foldkit All Stars, with a green gate.

Bytes

Static client JS, gzip, matched packaged artifacts, base 109d59c to head:

Route Base Head
/ 169,319 164,383
/all-stars 169,319 120,263
/directory 117,616 117,583
/news, /news/latest 120,788 120,619
/lore/effect-basics 119,136 119,102

Website Worker static startup grows by 180,875 bytes, because Cafe decoding moves server-side. The startup checks pass, and Cloudflare's limits are far away.

Rollback: git revert the commit and let auto-ship deploy.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 80fbaac7-8a98-408a-a25d-dbb8fec3508b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@shitratgit
shitratgit Bot merged commit 7012210 into main Nov 27, 2026
4 checks passed
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.

0 participants