Separate graph execution identity from installation provenance
This commit is contained in:
@@ -25,7 +25,9 @@ const checked = await compiler.loadCheckedArtifactWorld(plan, roots, generator);
|
||||
const installation = await compiler.loadExecutionInstallation(plan, roots);
|
||||
const kernel = compiler.compileKernelProgram(plan),
|
||||
queries = compiler.compileQueryProgram(plan);
|
||||
const graph = compiler.graphExecutionRepresentation(plan, installation, kernel, queries);
|
||||
for (const [file, value] of [
|
||||
["graph-execution.json", graph],
|
||||
["execution-world.json", checked.world],
|
||||
["installation.json", installation],
|
||||
["kernel.json", kernel],
|
||||
@@ -37,6 +39,7 @@ for (const [file, value] of [
|
||||
generator,
|
||||
roots,
|
||||
manifests: checked.manifests,
|
||||
execution: compiler.hexDigest(graph),
|
||||
programs: { kernel: compiler.hexDigest(kernel), queries: compiler.hexDigest(queries) },
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user