← console

job 90d6199c-6a60-41ad-8dea-68929efc7385

StateFAILED
Quotaflowmetal-demo
Manifestbed2305c0b9b3c962fb726543fa95a14ee4dc620aaf70b4618a65590c8430b58
Entry overridetirefireind.us/flowmetal-demo/dispatch-fire/dispatch
Workerworker-cb46eb8c-9454-46e6-a2b1-779317e6fbdd
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": "flaming",
    "discovered_at": 1776759000.0,
    "lot_id": "lot_0da3f9a7c2",
    "weight_kg": 3673.0
  },
  "headers": {
    "content-length": "93",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:09:59 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#4 print >>> [dispatch] lot lot_0da3f9a7c2 at 3673 kg, condition 'flaming' — priority urgent.
#6 print >>> [attempt 1] calling fire-dispatch to roll a containment crew…
#8 req 4 connector:http
{
  "body_json": {
    "lot_id": "lot_0da3f9a7c2",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#9 req 4 ok
{
  "body": {
    "incident_id": "inc_1b35e7466b88",
    "lot_id": "lot_0da3f9a7c2",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:10:06 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#10 print >>> [attempt 1] incident inc_1b35e7466b88 open, waiting on containment…
#12 req 6 sleep deadline=1776759019.543977462 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_1b35e7466b88"
}
#15 req 7 ok
{
  "body": {
    "error_kind": "crews_unavailable",
    "incident_id": "inc_1b35e7466b88",
    "message": "dispatch failed: crews_unavailable",
    "retryable": true,
    "status": "failed"
  },
  "headers": {
    "content-length": "149",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:10:19 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_0da3f9a7c2",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#21 req 10 ok
{
  "body": {
    "incident_id": "inc_af63bd52fabc",
    "lot_id": "lot_0da3f9a7c2",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:10:24 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#22 print >>> [attempt 2] incident inc_af63bd52fabc open, waiting on containment…
#24 req 12 sleep deadline=1776759037.533947993 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_af63bd52fabc"
}
#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:10:37 GMT",
    "server": "uvicorn"
  },
  "status": 503.0
}
#28 FAILED worker=worker-cb46eb8c-9454-46e6-a2b1-779317e6fbdd