Skip to content

Blog post (draft): How we rewrote VisualCI in Laravel Rust - #102

Draft
ndbroadbent wants to merge 5 commits into
mainfrom
marketing-blog-laravel-rust
Draft

ndbroadbent wants to merge 5 commits into
mainfrom
marketing-blog-laravel-rust

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Draft. Publish only after the cutover to the Laravel Rust server, when the claim is true, and only after Nathan has read it. The post has draft: true, so it stays out of the site even if this merges early. The blog infrastructure (#101) is merged; this PR is only the post.

content/blog/laravel-rust-rewrite.md, byline Nathan Broadbent, in plain first person like Talira's posts. It covers:

  • why a rewrite before launch was cheap;
  • the crates that moved unchanged;
  • the spike's two checks (MCP under Laravel Rust, the data layer);
  • the old server's recorded JSON answers as the parity contract;
  • what fought the framework: Postgres arrays, composite keys (#499), rmcp and the task-local context, single-process Reverb so we use SSE;
  • what we published: oauth-provider-laravel 0.1.1, snapshot-testing-laravel, Handle a route with a Tower service laravel/rust-framework#520 and #527.

Sources

  • The Laravel Rust evaluation note (~/Notes/Agents/visual-regression/2026-12-03 …).
  • sc-8900.
  • SPIKE.md on the laravel-rust branch.
  • The merged app/ PRs.
  • Handle a route with a Tower service laravel/rust-framework#520 and #527, both open as of 3 Dec.
  • oauth-provider-laravel's 0.1.1 release (OAUTH_AUTHORIZATION_ENDPOINT).
  • Build numbers from visualci: the spike (a slice of the app) built in 77 s against 125 s for the whole Loco server, with stripped binaries of 44.7 MB against 41.8 MB. The post says plainly that the spike was a slice.

No customer data or company financials.

TODO at cutover (each is a visible [TODO at cutover: …] in the post; the build refuses a published post that still has one)

  • The date production switched to the Laravel Rust server.
  • The full app/'s clean release build time and stripped binary size on docspring-dev (visualci measures these).
  • The count of recorded answers: app/tests/golden on main, phrased as "every answer recorded from the old server (N)".
  • Whether #520 and #527 are merged, and in which Laravel Rust release. Reword "we sent" if so.
  • Whether live updates over SSE with LISTEN/NOTIFY shipped (sc-8897).
  • Set date to the publish date and remove draft: true. The footer's Blog link then appears by itself.
  • Nathan reads it.

Checked on docspring-dev: with VISUALCI_BLOG_DRAFTS=1 the post, /blog/, the feed and the footer link render, with screenshots at 1440 light and 390 dark. Without it, the site is unchanged and site.mjs passes.

@ndbroadbent
ndbroadbent force-pushed the marketing-blog-laravel-rust branch from 0a55440 to 69b6bdb Compare December 3, 2026 01:26
@ndbroadbent
ndbroadbent changed the base branch from marketing-blog to main December 3, 2026 01:26
…ampfire in Rust, DocSpring's PDF engine, Talira on Loco)
…50 recorded answers, build numbers, what the reviews and the screenshot run caught)
@ndbroadbent
ndbroadbent force-pushed the marketing-blog-laravel-rust branch from 69b6bdb to 450f299 Compare December 3, 2026 04:26
@visualci-com

visualci-com Bot commented Dec 3, 2026

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #4 · 333 added · approved

This PR vs base: 333 added, across 1 build

Snapshot Before After
screenshots/app/account/1440-dark (added) –
screenshots/app/account/1440-dark-2x (added) –
screenshots/app/account/1440-light (added) –
screenshots/app/account/1440-light-2x (added) –
screenshots/app/account/390-dark (added) –
screenshots/app/account/390-dark-2x (added) –
screenshots/app/account/390-light (added) –
screenshots/app/account/390-light-2x (added) –
and 325 more in the build

Updated as builds change. Agents can review with VisualCI's MCP tools.

This branch has not been deployed

No deployments
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