Skip to content

feat(blog): Bun Rust rewrite on Prisma Compute post + Prisma Compute series#7943

Merged
ankur-arch merged 3 commits into
mainfrom
feat/blog-bun-rust-compute
Jun 11, 2026
Merged

feat(blog): Bun Rust rewrite on Prisma Compute post + Prisma Compute series#7943
ankur-arch merged 3 commits into
mainfrom
feat/blog-bun-rust-compute

Conversation

@ankur-arch

@ankur-arch ankur-arch commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

What

Adds the "We put Bun's Rust rewrite in production on Prisma Compute" blog post (draft 4 from prisma-orm-messaging) and creates a new Prisma Compute blog series.

Post

  • apps/blog/content/blog/bun-rust-rewrite-prisma-compute/index.mdx, authored by Alexey Orlenko (new author photo at public/authors/alexey-orlenko.png)
  • Hero SVG + meta PNG under public/bun-rust-rewrite-prisma-compute/imgs/
  • Tags trimmed to platform — the frontmatter schema enum doesn't allow bun/rust/compute

Series

  • New prisma-compute series in the registry: the public beta launch post is part 1, this post is part 2
  • The two featured series are now Prisma Compute and Prisma Next (postgres-features unfeatured)
  • Series registry supports optional docsUrl/docsLabel; the series page header renders it as a docs link, connecting /series/prisma-compute to the Prisma Compute docs

Verification

  • pnpm types:check in apps/blog passes (includes fumadocs-mdx frontmatter validation)
  • oxfmt/oxlint clean on edited source files

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Published a new blog post about running Prisma Compute on Bun's Rust rewrite with findings, guidance, and deployment/auth instructions.
    • Launched a new "prisma-compute" blog series (featured) with optional documentation link/label shown on series pages.
    • Preserved ordering for featured series in listings and added series index metadata to related posts.

…series

Adds the "We put Bun's Rust rewrite in production on Prisma Compute" post
by Alexey Orlenko with hero/meta images and author photo.

Creates the prisma-compute series (featured, linked to the Compute docs),
adds the public beta launch post as part 1, and unfeatures postgres-features
so the two featured series are Prisma Compute and Prisma Next. Series pages
can now render an optional docs link via docsUrl/docsLabel in the registry.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Jun 11, 2026 3:10pm
docs Ready Ready Preview, Comment Jun 11, 2026 3:10pm
eclipse Ready Ready Preview, Comment Jun 11, 2026 3:10pm
site Ready Ready Preview, Comment Jun 11, 2026 3:10pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: baec8fa5-7a23-4538-9aa5-70f2fb0dae1a

📥 Commits

Reviewing files that changed from the base of the PR and between 9e7b8b9 and d5122ae.

📒 Files selected for processing (2)
  • apps/blog/content/blog/bun-rust-rewrite-prisma-compute/index.mdx
  • apps/blog/src/app/(blog)/page.tsx

Walkthrough

This PR adds optional docsUrl/docsLabel to series metadata, preserves featured-series registry order in sorting, conditionally shows a "Read the docs" link on series pages, and publishes two Prisma Compute posts (launch frontmatter and a detailed Bun Rust-rewrite production evaluation).

Changes

Blog series expansion and Prisma Compute launch content

Layer / File(s) Summary
Series metadata types and registry
apps/blog/src/lib/series-registry.ts
Adds docsUrl?: string and docsLabel?: string to SeriesMetadata and includes a new prisma-compute series entry with docs metadata.
Series sorting and header rendering
apps/blog/src/app/(blog)/page.tsx, apps/blog/src/app/(blog)/series/[key]/page.tsx
Sorting comparator preserves registry order when both series are featured; the series page header conditionally renders a "Read the docs" anchor when meta.docsUrl exists, using meta.docsLabel or "Read the docs" as fallback.
Prisma Compute series blog posts
apps/blog/content/blog/launching-prisma-compute-public-beta/index.mdx, apps/blog/content/blog/bun-rust-rewrite-prisma-compute/index.mdx
Adds series: prisma-compute and seriesIndex: 1 to the launch post frontmatter and adds a new detailed post describing Compute's runtime constraints, observed Bun failures on stable, comparative canary results, launch rationale, lessons learned, production feedback-loop guidance, and user steps to try Prisma Compute.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • prisma/web#7925: Introduced the series feature this PR extends by adding docsUrl/docsLabel and related UI wiring.
  • prisma/web#7902: Related changes to blog post listing and card metadata (authors) that interact with series/listing behavior.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly and concisely describes the two main additions: a blog post about Bun's Rust rewrite on Prisma Compute and the creation of a new Prisma Compute series.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

@argos-ci

argos-ci Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Jun 11, 2026, 3:15 PM

Featured series now keep their registry order instead of ranking by part
count, so prisma-compute (first in the registry) takes the home highlight
card ahead of prisma-next.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ankur-arch ankur-arch self-assigned this Jun 11, 2026
Comment thread apps/blog/content/blog/bun-rust-rewrite-prisma-compute/index.mdx Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
apps/blog/src/app/(blog)/series/[key]/page.tsx (1)

80-87: ⚡ Quick win

Add security attributes for external documentation link.

The external documentation link should include rel="noopener noreferrer" to prevent potential security risks associated with the window.opener reference. Consider also adding target="_blank" to open documentation in a new tab, improving the user experience.

🔒 Proposed fix
         {meta.docsUrl ? (
           <a
             href={meta.docsUrl}
+            target="_blank"
+            rel="noopener noreferrer"
             className="mt-3 inline-block text-sm font-medium text-foreground-ppg hover:underline"
           >
             {meta.docsLabel ?? "Read the docs"} →
           </a>
         ) : null}
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/blog/src/app/`(blog)/series/[key]/page.tsx around lines 80 - 87, The
external docs anchor rendering conditional on meta.docsUrl should include
security and UX attributes; update the anchor created where meta.docsUrl is used
(in page.tsx rendering the doc link) to add target="_blank" and rel="noopener
noreferrer" alongside the existing href and className so the link opens in a new
tab and prevents window.opener exploits while keeping meta.docsLabel as the link
text.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@apps/blog/src/app/`(blog)/series/[key]/page.tsx:
- Around line 80-87: The external docs anchor rendering conditional on
meta.docsUrl should include security and UX attributes; update the anchor
created where meta.docsUrl is used (in page.tsx rendering the doc link) to add
target="_blank" and rel="noopener noreferrer" alongside the existing href and
className so the link opens in a new tab and prevents window.opener exploits
while keeping meta.docsLabel as the link text.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 33e9a7e1-349d-47ed-8c08-86059760ecc5

📥 Commits

Reviewing files that changed from the base of the PR and between 41c4f4d and 9e7b8b9.

⛔ Files ignored due to path filters (3)
  • apps/blog/public/authors/alexey-orlenko.png is excluded by !**/*.png
  • apps/blog/public/bun-rust-rewrite-prisma-compute/imgs/hero.svg is excluded by !**/*.svg
  • apps/blog/public/bun-rust-rewrite-prisma-compute/imgs/meta.png is excluded by !**/*.png
📒 Files selected for processing (4)
  • apps/blog/content/blog/bun-rust-rewrite-prisma-compute/index.mdx
  • apps/blog/content/blog/launching-prisma-compute-public-beta/index.mdx
  • apps/blog/src/app/(blog)/series/[key]/page.tsx
  • apps/blog/src/lib/series-registry.ts

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