Skip to content

docs(readme): list Algolia once in the Infrastructure table - #334

Merged
viclafouch merged 2 commits into
mainfrom
docs/333-readme-algolia-once
Dec 1, 2026
Merged

viclafouch merged 2 commits into
mainfrom
docs/333-readme-algolia-once

Conversation

@viclafouch

Copy link
Copy Markdown
Owner

The Infrastructure table of the README listed Algolia twice: once as "Search indexing" and once as "Search and analytics".

Now one row covers both: "Search indexing and analytics". The README is the only file the diff changes. The "Analytics" row of the Tech Stack table above it is left as it was, because the issue covers only the Infrastructure table.

Checks run on this branch: pnpm run lint, pnpm run typecheck, pnpm run format:check, pnpm run test (79 files, 566 tests) and pnpm run knip all passed. The pre-commit pnpm run check also passed.

Opened by Nyan.

Closes #333

Co-Authored-By: Nyan <noreply@petit-meme.io>
@viclafouch viclafouch added the documentation Improvements or additions to documentation label Nov 30, 2026
@viclafouch viclafouch self-assigned this Nov 30, 2026
@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
petit-meme Ready Ready Preview Dec 1, 2026 1:12pm UTC

Request Review

@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

📦 Startup JS · ✅ No heavier

Brotli · 33 routes · against main at b074aaa · workflow run

No route changed against main.

Caution

Far from the goal. 🟩 is the goal, each 🟥 one more goal’s worth.

Now Goal Distance
Startup JS of /memes/$memeId/studio, the heaviest route 516.5 kB 150 kB 🟩🟥🟥🟥 3.4×
Shell (every route) 291.2 kB 150 kB 🟩🟥 1.9×
Route JS of /memes/$memeId/studio 225.3 kB 50 kB 🟩🟥🟥🟥🟥 4.5×
📋 Every route
Route Route JS Budget Startup JS vs main
✅ Shell (every route) 291.2 kB 296 kB · 4.8 kB left — —
✅ /memes/$memeId/studio 225.3 kB 228 kB · 2.7 kB left 516.5 kB ·
✅ /memes/$memeId 205.9 kB 209 kB · 3.1 kB left 497.1 kB ·
✅ /admin/library/$memeId 197.1 kB 203 kB · 5.9 kB left 488.3 kB ·
✅ /memes/ai-search 175.6 kB 178 kB · 2.4 kB left 466.8 kB ·
✅ /settings 174.5 kB 177 kB · 2.5 kB left 465.6 kB ·
✅ /submit 165.1 kB 168 kB · 2.9 kB left 456.2 kB ·
✅ /password/create-new 163.2 kB 166 kB · 2.8 kB left 454.3 kB ·
✅ /password/reset 161.5 kB 164 kB · 2.5 kB left 452.7 kB ·
✅ /memes/bookmarks 156.8 kB 160 kB · 3.2 kB left 447.9 kB ·
✅ /memes/category/$slug 155.9 kB 159 kB · 3.1 kB left 447.1 kB ·
✅ / 155.2 kB 158 kB · 2.8 kB left 446.4 kB ·
✅ /verify-email 150.2 kB 153 kB · 2.8 kB left 441.4 kB ·
✅ /app 138.7 kB 140 kB · 1.3 kB left 429.8 kB ·
✅ /pricing 137.3 kB 140 kB · 2.7 kB left 428.5 kB ·
✅ /mentions-legales 129.5 kB 133 kB · 3.5 kB left 420.7 kB ·
✅ /terms-of-use 129.5 kB 133 kB · 3.5 kB left 420.7 kB ·
✅ /privacy 129.5 kB 133 kB · 3.5 kB left 420.7 kB ·
✅ /dmca 129.5 kB 133 kB · 3.5 kB left 420.7 kB ·
✅ /faq 124.4 kB 127 kB · 2.6 kB left 415.5 kB ·
✅ /checkout/success 124.0 kB 127 kB · 3.0 kB left 415.2 kB ·
✅ /admin/library 117.9 kB 124 kB · 6.1 kB left 409.1 kB ·
✅ /admin/categories 116.2 kB 122 kB · 5.8 kB left 407.4 kB ·
✅ /admin/users/$userId 106.6 kB 112 kB · 5.4 kB left 397.7 kB ·
✅ /admin/users 96.0 kB 102 kB · 6.0 kB left 387.2 kB ·
✅ /reels 90.7 kB 96 kB · 5.3 kB left 381.9 kB ·
✅ /admin/proposals 85.7 kB 91 kB · 5.3 kB left 376.9 kB ·
✅ /admin/activity/$ip 84.0 kB 90 kB · 6.0 kB left 375.2 kB ·
✅ /admin/downloader 83.6 kB 89 kB · 5.4 kB left 374.8 kB ·
✅ /admin/activity 83.3 kB 89 kB · 5.7 kB left 374.5 kB ·
✅ /admin 81.4 kB 87 kB · 5.6 kB left 372.6 kB ·
✅ /admin/ai-search 74.5 kB 80 kB · 5.5 kB left 365.6 kB ·
✅ /embed/$memeId 69.9 kB 75 kB · 5.1 kB left 361.0 kB ·
✅ /admin/services 59.6 kB 65 kB · 5.4 kB left 350.8 kB ·
🤖 Agent brief

What this measures. The Brotli size of each JS file the server-rendered page of a route modulepreloads, read from the TanStack Start manifest of pnpm run build:e2e. The shell is what the root route preloads on every page. Route JS is what a route adds on top, each file counted once. Startup JS is both, and every comparison with main runs on it: Rolldown moves code between the shell and the routes from one build to the next, and only the startup JS of a page tells what its visitor downloads. Sizes in the data are bytes.

Rules. Budgets live in bundle-budget.json as a one-way ratchet: the size when last updated, plus 5 kB. pnpm run bundle-size --update only lowers them, and --allow-growth raises them, flagged in red against main. Never raise one to turn the check green. Chunk names drop the Rolldown hash: meme-card stands for meme-card-<hash>.js. Two chunks with the same name add up, and a chunk loaded by every route reads every route. A chunk that grows while no route loading it gets heavier shows ⚪, with isRegression: false: Rolldown renamed or merged it, and only red chunks explain a heavier route. A chunk Rolldown renamed reads old → new, with renamedFrom. First-view CSS is gated apart, by e2e/first-view.spec.ts against firstViewCss.

Reproduce

pnpm run build:e2e
gh run download 46380518934 --name bundle-size --dir /tmp/main-bundle-size
git show origin/main:bundle-budget.json > /tmp/main-budget.json
pnpm run bundle-size --base /tmp/main-bundle-size/report.json --base-budget /tmp/main-budget.json
pnpm run build:analyze

Data

{
  "verdict": "pass",
  "base": {
    "commit": "b074aaa",
    "runId": "46380518934"
  },
  "violations": [],
  "raisedBudgets": [],
  "routeChanges": [],
  "chunkChanges": []
}

With preload "metadata", hls.js waits for the video's play event to start
loading. hls.js arrives through a dynamic import, so a Play pressed before
it attaches fires play before the listener exists: the button shows Pause
and the Video never loads. hls.js now waits for play only while the video
is still paused, and loads at once otherwise.

The e2e scenario holds the hls.js chunk until Play is pressed, so it covers
that order on every run instead of on a slow CI runner only.
@viclafouch
viclafouch merged commit b2f8b84 into main Dec 1, 2026
10 of 12 checks passed
@viclafouch
viclafouch deleted the docs/333-readme-algolia-once branch December 1, 2026 13:17

This branch was successfully deployed

1 active deployment
Preview — af9cae1d Deployed Dec 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: list Algolia once in the Infrastructure table of the README

1 participant