Skip to content

Return artifact graph in exec_kcl_project response#1295

Open
lee-at-zoo-corp wants to merge 1 commit into
mainfrom
lee-at-zoo-corp/return-artifact-graph
Open

Return artifact graph in exec_kcl_project response#1295
lee-at-zoo-corp wants to merge 1 commit into
mainfrom
lee-at-zoo-corp/return-artifact-graph

Conversation

@lee-at-zoo-corp

@lee-at-zoo-corp lee-at-zoo-corp commented Jul 24, 2026

Copy link
Copy Markdown

Adds an artifact_graph field to ExecKclProjectOk so that the artifact graph built during KCL execution is returned to the caller.

@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

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

Files with missing lines Patch % Lines
modeling-cmds/src/exec_kcl.rs 0.00% 4 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1295   +/-   ##
=======================================
  Coverage        ?   31.35%           
=======================================
  Files           ?       36           
  Lines           ?     1802           
  Branches        ?        0           
=======================================
  Hits            ?      565           
  Misses          ?     1237           
  Partials        ?        0           
Flag Coverage Δ
unittests 31.35% <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.

@lee-at-zoo-corp
lee-at-zoo-corp force-pushed the lee-at-zoo-corp/return-artifact-graph branch from 4e468b3 to 9701159 Compare July 24, 2026 14:36
@lee-at-zoo-corp
lee-at-zoo-corp marked this pull request as ready for review July 24, 2026 14:41
// Should be a usable subset of `SceneGraphDelta`.
/// The artifact graph produced by the KCL execution.
#[cfg(feature = "websocket")]
pub artifact_graph: serde_json::Value,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't we use an actual type? serde_json::Value is basically a JSON blob.

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