The keeper watches the controller's lease alone; the watch of mesh-controller.conditions, its constant and its manifest read are gone, so no condition is carried from the controller's bucket any more. The manifest test now refuses that read. The carry code in the keeper (Controller, the compare tool) stays, unfed, until the controller is removed. No test added. (issue 774, 774/S8) Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
87 lines
1.7 KiB
JSON
87 lines
1.7 KiB
JSON
{
|
|
"module": "mesh-conditions",
|
|
"version": "1",
|
|
"runs-as": "mesh-conditions",
|
|
"claims": [
|
|
{
|
|
"name": "mesh-conditions",
|
|
"scope": "mesh",
|
|
"serves": [
|
|
"conditions",
|
|
"silence",
|
|
"compare",
|
|
"take-over",
|
|
"hand-back",
|
|
"resync"
|
|
]
|
|
}
|
|
],
|
|
"uses": [
|
|
"operator-channel"
|
|
],
|
|
"reads": [
|
|
"mesh-delivery-watchman.findings",
|
|
"mesh-self-check.findings",
|
|
"mesh-healers.findings",
|
|
"mesh-delivery-assigner.findings",
|
|
"messenger.findings",
|
|
"mesh-provisioner.findings",
|
|
"artifact-store-tools.findings",
|
|
"mesh-healers.attempts",
|
|
"mesh-controller.lease",
|
|
"mesh-delivery-assigner.wants",
|
|
"node-engine.have",
|
|
"mesh-delivery-assigner.placement"
|
|
],
|
|
"state": [
|
|
"conditions",
|
|
{
|
|
"name": "history",
|
|
"ttl-seconds": 7776000
|
|
},
|
|
"takeover",
|
|
"held",
|
|
{
|
|
"name": "bounds",
|
|
"key-ttl": true
|
|
},
|
|
"asked"
|
|
],
|
|
"own-secrets": {
|
|
"broker": "${dir:state}/broker"
|
|
},
|
|
"secrets-owner": "mesh-conditions",
|
|
"resources": [
|
|
{
|
|
"id": "account",
|
|
"type": "user",
|
|
"name": "mesh-conditions",
|
|
"shell": "/usr/bin/nologin",
|
|
"home": "/var/lib/mesh-conditions"
|
|
},
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"owner": "mesh-conditions",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/mesh-conditions",
|
|
"binary": "mesh-conditions",
|
|
"loads": [
|
|
"mesh-conditions"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|