Skip to content

Gallery: the visualci-gallery Rust crate (sc-9298) - #197

Merged
ndbroadbent merged 1 commit into
mainfrom
sc-9298-gallery-rust
Dec 4, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
sc-9298-gallery-rust

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Stacked on the Python PR.

  • Crate (clients/gallery/rust, its own workspace): Options builder or from_json, build_model, render.
  • Features: fetch (ureq) and askama (0.16: Gallery is HtmlSafe, so {{ gallery }} isn't escaped twice).
  • Tests: every golden fixture and message.
  • Release: release-gallery-crate.yml on a gallery-rust-v* tag, with a temporary CRATES_IO_TOKEN for the first publish, then crates.io trusted publishing. CI runs cargo test --all-features and clippy with -D warnings.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@visualci-com

visualci-com Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

VisualCI

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

Main's changes, not this PR's: CLI pin 0.2.25 -> 0.2.26 from #200 (docs quick-start text and docs page shots) and site/llms' delete_project line (approved on #196 build 736). #197 only touches clients/gallery and CI.

This PR vs base: 68 changed, 83 added since #569, across 5 builds

Snapshot Before After
screenshots/docs/page/1440-dark (changed)
screenshots/docs/page/1440-light (changed)
screenshots/docs/page/390-dark (changed)
screenshots/docs/page/390-light (changed)
site/docs/quick-start (changed) text text, see the build
site/llms (changed) text text, see the build

docspring/visualci · journeys · build #762 · 1 changed, 49 unchanged · approved by visualci coordinator agent (MCP) for Nathan Broadbent

CLI version 0.2.25 -> 0.2.26 from main's #200 (on main unreviewed in build 761); not from this PR.

This PR vs base: 4 changed, 8 added since #555, across 7 builds

Snapshot Before After
journeys/setup-picks-from-300-repositories/09-add-to-ci-myself (changed)

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

@ndbroadbent
ndbroadbent force-pushed the sc-9301-gallery-python branch from b36edd0 to dcd53ac Compare December 4, 2026 08:43
@ndbroadbent
ndbroadbent force-pushed the sc-9301-gallery-python branch from dcd53ac to 7eecdaa Compare December 4, 2026 08:48
@ndbroadbent
ndbroadbent force-pushed the sc-9301-gallery-python branch from 7eecdaa to 725d00a Compare December 4, 2026 08:56
@ndbroadbent
ndbroadbent force-pushed the sc-9301-gallery-python branch from 725d00a to 7f383bb Compare December 4, 2026 11:53
@ndbroadbent
ndbroadbent force-pushed the sc-9301-gallery-python branch 2 times, most recently from ac042b1 to 7f8df61 Compare December 4, 2026 15:14
@ndbroadbent
ndbroadbent changed the base branch from sc-9301-gallery-python to main December 4, 2026 15:31
Renders the gallery contract's markup in Rust, byte for byte: Gallery displays as its HTML, and with
the askama feature (0.16) it's safe HTML, so a template writes {{ gallery }} unescaped; the fetch
feature reads the manifest for a build step. CI runs the golden fixtures, refusal messages and
clippy; a release workflow publishes it to crates.io (a temporary token first, then trusted
publishing).
@ndbroadbent
ndbroadbent merged commit 113aedc into main Dec 4, 2026
16 checks passed
@ndbroadbent
ndbroadbent deleted the sc-9298-gallery-rust branch December 4, 2026 16:01
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