Skip to content

Fix intermittent article OpenGraph fallback - #71

Open
dergigi wants to merge 1 commit into
masterfrom
fix/og-preview-gateway-fallback
Open

Fix intermittent article OpenGraph fallback#71
dergigi wants to merge 1 commit into
masterfrom
fix/og-preview-gateway-fallback

Conversation

@dergigi

@dergigi dergigi commented Jun 15, 2026

Copy link
Copy Markdown
Owner

This fixes intermittent article OpenGraph preview fallbacks by making the serverless metadata fetch more resilient and by avoiding long-lived caches for fallback responses.

  • fetch article metadata from multiple Nostr web gateways in parallel instead of depending on a single njump.to hop
  • surface gateway fetch failures so the handler only falls back when all gateway attempts fail
  • reduce fallback cache TTLs so a bad preview is not sticky when a temporary gateway timeout happens

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
boris Ready Ready Preview, Comment Jun 15, 2026 10:48pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@dergigi, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 41 minutes and 59 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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f67246ab-36a8-47bb-aea0-75b8466905ad

📥 Commits

Reviewing files that changed from the base of the PR and between d6b495b and 70b7b73.

📒 Files selected for processing (2)
  • api/article-og.ts
  • api/services/articleMeta.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/og-preview-gateway-fallback

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

Comment @coderabbitai help to get the list of available commands and usage tips.

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