fix(core): defer cyclic layer dependencies

This commit is contained in:
Dax Raad 2026-07-17 20:25:21 -04:00
commit c4830c147d
4 changed files with 16 additions and 3 deletions

View file

@ -1033,7 +1033,8 @@ const SHELL_MAX_CAPTURE_BYTES = 1024 * 1024
export const node = makeGlobalNode({
service: Service,
layer: layer.pipe(Layer.orDie),
deps: [
// Defer the execution node across the Session/runner module cycle until the graph is compiled.
deps: () => [
Job.node,
Database.node,
EventV2.node,