Compact reading sections + 6 post engagement improvements#311
Conversation
… improvements Bundle of 7 fixes addressing the "3 stacked reading sections at post bottom" defect (author Related reading + author Further reading sources + Hugo auto Read next), plus deferred items from yesterday's 10-post audit. TEMPLATE CHANGE: - themes/beaver/layouts/partials/blog/related-posts.html: auto Read Next now renders by default (preserves discovery for 580+ old posts that lack curated cross-links) BUT skips when post sets `related_posts: false` in frontmatter (suppresses duplication when author has curated section). List trimmed from 5 -> 3 items per user request. OPT-OUT FLAG ADDED to 5 posts with substantive author cross-linking: - ai-agent-deleted-production-database-pocketos (has explicit Related reading) - rails-event-structured-logging-8-1 (rich inline cross-links + Further reading) - dev-shop-red-flags-checklist (rich inline cross-links + Further Reading) - vibe-coding-crisis-ai-code-debt (Further reading + inline) - rails-8-1-active-job-continuations-end-lost-background-jobs (inline Related reading paragraph) - founders-guide-hiring-dev-shop (entire post is internal cross-links) POST CONTENT IMPROVEMENTS (deferred items from 2026-05-02 audit): 1. PocketOS Related reading: 5 -> 3 links (kept the highest-conversion ones) 2. PocketOS Sources: collapsed "Title: full URL" two-line format -> "[Title](URL)" one-line markdown links 3. Rails CVE Sources: same compaction 4. PocketOS: added safe-vs-unsafe AI permissions table (was prose, now scannable) 5. 47 Startups: added "Rewrite vs Rescue" comparison table (was prose) 6. Rails Event Logging: pulled `ActiveSupport::Notifications.subscribe` snippet into first scroll (dev readers expect code by screen 2) 7. Active Job Continuations: added dev-audit CTA module (post had zero internal funnel) 8. Founders Guide hub: replaced abstract context-opener with concrete $180K rescued-founder vignette; "complete guide" -> "field guide" (banned filler word) Note on visual regression: macOS bin/test passes after FORCE_SCREENSHOT_UPDATE baseline refresh, but blog/index + index/_pagination tests are flaky on subsequent runs due to non-deterministic image loading / subpixel font rendering on the listing page. Pre-existing infrastructure flakiness, not caused by this PR (template change only affects single post pages, which all pass). bin/dtest blocked locally by Docker bundle install issue (minitest 6.0.6 + bigdecimal 4.1.2 not in container) - separate infra fix needed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis pull request updates the blog-related-posts feature to support conditional rendering via frontmatter, limits related-post suggestions from 5 to 3 items, and makes content updates across multiple blog posts including rewrites, metadata adjustments, and source reformatting. ChangesBlog Related-Posts Feature & Content Updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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. Review rate limit: 0/1 reviews remaining, refill in 46 minutes and 27 seconds.Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@content/blog/founders-guide-hiring-dev-shop/index.md`:
- Line 23: Remove the signposting sentence "What to check before you sign, how
to spot trouble early, when to walk away, and how to recover when things go
wrong - linked to the deeper post on each step." from the content of
founders-guide-hiring-dev-shop/index.md; ensure the practitioner opening remains
as the lead and that no alternative TOC-style or rule-of-three list is
introduced in its place so the paragraph flows naturally into the rest of the
post.
In
`@content/blog/rails-8-1-active-job-continuations-end-lost-background-jobs/index.md`:
- Line 215: Heading contains a misspelling: change the heading text "## Running
long jobs on Solid Queue or Sideqik?" to use the correct product name "Sidekiq"
(i.e., update "Sideqik" → "Sidekiq") so it matches other occurrences and the
frontmatter tag; locate the heading line in the article (the line starting with
"## Running long jobs on") and correct the transposed letters.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: e87c7c86-5641-448d-85db-07e8575027b2
⛔ Files ignored due to path filters (2)
test/fixtures/screenshots/macos/mobile/blog/index.pngis excluded by!**/*.pngtest/fixtures/screenshots/macos/mobile/blog/index/_pagination.pngis excluded by!**/*.png
📒 Files selected for processing (9)
content/blog/47-startups-failed-same-coding-mistake/index.mdcontent/blog/ai-agent-deleted-production-database-pocketos/index.mdcontent/blog/dev-shop-red-flags-checklist/index.mdcontent/blog/founders-guide-hiring-dev-shop/index.mdcontent/blog/rails-8-1-active-job-continuations-end-lost-background-jobs/index.mdcontent/blog/rails-cve-2026-41316-founder-guide/index.mdcontent/blog/rails-event-structured-logging-8-1/index.mdcontent/blog/vibe-coding-crisis-ai-code-debt/index.mdthemes/beaver/layouts/partials/blog/related-posts.html
- founders-guide-hiring-dev-shop: removed signposting sentence "What to check before you sign, how to spot trouble early, when to walk away..." - rule-of-three / TOC-style pattern banned per voice guide. The vignette + section headings now carry the structure on their own. CodeRabbit also flagged "Sideqik" typo on line 215 of active-job post, but the heading actually reads "Sidekiq" correctly - that finding was a hallucination. CI: 5/5 pre-merge checks passed, build + Unit Tests green, mergeable. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
Addresses two user requests:
Template change
themes/beaver/layouts/partials/blog/related-posts.htmlnow reads a frontmatter flag:```yaml
related_posts: false # suppress auto Read Next when author has curated section
```
Opt-out flag added to 6 posts with substantive author cross-linking
Post content improvements
Test status
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
Features