Repository navigation
visualci-core on crates.io, with pdf and config features (sc-8792) - #16
Closed
ndbroadbent wants to merge 2 commits into
Closed
ndbroadbent wants to merge 2 commits into
ndbroadbent wants to merge 2 commits into
Conversation
…, schemars) features, on by default, so default-features = false is the image diff (vci-diff-1), fingerprints, alignment and text diffs; crate metadata and README; release.yml publishes it at the workspace version when crates.io lacks it (CARGO_REGISTRY_TOKEN); CI lints it without default features; 0.2.9
VisualCIdocspring/visualci · build #103 · 292 unchanged · no changes This PR vs base: nothing since #96, across 2 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
…ravel Rust's visual testing uses)
Member
Author
|
Closed: Nathan decided not to publish visualci-core. The reusable parts become a VisualCI-agnostic crate, snapshot-diff, in its own PR (sc-8792). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sc-8792. visualci-core goes on crates.io, so the Laravel Rust visual-testing crate's local mode can use vci-diff-1 and match the server exactly.
Features, both on by default:
pdf: lopdf, for PDF fingerprints and pages;config: globset and schemars, for visualci.yml and its schema.With
default-features = falsethe crate keeps the image diff (vci-diff-1), image fingerprints, page alignment and text snapshot diffs.IgnoreRulesderivesJsonSchemaonly withconfig. The workspace's crates use the defaults, so nothing else changes.Metadata: description, homepage, docs.rs, a README, keywords and categories. Apache-2.0 and the repository come from the workspace.
CI: lint also runs clippy on visualci-core with
--no-default-features.release.yml: a
cratejob publishes visualci-core at the workspace version once CI passes on main, if crates.io doesn't have that version yet. It needs theCARGO_REGISTRY_TOKENsecret, and without it the job only warns. The agents' existing crates.io token is scoped tooauth-provider*, so Nathan is making a new one (sc-8793).Version: 0.2.9, the workspace version, because visualci-core changed. CLI: review builds without MCP (sc-8782) #13 (CLI review commands) also bumps to 0.2.9, so whichever merges second moves to 0.2.10.
Checked on docspring-dev:
cargo publish --dry-run -p visualci-corepackages and verifies 0.2.9.Review: no screenshots change.