← console

job f2d4e67f-7dfe-4da4-8c10-eb4899a60ce1

StateFAILED
Quotaflowmetal-demo
Manifest6f124b5e1811093f0d79c2722b3684f422c2a94a491e989db59aebbf2b233e6a
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": 1776765060.0,
    "lot_id": "lot_da69442fd7",
    "weight_kg": 3451.0
  },
  "headers": {
    "content-length": "96",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:51:00 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#4 print >>> [dispatch] lot lot_da69442fd7 at 3451 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_da69442fd7",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#9 req 4 ok
{
  "body": {
    "incident_id": "inc_a235afbb9c73",
    "lot_id": "lot_da69442fd7",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:51:07 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#10 print >>> [attempt 1] incident inc_a235afbb9c73 open, waiting on containment…
#12 req 6 sleep deadline=1776765078.074177962 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_a235afbb9c73"
}
#15 req 7 ok
{
  "body": {
    "error_kind": "crews_unavailable",
    "incident_id": "inc_a235afbb9c73",
    "message": "dispatch failed: crews_unavailable",
    "retryable": true,
    "status": "failed"
  },
  "headers": {
    "content-length": "149",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:51:18 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#16 print >>> [dispatch] attempt 1 failed (crews_unavailable); retrying.
#18 req 9 sleep deadline=1776765095.106158483 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_da69442fd7",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#23 req 11 ok
{
  "body": {
    "incident_id": "inc_51de7c4b0d5c",
    "lot_id": "lot_da69442fd7",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:51:35 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#24 print >>> [attempt 2] incident inc_51de7c4b0d5c open, waiting on containment…
#26 req 13 sleep deadline=1776765108.036814591 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_51de7c4b0d5c"
}
#29 req 14 ok
{
  "body": {
    "error_kind": "crews_unavailable",
    "incident_id": "inc_51de7c4b0d5c",
    "message": "dispatch failed: crews_unavailable",
    "retryable": true,
    "status": "failed"
  },
  "headers": {
    "content-length": "149",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:51:48 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#30 print >>> [dispatch] attempt 2 failed (crews_unavailable); retrying.
#32 req 16 sleep deadline=1776765120.191090263 duration=1s
#33 req 16 ok
null
#34 print >>> [attempt 3] calling fire-dispatch to roll a containment crew…
#36 req 18 connector:http
{
  "body_json": {
    "lot_id": "lot_da69442fd7",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#37 req 18 ok
{
  "body": {
    "incident_id": "inc_777083513268",
    "lot_id": "lot_da69442fd7",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:52:00 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#38 print >>> [attempt 3] incident inc_777083513268 open, waiting on containment…
#40 req 20 sleep deadline=1776765128.092693718 duration=2s
#41 req 20 ok
null
#42 req 21 connector:http
{
  "method": "GET",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents/inc_777083513268"
}
#43 req 21 ok
{
  "body": {
    "error_kind": "crews_unavailable",
    "incident_id": "inc_777083513268",
    "message": "dispatch failed: crews_unavailable",
    "retryable": true,
    "status": "failed"
  },
  "headers": {
    "content-length": "149",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:52:08 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#44 print >>> [dispatch] attempt 3 failed (crews_unavailable); retrying.
#46 req 23 sleep deadline=1776765133.972121302 duration=2s
#47 req 23 ok
null
#48 print >>> [attempt 4] calling fire-dispatch to roll a containment crew…
#50 req 25 connector:http
{
  "body_json": {
    "lot_id": "lot_da69442fd7",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#51 req 25 ok
{
  "body": {
    "incident_id": "inc_b1c2053260de",
    "lot_id": "lot_da69442fd7",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:52:14 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#52 print >>> [attempt 4] incident inc_b1c2053260de open, waiting on containment…
#54 req 27 sleep deadline=1776765144.095892198 duration=2s
#55 req 27 ok
null
#56 req 28 connector:http
{
  "method": "GET",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents/inc_b1c2053260de"
}
#57 req 28 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 09:52:24 GMT",
    "server": "uvicorn"
  },
  "status": 503.0
}
#58 FAILED worker=worker-cb363943-e8d5-4544-959e-0acbf94251c1