From d5d0520bdf52c50a4463846bacfe2704ed665685 Mon Sep 17 00:00:00 2001 From: Adam Chalmers Date: Thu, 15 Aug 2024 09:41:06 -0500 Subject: [PATCH 1/2] Show the SketchGroup can be found even if it's deeper in an object --- .../inputs/no_visuals/sketch_group_in_object.kcl | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/wasm-lib/tests/executor/inputs/no_visuals/sketch_group_in_object.kcl b/src/wasm-lib/tests/executor/inputs/no_visuals/sketch_group_in_object.kcl index 9bfe922622..1acbb951d1 100644 --- a/src/wasm-lib/tests/executor/inputs/no_visuals/sketch_group_in_object.kcl +++ b/src/wasm-lib/tests/executor/inputs/no_visuals/sketch_group_in_object.kcl @@ -9,12 +9,14 @@ fn test = () => { fn test2 = () => { return { - thing: startSketchOn('XY') - |> startProfileAt([0, 0], %) - |> line([0, 1], %) - |> line([1, 0], %) - |> line([0, -1], %) - |> close(%) + thing1: { + thing2: startSketchOn('XY') + |> startProfileAt([0, 0], %) + |> line([0, 1], %) + |> line([1, 0], %) + |> line([0, -1], %) + |> close(%) + } } } @@ -23,5 +25,5 @@ x |> extrude(-10, %) const x2 = test2() -x2.thing +x2.thing1.thing2 |> extrude(10, %) From d4c961746f9335bbd5d5013472730c13a2ddf80a Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Tue, 20 Aug 2024 20:52:57 -0700 Subject: [PATCH 2/2] trigger rust Signed-off-by: Jess Frazelle --- .github/workflows/cargo-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml index 7be2d41d4e..7b685adcf4 100644 --- a/.github/workflows/cargo-test.yml +++ b/.github/workflows/cargo-test.yml @@ -7,6 +7,7 @@ on: - '**/Cargo.toml' - '**/Cargo.lock' - '**/rust-toolchain.toml' + - 'src/wasm-lib/**.kcl' - .github/workflows/cargo-test.yml pull_request: @@ -15,6 +16,7 @@ on: - '**/Cargo.toml' - '**/Cargo.lock' - '**/rust-toolchain.toml' + - 'src/wasm-lib/**.kcl' - .github/workflows/cargo-test.yml workflow_dispatch: permissions: read-all