Skip to content

Move caching logic to inside execution

Codecov / codecov/patch failed Jan 30, 2025 in 0s

85.11% of diff hit (target 85.95%)

View this Pull Request on Codecov

85.11% of diff hit (target 85.95%)

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 655 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#L649-L655

Added lines #L649 - L655 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#L658-L659

Added lines #L658 - 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#L661-L663

Added lines #L661 - L663 were not covered by tests

Check warning on line 671 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#L671

Added line #L671 was not covered by tests

Check warning on line 682 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#L673-L682

Added lines #L673 - L682 were not covered by tests

Check warning on line 684 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#L684

Added line #L684 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 58 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#L55-L58

Added lines #L55 - L58 were not covered by tests

Check warning on line 60 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#L60

Added line #L60 was not covered by tests

Check warning on line 107 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#L104-L107

Added lines #L104 - L107 were not covered by tests

Check warning on line 117 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#L112-L117

Added lines #L112 - L117 were not covered by tests

Check warning on line 144 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#L141-L144

Added lines #L141 - L144 were not covered by tests

Check warning on line 149 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#L149

Added line #L149 was not covered by tests

Check warning on line 256 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#L243-L256

Added lines #L243 - L256 were not covered by tests

Check warning on line 275 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#L275

Added line #L275 was not covered by tests

Check warning on line 279 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#L279

Added line #L279 was not covered by tests

Check warning on line 290 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#L287-L290

Added lines #L287 - L290 were not covered by tests

Check warning on line 352 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#L345-L352

Added lines #L345 - L352 were not covered by tests

Check warning on line 395 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#L384-L395

Added lines #L384 - L395 were not covered by tests

Check warning on line 425 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#L418-L425

Added lines #L418 - L425 were not covered by tests

Check warning on line 1503 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#L1503

Added line #L1503 was not covered by tests