Skip to content

Add more fields to KCL execution responses - #1450

Open
adamchalmers wants to merge 6 commits into
mainfrom
achalmers/more-fields-kcl
Open

adamchalmers wants to merge 6 commits into
mainfrom
achalmers/more-fields-kcl

Conversation

@adamchalmers

@adamchalmers adamchalmers commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

}
}

/// Region-creation algorithm version.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. Copypasta.

Comment thread modeling-cmds/src/exec_kcl.rs
ExecKclProject {
/// Result after executing KCL.
result: Result<crate::exec_kcl::ExecKclProjectOk, crate::exec_kcl::ExecKclProjectErr>,
result: Box<Result<crate::exec_kcl::ExecKclProjectOk, crate::exec_kcl::ExecKclProjectErr>>,

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boxed this because we really are sending a lot of information in this response, it becomes very big. There's no need to worry about a single Box (heap pointer dereferencing) when we're sending all this data over the network.

@codecov

codecov Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@982ccbd). Learn more about missing BASE report.

Files with missing lines Patch % Lines
modeling-cmds/src/exec_kcl.rs 0.00% 7 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1450   +/-   ##
=======================================
  Coverage        ?   35.99%           
=======================================
  Files           ?       32           
  Lines           ?     1742           
  Branches        ?        0           
=======================================
  Hits            ?      627           
  Misses          ?     1115           
  Partials        ?        0           
Flag Coverage Δ
unittests 35.99% <0.00%> (?)

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 force-pushed the achalmers/more-fields-kcl branch from 70f058b to 45807e3 Compare October 15, 2026 02:38
@adamchalmers
adamchalmers force-pushed the achalmers/more-fields-kcl branch from b6ef12c to 3bea00e Compare October 15, 2026 02:54
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.

1 participant