← console

job 567a5f31-daf1-4eb8-b6c4-b726fec209c0

StateFAILED
Quotaflowmetal-demo
Manifest7da111f84daf1e10fcc12a35e8cf5c5debb80884c697bd0a1d517c10b3af1b28
Entry overridetirefireind.us/flowmetal-demo/dispatch-fire/dispatch
Workerworker-cb363943-e8d5-4544-959e-0acbf94251c1
Inbox HWM0
ErrorTraceback (most recent call last): File <builtin>, in <module> * main.star:84, in _dispatch_impl body = _open_and_poll(fctx, lot, priority, attempt) * main.star:61, in _open_and_poll body = fctx.actions.http( error: action failed: HTTP 503 (source connector) --> main.star:61:16 | 61 | body = fctx.actions.http( | ________________^ 62 | | "GET", FIRE_DISPATCH + "/incidents/" + incident_id, 63 | | )["body"] | |_________^ |

Log

#0 print >>> [dispatch] phoning tire-registry for the next incoming report…
#2 req 1 connector:http
{
  "method": "GET",
  "url": "http://tire-registry.flowmetal.svc.cluster.local:8080/lots/next"
}
#3 req 1 ok
{
  "body": {
    "condition": "smoldering",
    "discovered_at": 1776771180.0,
    "lot_id": "lot_4511447b11",
    "weight_kg": 153.0
  },
  "headers": {
    "content-length": "95",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 11:33:00 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#4 print >>> [dispatch] lot lot_4511447b11 at 153 kg, condition 'smoldering' — priority normal.
#6 print >>> [attempt 1] calling fire-dispatch to roll a containment crew…
#8 req 4 connector:http
{
  "body_json": {
    "lot_id": "lot_4511447b11",
    "priority": "normal"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#9 req 4 ok
{
  "body": {
    "incident_id": "inc_f21fb4bebc8c",
    "lot_id": "lot_4511447b11",
    "priority": "normal"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 11:33:01 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#10 print >>> [attempt 1] incident inc_f21fb4bebc8c open, waiting on containment…
#12 req 6 sleep deadline=1776771191.940468445 duration=2s
#13 req 6 ok
null
#14 req 7 connector:http
{
  "method": "GET",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents/inc_f21fb4bebc8c"
}
#15 req 7 ok
{
  "body": {
    "error_kind": "crews_unavailable",
    "incident_id": "inc_f21fb4bebc8c",
    "message": "dispatch failed: crews_unavailable",
    "retryable": true,
    "status": "failed"
  },
  "headers": {
    "content-length": "149",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 11:33:12 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#16 print >>> [dispatch] attempt 1 failed (crews_unavailable); retrying.
#18 req 9 sleep deadline=1776771204.140458131 duration=1s
#19 req 9 ok
null
#20 print >>> [attempt 2] calling fire-dispatch to roll a containment crew…
#22 req 11 connector:http
{
  "body_json": {
    "lot_id": "lot_4511447b11",
    "priority": "normal"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#23 req 11 ok
{
  "body": {
    "incident_id": "inc_91a1a74a6a63",
    "lot_id": "lot_4511447b11",
    "priority": "normal"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 11:33:24 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#24 print >>> [attempt 2] incident inc_91a1a74a6a63 open, waiting on containment…
#26 req 13 sleep deadline=1776771212.095284141 duration=2s
#27 req 13 ok
null
#28 req 14 connector:http
{
  "method": "GET",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents/inc_91a1a74a6a63"
}
#29 req 14 err source=connector HTTP 503
{
  "body": {
    "detail": "dispatch board flickering"
  },
  "error_kind": "http_status",
  "headers": {
    "content-length": "38",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 11:33:32 GMT",
    "server": "uvicorn"
  },
  "status": 503.0
}
#30 FAILED worker=worker-cb363943-e8d5-4544-959e-0acbf94251c1