Skip to content

Move caching logic to inside execution

Codecov / codecov/patch succeeded Jan 28, 2025 in 1s

86.69% of diff hit (target 86.08%)

View this Pull Request on Codecov

86.69% of diff hit (target 86.08%)

Annotations

Check warning on line 154 in src/wasm-lib/kcl-test-server/src/lib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl-test-server/src/lib.rs#L154

Added line #L154 was not covered by tests

Check warning on line 167 in src/wasm-lib/kcl-test-server/src/lib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl-test-server/src/lib.rs#L167

Added line #L167 was not covered by tests

Check warning on line 171 in src/wasm-lib/kcl-test-server/src/lib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl-test-server/src/lib.rs#L170-L171

Added lines #L170 - L171 were not covered by tests

Check warning on line 183 in src/wasm-lib/kcl-test-server/src/lib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl-test-server/src/lib.rs#L179-L183

Added lines #L179 - L183 were not covered by tests

Check warning on line 659 in src/wasm-lib/kcl/src/engine/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/engine/mod.rs#L653-L659

Added lines #L653 - L659 were not covered by tests

Check warning on line 663 in src/wasm-lib/kcl/src/engine/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/engine/mod.rs#L662-L663

Added lines #L662 - L663 were not covered by tests

Check warning on line 667 in src/wasm-lib/kcl/src/engine/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/engine/mod.rs#L665-L667

Added lines #L665 - L667 were not covered by tests

Check warning on line 675 in src/wasm-lib/kcl/src/engine/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/engine/mod.rs#L675

Added line #L675 was not covered by tests

Check warning on line 686 in src/wasm-lib/kcl/src/engine/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/engine/mod.rs#L677-L686

Added lines #L677 - L686 were not covered by tests

Check warning on line 688 in src/wasm-lib/kcl/src/engine/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/engine/mod.rs#L688

Added line #L688 was not covered by tests

Check warning on line 184 in src/wasm-lib/kcl/src/execution/cache.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/cache.rs#L179-L184

Added lines #L179 - L184 were not covered by tests

Check warning on line 57 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L54-L57

Added lines #L54 - L57 were not covered by tests

Check warning on line 59 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L59

Added line #L59 was not covered by tests

Check warning on line 106 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L103-L106

Added lines #L103 - L106 were not covered by tests

Check warning on line 116 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L111-L116

Added lines #L111 - L116 were not covered by tests

Check warning on line 143 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L140-L143

Added lines #L140 - L143 were not covered by tests

Check warning on line 148 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L148

Added line #L148 was not covered by tests

Check warning on line 333 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L327-L333

Added lines #L327 - L333 were not covered by tests

Check warning on line 363 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L356-L363

Added lines #L356 - L363 were not covered by tests

Check warning on line 1441 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L1441

Added line #L1441 was not covered by tests

Check warning on line 1467 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L1463-L1467

Added lines #L1463 - L1467 were not covered by tests

Check warning on line 1561 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L1553-L1561

Added lines #L1553 - L1561 were not covered by tests

Check warning on line 1709 in src/wasm-lib/kcl/src/execution/exec_ast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/exec_ast.rs#L1709

Added line #L1709 was not covered by tests

Check warning on line 50 in src/wasm-lib/kcl/src/execution/geometry.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/geometry.rs#L47-L50

Added lines #L47 - L50 were not covered by tests

Check warning on line 52 in src/wasm-lib/kcl/src/execution/geometry.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/wasm-lib/kcl/src/execution/geometry.rs#L52

Added line #L52 was not covered by tests