← console

job b0cf87db-a448-4c06-a34d-e181059c1072

StateFAILED
Quotaflowmetal-demo
Manifestbed2305c0b9b3c962fb726543fa95a14ee4dc620aaf70b4618a65590c8430b58
Entry overridetirefireind.us/flowmetal-demo/dispatch-fire/dispatch
Workerworker-734abf63-6a13-474b-bc94-a9395175c562
Inbox HWM0
ErrorTraceback (most recent call last): File <builtin>, in <module> * main.star:75, in _dispatch_impl body = _open_and_poll(fctx, lot, priority, attempt) * main.star:52, in _open_and_poll body = fctx.actions.http( error: action failed: HTTP 503 (source connector) --> main.star:52:16 | 52 | body = fctx.actions.http( | ________________^ 53 | | "GET", FIRE_DISPATCH + "/incidents/" + incident_id, 54 | | )["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": 1776758640.0,
    "lot_id": "lot_d34020c341",
    "weight_kg": 2249.0
  },
  "headers": {
    "content-length": "96",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:04:00 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#4 print >>> [dispatch] lot lot_d34020c341 at 2249 kg, condition 'smoldering' — priority urgent.
#6 print >>> [attempt 1] calling fire-dispatch to roll a containment crew…
#8 req 4 connector:http
{
  "body_json": {
    "lot_id": "lot_d34020c341",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#9 req 4 ok
{
  "body": {
    "incident_id": "inc_eeba5337787f",
    "lot_id": "lot_d34020c341",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:04:05 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#10 print >>> [attempt 1] incident inc_eeba5337787f open, waiting on containment…
#12 req 6 sleep deadline=1776758657.961958105 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_eeba5337787f"
}
#15 req 7 ok
{
  "body": {
    "error_kind": "crews_unavailable",
    "incident_id": "inc_eeba5337787f",
    "message": "dispatch failed: crews_unavailable",
    "retryable": true,
    "status": "failed"
  },
  "headers": {
    "content-length": "149",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:04:17 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#16 print >>> [dispatch] attempt 1 failed (crews_unavailable); retrying.
#18 print >>> [attempt 2] calling fire-dispatch to roll a containment crew…
#20 req 10 connector:http
{
  "body_json": {
    "lot_id": "lot_d34020c341",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#21 req 10 ok
{
  "body": {
    "incident_id": "inc_01396f8830b6",
    "lot_id": "lot_d34020c341",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:04:32 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#22 print >>> [attempt 2] incident inc_01396f8830b6 open, waiting on containment…
#24 req 12 sleep deadline=1776758685.682428547 duration=2s
#25 req 12 ok
null
#26 req 13 connector:http
{
  "method": "GET",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents/inc_01396f8830b6"
}
#27 req 13 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 08:04:45 GMT",
    "server": "uvicorn"
  },
  "status": 503.0
}
#28 FAILED worker=worker-734abf63-6a13-474b-bc94-a9395175c562