Skip to content

Make KCL execution optional via feature flag - #1322

Merged
adamchalmers merged 1 commit into
mainfrom
achalmers/feature-for-remote-exec
Aug 14, 2026
Merged

Make KCL execution optional via feature flag#1322
adamchalmers merged 1 commit into
mainfrom
achalmers/feature-for-remote-exec

Conversation

@adamchalmers

@adamchalmers adamchalmers commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Use --features exec-kcl to enable this.

Helpful to avoid unnecessary dependency on kcl-api and kcl-error. Those dependencies are large and add a lot of compile time. Also avoids compiling two copies of kcl-api in kcl-lib (one from the modeling-app/rust/kcl-api, and one from crates.io via kcmc here)

Use `--features exec-kcl` to enable this.

Helpful to avoid unnecessary dependency on kcl-api and kcl-error.
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@3635ae1). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1322   +/-   ##
=======================================
  Coverage        ?   31.35%           
=======================================
  Files           ?       36           
  Lines           ?     1805           
  Branches        ?        0           
=======================================
  Hits            ?      566           
  Misses          ?     1239           
  Partials        ?        0           
Flag Coverage Δ
unittests 31.35% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adamchalmers
adamchalmers merged commit 7d40c78 into main Aug 14, 2026
10 checks passed
@adamchalmers
adamchalmers deleted the achalmers/feature-for-remote-exec branch August 14, 2026 18:44
adamchalmers added a commit that referenced this pull request Aug 14, 2026
# Changed

 - Make KCL execution optional via feature flag `exec-kcl` (#1322)
adamchalmers added a commit to KittyCAD/modeling-app that referenced this pull request Aug 14, 2026
Pulls in this kcmc PR: KittyCAD/modeling-api#1322, which makes its kcl-error and kcl-api dependencies optional, so that if you're not going to execute KCL, you don't need them. And this repo doesn't need them.

Makes the build-wasm job 2.5 minutes faster.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants