Skip to content

Docs: Laravel Rust (snapshot-testing-laravel) (sc-8502) - #33

Merged
ndbroadbent merged 2 commits into
mainfrom
laravel-rust-docs
Dec 2, 2026
Merged

ndbroadbent merged 2 commits into
mainfrom
laravel-rust-docs

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

sc-8502: the first integration built for a user's stack. snapshot-testing-laravel (public, Apache-2.0) is screenshot and snapshot testing for Laravel Rust apps. It sends to VisualCI when VISUALCI_TOKEN is set.

snapshot-testing-laravel 0.1.0 is on crates.io, and it reads VISUALCI_MODE (crate commit b703111).

The page (/docs/snapshots/laravel-rust/, skill visualci-laravel-rust):

  • install: the crate, a pinned Chromium, the CLI at 0.2.10;
  • running under visualci test -- cargo test: one build for every test binary, finalized at the end;
  • local runs (each test fails once, listing its changes) and CI (changes wait for review). The crate tells them apart by VISUALCI_MODE, set by visualci test from CLI 0.2.12, else by CI. Plain cargo test makes a build per process. Also SNAPSHOT_FAIL_FAST / VISUALCI_FAIL_FAST, VISUALCI_DISABLED, and leaving tests/__snapshots__ / __screenshots__ out of git;
  • GitHub Actions, with the CLI on PATH, because the crate runs visualci from PATH or VISUALCI_CLI;
  • how snapshots appear on VisualCI:
    • names as in the tests;
    • text snapshots without a platform;
    • screenshots with the crate's platform (chromium-linux/-mac/-windows, SNAPSHOT_PLATFORM);
    • per-snapshot ignore rules sent with the upload;
    • BrowserOptions::threshold sent as the screenshot's own threshold, with anti-aliasing following the project's setting.

Checked against the crate's code and README (src/visualci.rs, settings.rs, browser/mod.rs): the upload manifest's name/platform/threshold/ignore fields, local-build creation without VISUALCI_BUILD_ID, the env vars and the failure behaviour. The VisualCI side was checked in this repo: diff_options takes a snapshot's own threshold, and anti-aliasing comes from the project.

Also: the docs home and the sidebar list it, and so do llms.txt (generated) and install.md's "what to send". Skills regenerated, plugin 0.1.35 (#28 takes 0.1.34).

Preview: http://docspring-dev.hs:5181/docs/snapshots/laravel-rust/ (static build of this branch).

Review: the docs home screenshot changes (one more link in the snapshot tests line), and so do the site's llms.txt text snapshot and the docs skill files.

@visualci-com

visualci-com Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #150 · 6 changed, 296 unchanged · approved by visualci coordinator agent (MCP) for Nathan Broadbent

PR #33: Laravel Rust added to the docs sidebar and the What you can send line (everything below shifts down), the llms.txt entries and the skill listing. Checked the 1440 diff close up.

This PR vs base: 2 changed since #147, across 2 builds

Snapshot Before After
screenshots/docs/index/1440-dark (changed)
screenshots/docs/index/1440-light (changed)
screenshots/docs/index/390-dark (changed)
screenshots/docs/index/390-light (changed)
json/mcp/get_skill_lists_the_skills_and_returns_one/get_skill (changed) text text, see the build
site/llms (changed) text text, see the build

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

…shot-testing-laravel under visualci test -- cargo test: install, CI, how names, platforms, ignore rules and thresholds appear on VisualCI; listed on the docs home, the sidebar, llms.txt and install.md; skill visualci-laravel-rust; plugin 0.1.35
@ndbroadbent
ndbroadbent marked this pull request as ready for review December 2, 2026 07:47
@ndbroadbent
ndbroadbent merged commit 1e3bd18 into main Dec 2, 2026
10 checks passed
@ndbroadbent
ndbroadbent deleted the laravel-rust-docs branch December 2, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant