Move artifact graph out of engine connection (#6062)
* cleanups Signed-off-by: Jess Frazelle <github@jessfraz.com> * cleanups Signed-off-by: Jess Frazelle <github@jessfraz.com> * fmt Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -200,17 +200,6 @@ export class CoreDumpManager {
|
||||
// engine_command_manager
|
||||
debugLog('CoreDump: engineCommandManager', this.engineCommandManager)
|
||||
|
||||
// artifact map - this.engineCommandManager.artifactGraph
|
||||
if (this.engineCommandManager?.artifactGraph) {
|
||||
debugLog(
|
||||
'CoreDump: Engine Command Manager artifact map',
|
||||
this.engineCommandManager.artifactGraph
|
||||
)
|
||||
clientState.engine_command_manager.artifact_map = structuredClone(
|
||||
this.engineCommandManager.artifactGraph
|
||||
)
|
||||
}
|
||||
|
||||
// command logs - this.engineCommandManager.commandLogs
|
||||
if (this.engineCommandManager?.commandLogs) {
|
||||
debugLog(
|
||||
@ -274,6 +263,21 @@ export class CoreDumpManager {
|
||||
clientState.kcl_manager.ast = structuredClone(kclManager.ast)
|
||||
}
|
||||
|
||||
// artifact map - this.kclManager.artifactGraph
|
||||
debugLog(
|
||||
'CoreDump: KCL Manager artifact map',
|
||||
kclManager?.artifactGraph
|
||||
)
|
||||
if (kclManager.artifactGraph) {
|
||||
debugLog(
|
||||
'CoreDump: Engine Command Manager artifact map',
|
||||
kclManager.artifactGraph
|
||||
)
|
||||
clientState.engine_command_manager.artifact_map = structuredClone(
|
||||
kclManager.artifactGraph
|
||||
)
|
||||
}
|
||||
|
||||
// KCL Errors
|
||||
debugLog('CoreDump: KCL Errors', kclManager?.kclErrors)
|
||||
if (kclManager?.kclErrors) {
|
||||
|
Reference in New Issue
Block a user