Conversation
|
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5462 +/- ##
==========================================
- Coverage 85.42% 85.20% -0.22%
==========================================
Files 108 109 +1
Lines 46399 47010 +611
==========================================
+ Hits 39638 40057 +419
- Misses 6761 6953 +192
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
CodSpeed Walltime Performance ReportMerging #5462 will degrade performances by 17.78%Comparing
|
| Benchmark | BASE |
HEAD |
Change | |
|---|---|---|---|---|
| ❌ | parse_80-20-rail |
7.5 ms | 8.9 ms | -15.42% |
| ❌ | parse_a-parametric-bearing-pillow-block |
1.8 ms | 2.1 ms | -14.99% |
| ❌ | parse_ball-bearing |
3.2 ms | 3.8 ms | -15.67% |
| ❌ | parse_bench |
3 ms | 3.6 ms | -15.86% |
| ❌ | parse_bracket |
2.3 ms | 2.8 ms | -16.12% |
| ❌ | execute_color-cube |
1.4 s | 1.7 s | -15.79% |
| ❌ | parse_color-cube |
2.3 ms | 2.7 ms | -16.7% |
| ❌ | parse_cycloidal-gear |
3.4 ms | 4.1 ms | -16.41% |
| ⚡ | execute_dodecahedron |
1.8 s | 1.6 s | +14.63% |
| ❌ | parse_dodecahedron |
10.1 ms | 12.1 ms | -16.74% |
| ❌ | parse_dual-basin-utility-sink |
12.6 ms | 15.2 ms | -17% |
| ⚡ | execute_enclosure |
3.3 s | 2.9 s | +13.25% |
| ❌ | parse_enclosure |
11 ms | 13 ms | -15.63% |
| ❌ | parse_exhaust-manifold |
10.2 ms | 12.1 ms | -16.03% |
| ❌ | parse_flange |
1.1 ms | 1.3 ms | -15.78% |
| ❌ | parse_focusrite-scarlett-mounting-bracket |
8.3 ms | 9.7 ms | -14.32% |
| ❌ | parse_food-service-spatula |
11 ms | 12.9 ms | -15.17% |
| ⚡ | execute_french-press |
4.5 s | 3.9 s | +15.96% |
| ❌ | parse_french-press |
10.4 ms | 12.4 ms | -16.01% |
| ❌ | parse_gear-rack |
2.1 ms | 2.5 ms | -15.05% |
| ... | ... | ... | ... | ... |
ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.
CodSpeed Instrumentation Performance ReportMerging #5462 will not alter performanceComparing Summary
|
Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> update the extrude idds Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> fix sample Signed-off-by: Jess Frazelle <github@jessfraz.com> better docs Signed-off-by: Jess Frazelle <github@jessfraz.com> fix the start and end tag Signed-off-by: Jess Frazelle <github@jessfraz.com> better docs Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> new tests Signed-off-by: Jess Frazelle <github@jessfraz.com> codespell Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com>
Signed-off-by: Jess Frazelle <github@jessfraz.com>
Signed-off-by: Jess Frazelle <github@jessfraz.com>
Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Signed-off-by: Jess Frazelle <github@jessfraz.com>
Signed-off-by: Jess Frazelle <github@jessfraz.com>
jtran
left a comment
There was a problem hiding this comment.
I'm wondering how the cloned IDs will make it into the artifact graph. But I'd rather merge this first and figure it out later.
Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
|
oh yeah would be ideal if they returned the mapping on clone versus this getchildid thing i have to do, then maybe we could both use that way? or i could push ot the artifact graph from here after recreating thhe world which might be easier since like its a lot of logic |
|
OR maybe it just shows up in teh artifact graph as Clone and you dont need all the ids? idk i guess kurt does for clicking shit |
Signed-off-by: Jess Frazelle <github@jessfraz.com>
| #[ignore = "this test is not working yet, need to fix the getting of ids if sketch already closed"] | ||
| async fn kcl_test_clone_cube_already_closed_sketch() { |
There was a problem hiding this comment.
This test is marked as ignored due to an unresolved issue with retrieving IDs from already closed sketches. This indicates a known limitation in the current implementation that should be addressed before merging. Consider prioritizing a fix for this functionality to ensure the clone operation works correctly with all sketch states, as this edge case could affect users working with pre-closed sketches.
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
Signed-off-by: Jess Frazelle <github@jessfraz.com>
Signed-off-by: Jess Frazelle <github@jessfraz.com>
| GeometryWithImportedGeometry::Solid(solid) => { | ||
| let mut new_solid = solid.clone(); | ||
| new_solid.id = new_id; | ||
| new_solid.sketch.original_id = new_id; | ||
| new_solid.artifact_id = new_id.into(); | ||
| GeometryWithImportedGeometry::Solid(new_solid) |
There was a problem hiding this comment.
The sectional property from the original solid isn't being copied to the new solid. Since this property is now being properly initialized in the do_post_extrude function later in the code, it's not causing immediate issues. However, for consistency and to avoid potential bugs if the code path changes, consider adding new_solid.sectional = solid.sectional; after setting the other fields to ensure this property is preserved during the initial cloning operation.
| GeometryWithImportedGeometry::Solid(solid) => { | |
| let mut new_solid = solid.clone(); | |
| new_solid.id = new_id; | |
| new_solid.sketch.original_id = new_id; | |
| new_solid.artifact_id = new_id.into(); | |
| GeometryWithImportedGeometry::Solid(new_solid) | |
| GeometryWithImportedGeometry::Solid(solid) => { | |
| let mut new_solid = solid.clone(); | |
| new_solid.id = new_id; | |
| new_solid.sketch.original_id = new_id; | |
| new_solid.artifact_id = new_id.into(); | |
| new_solid.sectional = solid.sectional; | |
| GeometryWithImportedGeometry::Solid(new_solid) | |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
There was a problem hiding this comment.
its copied by the clone doofus
Signed-off-by: Jess Frazelle <github@jessfraz.com>
Signed-off-by: Jess Frazelle <github@jessfraz.com>
Signed-off-by: Jess Frazelle <github@jessfraz.com>
* updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> update the extrude idds Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> fix sample Signed-off-by: Jess Frazelle <github@jessfraz.com> better docs Signed-off-by: Jess Frazelle <github@jessfraz.com> fix the start and end tag Signed-off-by: Jess Frazelle <github@jessfraz.com> better docs Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> new tests Signed-off-by: Jess Frazelle <github@jessfraz.com> codespell Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix examples Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix some stuff Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * add another test for fillet Signed-off-by: Jess Frazelle <github@jessfraz.com> * Update rust/kcl-lib/src/std/clone.rs Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * add sweep test Signed-off-by: Jess Frazelle <github@jessfraz.com> * revolve test; Signed-off-by: Jess Frazelle <github@jessfraz.com> * Update rust/kcl-lib/src/std/clone.rs Co-authored-by: Jonathan Tran <jonnytran@gmail.com> * add another test for fillet Signed-off-by: Jess Frazelle <github@jessfraz.com> * allow cloning an imported geometry; Signed-off-by: Jess Frazelle <github@jessfraz.com> * allow for imported geometry Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * update docs Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
* updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> update the extrude idds Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> fix sample Signed-off-by: Jess Frazelle <github@jessfraz.com> better docs Signed-off-by: Jess Frazelle <github@jessfraz.com> fix the start and end tag Signed-off-by: Jess Frazelle <github@jessfraz.com> better docs Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> new tests Signed-off-by: Jess Frazelle <github@jessfraz.com> codespell Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix examples Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix some stuff Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * add another test for fillet Signed-off-by: Jess Frazelle <github@jessfraz.com> * Update rust/kcl-lib/src/std/clone.rs Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * add sweep test Signed-off-by: Jess Frazelle <github@jessfraz.com> * revolve test; Signed-off-by: Jess Frazelle <github@jessfraz.com> * Update rust/kcl-lib/src/std/clone.rs Co-authored-by: Jonathan Tran <jonnytran@gmail.com> * add another test for fillet Signed-off-by: Jess Frazelle <github@jessfraz.com> * allow cloning an imported geometry; Signed-off-by: Jess Frazelle <github@jessfraz.com> * allow for imported geometry Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * update docs Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
* updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> update the extrude idds Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> fix sample Signed-off-by: Jess Frazelle <github@jessfraz.com> better docs Signed-off-by: Jess Frazelle <github@jessfraz.com> fix the start and end tag Signed-off-by: Jess Frazelle <github@jessfraz.com> better docs Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> new tests Signed-off-by: Jess Frazelle <github@jessfraz.com> codespell Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix examples Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix some stuff Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * add another test for fillet Signed-off-by: Jess Frazelle <github@jessfraz.com> * Update rust/kcl-lib/src/std/clone.rs Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * add sweep test Signed-off-by: Jess Frazelle <github@jessfraz.com> * revolve test; Signed-off-by: Jess Frazelle <github@jessfraz.com> * Update rust/kcl-lib/src/std/clone.rs Co-authored-by: Jonathan Tran <jonnytran@gmail.com> * add another test for fillet Signed-off-by: Jess Frazelle <github@jessfraz.com> * allow cloning an imported geometry; Signed-off-by: Jess Frazelle <github@jessfraz.com> * allow for imported geometry Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * update docs Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
fixes we need:
scale,rotate,translateall fail with"No such object exists""The provided object is of type Object, which is not a valid input for use in this operation."extrudeon the new sketch fails with"No such object exists"loft / sweep / revolveare okay too, but hard to do without transformsStill need but think okay to merge without
getExtrusionFaceInfois not returning any cap ids for the end and start caps of the cloned solid but works for the originalgetAllChildrenUuidsof the original and cloned objectgetAllChildrenUuidsof the original and cloned objectclose()on an already closed model then cloning it we cant get the id for the close to move to the new model