update tsci snapshot logic#548
Open
mohan-bee wants to merge 2 commits intotscircuit:mainfrom
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
seveibar
reviewed
May 7, 2026
| - `-u, --update` – write new snapshots to disk. | ||
| - `--force-update` – force writing snapshots even when no visual diff is detected. | ||
| - `--3d` – also generate 3D preview snapshots. | ||
| - `--3d` – generate schematic, PCB, and 3D preview snapshots. |
Contributor
There was a problem hiding this comment.
??? that's not what --3d does
Contributor
There was a problem hiding this comment.
that is not what this flag does, this flag adds the 3d preview snapshots
seveibar
reviewed
May 7, 2026
| By default, only the PCB and schematic snapshots are produced. | ||
|
|
||
| Running without `--update` verifies that the generated output matches the existing snapshots. Differences cause a non-zero exit code. | ||
| If `--3d` is specified, the command produces PCB, schematic, and 3D snapshots |
Contributor
Author
Contributor
There was a problem hiding this comment.
that is not what this flag does, the flag adds to the existing outputs
Contributor
Author
|
@seveibar ig this is the snapshot behaviour, maybe if this seems abnormal then we need to fix the cli snapshot ig ? need you opinion. |
seveibar
reviewed
May 7, 2026
| --- | ||
|
|
||
| `tsci snapshot` renders your boards to SVG images and compares them with saved snapshots. | ||
| `tsci snapshot` renders schematic and PCB SVG images and compares them with saved snapshots. It does not generate 3D snapshots unless you explicitly pass `--3d`. |
Contributor
There was a problem hiding this comment.
why would this be in the tagline
seveibar
requested changes
May 7, 2026
Contributor
seveibar
left a comment
There was a problem hiding this comment.
check your work carefully, remember that rejection ratio is measured in the contribution tracker SPR table
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.


No description provided.