← console

job 96d65774-6d7b-4c51-a9f0-8897f9d738af

StateFAILED
Quotaflowmetal-demo
Manifest208797e9ce876f5f8aae17b0cb16b9fb28d476da8aae6ccdb73775418aaa9fce
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:64, in _dispatch_impl priority = _priority_for(lot) error: Key `"condition"` was not found --> main.star:33:8 | 33 | if lot["condition"] == "engulfed" or lot["weight_kg"] > 1000: | ^^^^^^^^^^^^^^^^ |

Log

#0 req 0 connector:http
{
  "method": "GET",
  "url": "http://tire-registry.flowmetal.svc.cluster.local:8080/lots/next"
}
#1 req 0 ok
{
  "body": {
    "condition": "smoldering",
    "discovered_at": 1776757500.0,
    "lot_id": "lot_e7db180386",
    "weight_kg": 626.0
  },
  "headers": {
    "content-length": "95",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 07:44:59 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#2 req 1 connector:http
{
  "body_json": {
    "lot_id": "lot_e7db180386",
    "priority": "normal"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#3 req 1 ok
{
  "body": {
    "incident_id": "inc_0e451d55990d",
    "lot_id": "lot_e7db180386",
    "priority": "normal"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 07:45:10 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#4 req 2 sleep deadline=1776757523.004165407 duration=2s
#5 req 2 ok
null
#6 req 3 connector:http
{
  "method": "GET",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents/inc_0e451d55990d"
}
#7 req 3 ok
{
  "body": {
    "error_kind": "crews_unavailable",
    "incident_id": "inc_0e451d55990d",
    "message": "dispatch failed: crews_unavailable",
    "retryable": true,
    "status": "failed"
  },
  "headers": {
    "content-length": "149",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 07:45:23 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#8 FAILED worker=worker-734abf63-6a13-474b-bc94-a9395175c562