← console

job 98b5ab0f-87e1-42dc-9ded-0897925fcf0b

StateFAILED
Quotaflowmetal-demo
Manifest7da111f84daf1e10fcc12a35e8cf5c5debb80884c697bd0a1d517c10b3af1b28
Entry overridetirefireind.us/flowmetal-demo/dispatch-fire/dispatch
Workerworker-5879336e-a44f-45a2-ad04-4943fa33f428
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": 1776777840.0,
    "lot_id": "lot_331d491a7d",
    "weight_kg": 361.0
  },
  "headers": {
    "content-length": "95",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 13:24:00 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#4 print >>> [dispatch] lot lot_331d491a7d at 361 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_331d491a7d",
    "priority": "normal"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#9 req 4 ok
{
  "body": {
    "incident_id": "inc_476b09ea92eb",
    "lot_id": "lot_331d491a7d",
    "priority": "normal"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 13:24:06 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#10 print >>> [attempt 1] incident inc_476b09ea92eb open, waiting on containment…
#12 req 6 sleep deadline=1776777858.119683844 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_476b09ea92eb"
}
#15 req 7 ok
{
  "body": {
    "crew_eta_seconds": 0.74,
    "incident_id": "inc_476b09ea92eb",
    "priority": "normal",
    "status": "pending"
  },
  "headers": {
    "content-length": "97",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 13:24:18 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#16 req 8 sleep deadline=1776777873.916042823 duration=2s
#17 req 8 ok
null
#18 req 9 connector:http
{
  "method": "GET",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents/inc_476b09ea92eb"
}
#19 req 9 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 13:24:34 GMT",
    "server": "uvicorn"
  },
  "status": 503.0
}
#20 FAILED worker=worker-5879336e-a44f-45a2-ad04-4943fa33f428