{
 "type": "excalidraw",
 "version": 2,
 "source": "barista-rs post",
 "elements": [
  {
   "id": "tca26269e0d37",
   "type": "text",
   "x": 0,
   "y": -70,
   "width": 765.28,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 207388624,
   "version": 1,
   "versionNonce": 311111475,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Job lifecycle: every event carries attempt, the fencing token",
   "originalText": "Job lifecycle: every event carries attempt, the fencing token",
   "fontSize": 24,
   "fontFamily": 5,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "rbb3b1818e811",
   "type": "rectangle",
   "x": 0,
   "y": 80,
   "width": 150,
   "height": 60,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#e7f5ff",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 249103477,
   "version": 1,
   "versionNonce": 922121676,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "t2c01099950d8",
     "type": "text"
    },
    {
     "id": "aae245051c1cc",
     "type": "arrow"
    },
    {
     "id": "a4d762d1c9af0",
     "type": "arrow"
    },
    {
     "id": "a0218482c9cbc",
     "type": "arrow"
    },
    {
     "id": "ae9cd0dd27a65",
     "type": "arrow"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t2c01099950d8",
   "type": "text",
   "x": 44.92,
   "y": 98.75,
   "width": 60.160000000000004,
   "height": 22.5,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1862494042,
   "version": 1,
   "versionNonce": 1796035739,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Queued",
   "originalText": "Queued",
   "fontSize": 18,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "rbb3b1818e811",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r7b3811e20b8f",
   "type": "rectangle",
   "x": 300,
   "y": 80,
   "width": 190,
   "height": 60,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#fff9db",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 389609433,
   "version": 1,
   "versionNonce": 1823296038,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "t3f6290c192cf",
     "type": "text"
    },
    {
     "id": "aae245051c1cc",
     "type": "arrow"
    },
    {
     "id": "a2147aa05e11a",
     "type": "arrow"
    },
    {
     "id": "a4d762d1c9af0",
     "type": "arrow"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t3f6290c192cf",
   "type": "text",
   "x": 303.3,
   "y": 91.25,
   "width": 183.4,
   "height": 37.5,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 958804057,
   "version": 1,
   "versionNonce": 265695473,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Assigned\n{attempt, ack_deadline}",
   "originalText": "Assigned\n{attempt, ack_deadline}",
   "fontSize": 15,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "r7b3811e20b8f",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r1963658cda14",
   "type": "rectangle",
   "x": 640,
   "y": 80,
   "width": 250,
   "height": 80,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "#fff9db",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 949539216,
   "version": 1,
   "versionNonce": 200071088,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "t94472217bead",
     "type": "text"
    },
    {
     "id": "a2147aa05e11a",
     "type": "arrow"
    },
    {
     "id": "a0b8d58d5563d",
     "type": "arrow"
    },
    {
     "id": "a932ac4aaeac1",
     "type": "arrow"
    },
    {
     "id": "ae5fb2a96fb1a",
     "type": "arrow"
    },
    {
     "id": "ad4a1b4d66a3a",
     "type": "arrow"
    },
    {
     "id": "a0218482c9cbc",
     "type": "arrow"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t94472217bead",
   "type": "text",
   "x": 657.44,
   "y": 93.75,
   "width": 215.12,
   "height": 52.5,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1800188482,
   "version": 1,
   "versionNonce": 619570852,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Running\n{attempt, lease_expires_at,\ntimeout_at, cancel_requested}",
   "originalText": "Running\n{attempt, lease_expires_at,\ntimeout_at, cancel_requested}",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "r1963658cda14",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r3c4f8a6a63ec",
   "type": "rectangle",
   "x": 1140,
   "y": 0,
   "width": 150,
   "height": 50,
   "angle": 0,
   "strokeColor": "#2f9e44",
   "backgroundColor": "#ebfbee",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1324919352,
   "version": 1,
   "versionNonce": 776213899,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "tbeaa301850c5",
     "type": "text"
    },
    {
     "id": "a0b8d58d5563d",
     "type": "arrow"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "tbeaa301850c5",
   "type": "text",
   "x": 1170.88,
   "y": 13.75,
   "width": 88.24000000000001,
   "height": 22.5,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 418461138,
   "version": 1,
   "versionNonce": 269676599,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Completed",
   "originalText": "Completed",
   "fontSize": 18,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "r3c4f8a6a63ec",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r1e84907a70c3",
   "type": "rectangle",
   "x": 1140,
   "y": 90,
   "width": 150,
   "height": 50,
   "angle": 0,
   "strokeColor": "#e03131",
   "backgroundColor": "#fff5f5",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 884585951,
   "version": 1,
   "versionNonce": 2132084004,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "tee63506bf2ef",
     "type": "text"
    },
    {
     "id": "a932ac4aaeac1",
     "type": "arrow"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "tee63506bf2ef",
   "type": "text",
   "x": 1184.92,
   "y": 103.75,
   "width": 60.160000000000004,
   "height": 22.5,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1946412080,
   "version": 1,
   "versionNonce": 1552984408,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Failed",
   "originalText": "Failed",
   "fontSize": 18,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "r1e84907a70c3",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "r7f314cbd87ad",
   "type": "rectangle",
   "x": 1140,
   "y": 180,
   "width": 150,
   "height": 50,
   "angle": 0,
   "strokeColor": "#6741d9",
   "backgroundColor": "#f8f0fc",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 772092314,
   "version": 1,
   "versionNonce": 1048386555,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "t936c72e6cc3a",
     "type": "text"
    },
    {
     "id": "ae5fb2a96fb1a",
     "type": "arrow"
    },
    {
     "id": "ae9cd0dd27a65",
     "type": "arrow"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "t936c72e6cc3a",
   "type": "text",
   "x": 1170.88,
   "y": 193.75,
   "width": 88.24000000000001,
   "height": 22.5,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 314395342,
   "version": 1,
   "versionNonce": 507088656,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Cancelled",
   "originalText": "Cancelled",
   "fontSize": 18,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "r7f314cbd87ad",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "rd614830e07bc",
   "type": "rectangle",
   "x": 1140,
   "y": 270,
   "width": 150,
   "height": 50,
   "angle": 0,
   "strokeColor": "#e8590c",
   "backgroundColor": "#fff4e6",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 708506836,
   "version": 1,
   "versionNonce": 1469118510,
   "isDeleted": false,
   "boundElements": [
    {
     "id": "td7e87d2caf82",
     "type": "text"
    },
    {
     "id": "ad4a1b4d66a3a",
     "type": "arrow"
    }
   ],
   "updated": 1794737631683,
   "link": null,
   "locked": false
  },
  {
   "id": "td7e87d2caf82",
   "type": "text",
   "x": 1175.56,
   "y": 283.75,
   "width": 78.88,
   "height": 22.5,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 168393879,
   "version": 1,
   "versionNonce": 333377414,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "TimedOut",
   "originalText": "TimedOut",
   "fontSize": 18,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "middle",
   "containerId": "rd614830e07bc",
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "aae245051c1cc",
   "type": "arrow",
   "x": 150,
   "y": 110,
   "width": 150,
   "height": 0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1504004731,
   "version": 1,
   "versionNonce": 2133201995,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     150,
     0
    ]
   ],
   "startBinding": {
    "elementId": "rbb3b1818e811",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "r7b3811e20b8f",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "t233474c9df6a",
   "type": "text",
   "x": 182.96,
   "y": 60.0,
   "width": 84.08,
   "height": 35.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 401991735,
   "version": 1,
   "versionNonce": 1159380353,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Dispatch\nattempt + 1",
   "originalText": "Dispatch\nattempt + 1",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "a2147aa05e11a",
   "type": "arrow",
   "x": 490,
   "y": 115,
   "width": 150,
   "height": 0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 260573195,
   "version": 1,
   "versionNonce": 1329753547,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     150,
     0
    ]
   ],
   "startBinding": {
    "elementId": "r7b3811e20b8f",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "r1963658cda14",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "te42bd269a9a5",
   "type": "text",
   "x": 504.76,
   "y": 85.0,
   "width": 120.48,
   "height": 17.5,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1222328495,
   "version": 1,
   "versionNonce": 1656961615,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Started{attempt}",
   "originalText": "Started{attempt}",
   "fontSize": 14,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "a0b8d58d5563d",
   "type": "arrow",
   "x": 890,
   "y": 100,
   "width": 250,
   "height": 75,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1982966162,
   "version": 1,
   "versionNonce": 1526706729,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     250,
     -75
    ]
   ],
   "startBinding": {
    "elementId": "r1963658cda14",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "r3c4f8a6a63ec",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "tfcc51df9fd78",
   "type": "text",
   "x": 948.78,
   "y": 30,
   "width": 132.44,
   "height": 16.25,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 253207296,
   "version": 1,
   "versionNonce": 937195259,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Finished{Completed}",
   "originalText": "Finished{Completed}",
   "fontSize": 13,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "a932ac4aaeac1",
   "type": "arrow",
   "x": 890,
   "y": 125,
   "width": 250,
   "height": 10,
   "angle": 0,
   "strokeColor": "#e03131",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 555512015,
   "version": 1,
   "versionNonce": 1063497603,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     250,
     -10
    ]
   ],
   "startBinding": {
    "elementId": "r1963658cda14",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "r1e84907a70c3",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "tc82a65dc9f50",
   "type": "text",
   "x": 916.28,
   "y": 128,
   "width": 197.44,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#e03131",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 2132480060,
   "version": 1,
   "versionNonce": 346094055,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Finished{Failed} | LeaseExpired\nfailures + 1 >= max_attempts",
   "originalText": "Finished{Failed} | LeaseExpired\nfailures + 1 >= max_attempts",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "ae5fb2a96fb1a",
   "type": "arrow",
   "x": 890,
   "y": 140,
   "width": 250,
   "height": 65,
   "angle": 0,
   "strokeColor": "#6741d9",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1725048950,
   "version": 1,
   "versionNonce": 1193309983,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     250,
     65
    ]
   ],
   "startBinding": {
    "elementId": "r1963658cda14",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "r7f314cbd87ad",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "t461be2257159",
   "type": "text",
   "x": 876.92,
   "y": 182,
   "width": 216.16,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#6741d9",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1849076400,
   "version": 1,
   "versionNonce": 1195809357,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Finished{Cancelled} | LeaseExpired\nwhile cancel_requested",
   "originalText": "Finished{Cancelled} | LeaseExpired\nwhile cancel_requested",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "ad4a1b4d66a3a",
   "type": "arrow",
   "x": 870,
   "y": 160,
   "width": 270,
   "height": 135,
   "angle": 0,
   "strokeColor": "#e8590c",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1540910400,
   "version": 1,
   "versionNonce": 1633982921,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     270,
     135
    ]
   ],
   "startBinding": {
    "elementId": "r1963658cda14",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "rd614830e07bc",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "t7625f52ddf5d",
   "type": "text",
   "x": 839.4,
   "y": 290,
   "width": 191.20000000000002,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#e8590c",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 648200381,
   "version": 1,
   "versionNonce": 356416554,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "timeout_at passed:\nCancel{Timeout}, then TimedOut",
   "originalText": "timeout_at passed:\nCancel{Timeout}, then TimedOut",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "a4d762d1c9af0",
   "type": "arrow",
   "x": 380,
   "y": 140,
   "width": 305,
   "height": 80,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "dashed",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 996247158,
   "version": 1,
   "versionNonce": 1002170858,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     0,
     80
    ],
    [
     -305,
     80
    ],
    [
     -305,
     0
    ]
   ],
   "startBinding": {
    "elementId": "r7b3811e20b8f",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "rbb3b1818e811",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "tf84d0316909e",
   "type": "text",
   "x": 104.32,
   "y": 236,
   "width": 247.36,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 783156687,
   "version": 1,
   "versionNonce": 1128488133,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "AckTimeout: ack_deadline passed\n(failures unchanged, keeps enqueue_seq)",
   "originalText": "AckTimeout: ack_deadline passed\n(failures unchanged, keeps enqueue_seq)",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "a0218482c9cbc",
   "type": "arrow",
   "x": 760,
   "y": 160,
   "width": 720,
   "height": 150,
   "angle": 0,
   "strokeColor": "#e03131",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "dashed",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 625675342,
   "version": 1,
   "versionNonce": 1799361519,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     0,
     130
    ],
    [
     -720,
     130
    ],
    [
     -720,
     -20
    ]
   ],
   "startBinding": {
    "elementId": "r1963658cda14",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "rbb3b1818e811",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "tbd0e88daf401",
   "type": "text",
   "x": 210.79999999999998,
   "y": 308,
   "width": 378.40000000000003,
   "height": 30.0,
   "angle": 0,
   "strokeColor": "#e03131",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1368426741,
   "version": 1,
   "versionNonce": 538981926,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Finished{Failed} | LeaseExpired, failures + 1 < max_attempts\nback to Queued, same enqueue_seq, cost not refunded",
   "originalText": "Finished{Failed} | LeaseExpired, failures + 1 < max_attempts\nback to Queued, same enqueue_seq, cost not refunded",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "ae9cd0dd27a65",
   "type": "arrow",
   "x": 110,
   "y": 140,
   "width": 1220,
   "height": 220,
   "angle": 0,
   "strokeColor": "#6741d9",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "dashed",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1685254563,
   "version": 1,
   "versionNonce": 1709696035,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     0,
     220
    ],
    [
     1220,
     220
    ],
    [
     1220,
     65
    ],
    [
     1180,
     65
    ]
   ],
   "startBinding": {
    "elementId": "rbb3b1818e811",
    "focus": 0,
    "gap": 6
   },
   "endBinding": {
    "elementId": "r7f314cbd87ad",
    "focus": 0,
    "gap": 6
   },
   "startArrowhead": null,
   "endArrowhead": "arrow",
   "elbowed": false,
   "lastCommittedPoint": null
  },
  {
   "id": "tc9ca66237a04",
   "type": "text",
   "x": 517.04,
   "y": 366,
   "width": 365.92,
   "height": 15.0,
   "angle": 0,
   "strokeColor": "#6741d9",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 444688428,
   "version": 1,
   "versionNonce": 2068124764,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Cancel while Queued: Cancelled at once, no worker involved",
   "originalText": "Cancel while Queued: Cancelled at once, no worker involved",
   "fontSize": 12,
   "fontFamily": 5,
   "textAlign": "center",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "tcd06a260cd0b",
   "type": "text",
   "x": 0,
   "y": 420,
   "width": 734.08,
   "height": 16.25,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 267352360,
   "version": 1,
   "versionNonce": 818661757,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Cap unit: held while Assigned or Running, released by every transition out of them, in the same transaction.",
   "originalText": "Cap unit: held while Assigned or Running, released by every transition out of them, in the same transaction.",
   "fontSize": 13,
   "fontFamily": 5,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  },
  {
   "id": "te1993571810a",
   "type": "text",
   "x": 0,
   "y": 445,
   "width": 774.64,
   "height": 16.25,
   "angle": 0,
   "strokeColor": "#1e1e1e",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 697086885,
   "version": 1,
   "versionNonce": 472138489,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1794737631683,
   "link": null,
   "locked": false,
   "text": "Store check on each worker write: id = $job AND attempt = $attempt AND worker_id = $worker AND state = <expected>.",
   "originalText": "Store check on each worker write: id = $job AND attempt = $attempt AND worker_id = $worker AND state = <expected>.",
   "fontSize": 13,
   "fontFamily": 5,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "autoResize": true,
   "lineHeight": 1.25
  }
 ],
 "appState": {
  "gridSize": 20,
  "viewBackgroundColor": "#ffffff"
 },
 "files": {}
}