[codex] Refactor content loading and post metadata normalization - #207
Conversation
|
Warning Review limit reached
More reviews will be available in 48 minutes and 48 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
estrilda | f8b6dd3 | Commit Preview URL Branch Preview URL |
Jun 22 2026, 07:30 PM |
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
apps/astro-blog/src/lib/content.ts.slug -> sourcemap forgetPostBySlug()andgetNoteBySlug()instead of scanning all Markdown files again.packages/content-processor/src/processor.tssoprocessMarkdown()andextractMetadata()share the same date, tag, cover image, draft, and reading-time handling.Impact
This keeps existing URLs and rendering behavior intact while reducing repeated source work and keeping post metadata interpretation consistent between list metadata and detail rendering.
Closes #201
Closes #202
Validation
pnpm type-checkpnpm --filter astro-blog buildpnpm --filter @estrivault/content-processor buildgit diff --find-renames -- content/blog