On 2026-10-31 two merge asks of pull requests merged by another path held two of the router's three places for the teller and a placement ask was refused for want of room. The gate's fix ends such asks by itself; this tool is the recovery for any ask that still outlives its question: it cancels the open ask at the router, or drops one waiting for room, by its router id or its key, and logs who and why. The tools bundle asks through the teller's new state ends, as indexer_take_in does.
82 lines
1.7 KiB
JSON
82 lines
1.7 KiB
JSON
{
|
|
"module": "mesh-delivery-teller",
|
|
"version": "1",
|
|
"slug": "teller",
|
|
"tools": [
|
|
"teller_end_ask"
|
|
],
|
|
"state": [
|
|
{ "name": "answers", "history": 5 },
|
|
{ "name": "asked", "history": 1 },
|
|
{ "name": "ends", "history": 1 }
|
|
],
|
|
"reads": [
|
|
"mesh-delivery-assigner.asks",
|
|
"mesh-delivery-gate.asks",
|
|
"mesh-delivery-view.answers"
|
|
],
|
|
"uses": [
|
|
"operator-channel"
|
|
],
|
|
"own-secrets": {
|
|
"broker": "${dir:state}/broker"
|
|
},
|
|
"secrets-owner": "mesh-delivery-teller",
|
|
"resources": [
|
|
{
|
|
"id": "account",
|
|
"type": "user",
|
|
"name": "mesh-delivery-teller",
|
|
"shell": "/usr/bin/nologin",
|
|
"home": "/var/lib/mesh-delivery-teller"
|
|
},
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"owner": "mesh-delivery-teller",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "teller",
|
|
"type": "process",
|
|
"name": "mesh-delivery-teller",
|
|
"artifact": "program",
|
|
"run": [
|
|
"./mesh-delivery-teller"
|
|
],
|
|
"env": {
|
|
"MESH_BROKER_FILE": "${dir:state}/broker"
|
|
},
|
|
"user": "mesh-delivery-teller",
|
|
"health": {
|
|
"kind": "unit"
|
|
}
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "program",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/mesh-delivery-teller",
|
|
"binary": "mesh-delivery-teller"
|
|
},
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/mesh-delivery-teller-tools",
|
|
"binary": "mesh-delivery-teller-tools",
|
|
"loads": [
|
|
"mesh-delivery-teller-tools"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|