Repository navigation
Add a CI visual check that diffs two Cipher refs - #137
Merged
Merged
Conversation
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
💬 Discussion in Slack: #pr-review-cipher-137-prototype-cipher-visual-check-between-two-refs Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel. |
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
[Low impact] The reviewed changes appear safe to merge.
|
…pty scoped runs Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Contributor
|
@greptileai review |
…ease tags Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ized screenshots Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Contributor
|
@greptileai review |
Merged
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.
Adds
.github/workflows/cipher-visual.yml, the release visual check for INF-232. It renders every showcase example at a baseline ref and a candidate ref, pixel-diffs them and uploads acipher-visual-reportartifact with before, after and diff images for each change and a summary of the changed count, the total and the changed files. The README's Release section says how to run it.gh workflow run cipher-visual.yml -f base=<tag> -f candidate=<ref> [-f scope=scoped]once this is on main. On this pull request it runs onCIPHER_BASEandCIPHER_CANDIDATEfrom the workflow env (v0.1.15 and v0.1.16). A release tag renders the source commit under it.visual.html,visual.tsx,vite.visual.config.tsandvisual.spec.tsin the pinned Playwright image, eight shards per side, both sides in parallel.scope=scoped(or thecipher-visual:scopedlabel on a pull request) renders only the pages whose examples reach a changed file through the import graph, with changed icons tracked by name. Tokens, global CSS, fonts, theme code, package dependencies and the frame and overlay primitives render every page..github/cipher-visual/scope.mjsis shared with the app's check in Infisical/infisical.On v0.1.15 against v0.1.16, the full run reports 168 changed, 4 added of 1472 snapshots in about 5 minutes. The scoped run renders 50 of 103 pages (896 snapshots), finds the same 168 and 4, and takes about 4 minutes.