{"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.succeeded, 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.succeeded, 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.succeeded, 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"}]}},{"id":"rule:cloudybot-command-comment","position":{"x":360,"y":180},"data":{"label":"cloudybot-command-comment","kind":"rule","meta":"issue_comment.created, issue_comment.edited","detail":[{"label":"Condition","value":"github · issue_comment.created, issue_comment.edited"},{"label":"Source","value":"github"},{"label":"Events","value":"issue_comment.created, issue_comment.edited"},{"label":"Handlers","value":"inline#0 — run the @cloudybot recheck/redeploy/restart command in a PR comment"}]}},{"id":"handler:inline#0::run the @cloudybot recheck/redeploy/restart command in a PR comment","position":{"x":760,"y":180},"data":{"label":"run the @cloudybot recheck/redeploy/restart command in a PR comment","kind":"handler","meta":"inline#0","detail":[{"label":"Handler","value":"inline#0"},{"label":"Used by","value":"cloudybot-command-comment"}]}},{"id":"rule:cloudybot-command-label","position":{"x":360,"y":270},"data":{"label":"cloudybot-command-label","kind":"rule","meta":"pull_request.labeled","detail":[{"label":"Condition","value":"github · pull_request.labeled"},{"label":"Source","value":"github"},{"label":"Events","value":"pull_request.labeled"},{"label":"Handlers","value":"inline#0 — run the cloudy-recheck/redeploy/restart command applied as a label"}]}},{"id":"handler:inline#0::run the cloudy-recheck/redeploy/restart command applied as a label","position":{"x":760,"y":270},"data":{"label":"run the cloudy-recheck/redeploy/restart command applied as a label","kind":"handler","meta":"inline#0","detail":[{"label":"Handler","value":"inline#0"},{"label":"Used by","value":"cloudybot-command-label"}]}},{"id":"rule:pr-opened-preview-labels","position":{"x":360,"y":360},"data":{"label":"pr-opened-preview-labels","kind":"rule","meta":"pull_request.opened","detail":[{"label":"Condition","value":"github · pull_request.opened"},{"label":"Source","value":"github"},{"label":"Events","value":"pull_request.opened"},{"label":"Handlers","value":"inline#0 — explain the preview labels on a newly opened PR"}]}},{"id":"handler:inline#0::explain the preview labels on a newly opened PR","position":{"x":760,"y":360},"data":{"label":"explain the preview labels on a newly opened PR","kind":"handler","meta":"inline#0","detail":[{"label":"Handler","value":"inline#0"},{"label":"Used by","value":"pr-opened-preview-labels"}]}}],"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},{"id":"e:src:github->cloudybot-command-comment","source":"source:github","target":"rule:cloudybot-command-comment"},{"id":"e:rule:cloudybot-command-comment->handler:inline#0::run the @cloudybot recheck/redeploy/restart command in a PR comment","source":"rule:cloudybot-command-comment","target":"handler:inline#0::run the @cloudybot recheck/redeploy/restart command in a PR comment","animated":true},{"id":"e:src:github->cloudybot-command-label","source":"source:github","target":"rule:cloudybot-command-label"},{"id":"e:rule:cloudybot-command-label->handler:inline#0::run the cloudy-recheck/redeploy/restart command applied as a label","source":"rule:cloudybot-command-label","target":"handler:inline#0::run the cloudy-recheck/redeploy/restart command applied as a label","animated":true},{"id":"e:src:github->pr-opened-preview-labels","source":"source:github","target":"rule:pr-opened-preview-labels"},{"id":"e:rule:pr-opened-preview-labels->handler:inline#0::explain the preview labels on a newly opened PR","source":"rule:pr-opened-preview-labels","target":"handler:inline#0::explain the preview labels on a newly opened PR","animated":true}]}