Add building the artifact graph in sketch mode, take 2 (#7557)

* Add building the artifact graph in mock execution

* Update output

* Add updating the artifact graph after mock execution

* Fix spelling

* Fix to return it all the way

* Fix to not make artifact fields undefined in TS
This commit is contained in:
Jonathan Tran
2025-06-23 11:34:14 -04:00
committed by GitHub
parent 7ce0ef770a
commit eabcf86436
11 changed files with 71 additions and 59 deletions

View File

@ -177,7 +177,7 @@ impl ExecState {
#[cfg(feature = "artifact-graph")]
operations: Default::default(),
#[cfg(feature = "artifact-graph")]
artifact_graph: Default::default(),
artifact_graph: self.global.artifacts.graph,
errors: self.global.errors,
filenames: Default::default(),
default_planes: ctx.engine.get_default_planes().read().await.clone(),