just updating with one dep in core, all

just updating with one dep in core, all failed due to snapshot updating , is there any way to skip previous snapshot and directly get updated snapshot,
No description
14 Replies
Techmannih
TechmannihOP•5w ago
@Seve can i update these inline test
Techmannih
TechmannihOP•5w ago
No description
Seve
Seve•5w ago
yea you can probably remove that line entirely, seems flaky
Techmannih
TechmannihOP•5w ago
@Seve
No description
Seve
Seve•5w ago
yea generally w/ XY you can remove the snapshot lines we don't want to be snapshotting XY in most cases
Techmannih
TechmannihOP•5w ago
@Seve what we can do for this one
No description
Seve
Seve•5w ago
create a reproduction in the calculate-packing repo you'll need to use the test to get the input problem you may want to call await circuit.renderUntilSettled() to get a better stack trace idk if it'll help that much but it's a bit hard to see where the error is occurring within core @Techmannih i think it's probably within core/lib/components/primitive-components/Group/Group_doInitialPcbLayoutPack.ts but hard to say
Techmannih
TechmannihOP•5w ago
@Seve first i m trying to add repro for this in calculate-packing. how to get pack input for this one
Seve
Seve•5w ago
look at Group_doInitialSchematicTraceRender.ts at how we do if (debug.enabled) { global.debugOutputs.add(...) } and implement that for the pack input then whenever you do DEBUG=Group_doInitialPcbLayoutPack it'll output JSON files with the packInput
Techmannih
TechmannihOP•5w ago
@Seve not able to get😫
Techmannih
TechmannihOP•5w ago
No description
Seve
Seve•5w ago
Did you set DEBUG Make sure its set, find the relevant debug object
Techmannih
TechmannihOP•5w ago
Yes I have set this, still unable to generate @Seve Can I get a quick video when you have a chance May I miss something.
Seve
Seve•5w ago
GitHub
core/docs/DEVELOPMENT.md at main · tscircuit/core
Create electronics with Typescript and React. Compile Typescript to Circuit JSON - tscircuit/core

Did you find this page helpful?