{"nodes":[{"id":"source:github","position":{"x":0,"y":0},"data":{"label":"github","kind":"source","meta":"/webhooks/github","detail":[{"label":"Webhook path","value":"/webhooks/github"}]}},{"id":"source:preview-stacks","position":{"x":0,"y":90},"data":{"label":"preview-stacks","kind":"source","meta":"/webhooks/preview-stacks","detail":[{"label":"Webhook path","value":"/webhooks/preview-stacks"}]}},{"id":"rule:pstack-preview-checks","position":{"x":360,"y":0},"data":{"label":"pstack-preview-checks","kind":"rule","meta":"job.started, job.failed, job.leaked, job.cancelled, stack.ready, stack.failed, stack.timedout, container.ready, container.start-failed, container.stopped","detail":[{"label":"Condition","value":"preview-stacks · job.started, job.failed, job.leaked, job.cancelled, stack.ready, stack.failed, stack.timedout, container.ready, container.start-failed, container.stopped"},{"label":"Source","value":"preview-stacks"},{"label":"Events","value":"job.started, job.failed, job.leaked, job.cancelled, stack.ready, stack.failed, stack.timedout, container.ready, container.start-failed, container.stopped"},{"label":"Handlers","value":"inline#0 — mirror the preview stack + its watched containers onto GitHub check runs and a tracked PR comment"}]}},{"id":"handler:inline#0::mirror the preview stack + its watched containers onto GitHub check runs and a tracked PR comment","position":{"x":760,"y":0},"data":{"label":"mirror the preview stack + its watched containers onto GitHub check runs and a tracked PR comment","kind":"handler","meta":"inline#0","detail":[{"label":"Handler","value":"inline#0"},{"label":"Used by","value":"pstack-preview-checks"}]}},{"id":"rule:pstack-forget-closed-pr","position":{"x":360,"y":90},"data":{"label":"pstack-forget-closed-pr","kind":"rule","meta":"pull_request.closed","detail":[{"label":"Condition","value":"github · pull_request.closed"},{"label":"Source","value":"github"},{"label":"Events","value":"pull_request.closed"},{"label":"Handlers","value":"inline#0 — drop the closed PR’s preview-stack state from memory"}]}},{"id":"handler:inline#0::drop the closed PR’s preview-stack state from memory","position":{"x":760,"y":90},"data":{"label":"drop the closed PR’s preview-stack state from memory","kind":"handler","meta":"inline#0","detail":[{"label":"Handler","value":"inline#0"},{"label":"Used by","value":"pstack-forget-closed-pr"}]}}],"edges":[{"id":"e:src:preview-stacks->pstack-preview-checks","source":"source:preview-stacks","target":"rule:pstack-preview-checks"},{"id":"e:rule:pstack-preview-checks->handler:inline#0::mirror the preview stack + its watched containers onto GitHub check runs and a tracked PR comment","source":"rule:pstack-preview-checks","target":"handler:inline#0::mirror the preview stack + its watched containers onto GitHub check runs and a tracked PR comment","animated":true},{"id":"e:src:github->pstack-forget-closed-pr","source":"source:github","target":"rule:pstack-forget-closed-pr"},{"id":"e:rule:pstack-forget-closed-pr->handler:inline#0::drop the closed PR’s preview-stack state from memory","source":"rule:pstack-forget-closed-pr","target":"handler:inline#0::drop the closed PR’s preview-stack state from memory","animated":true}]}