report per agent whether a hive can pull its latest closure from the cache
for each agent the hive looks up its record in agent-closures, fetches the closure's narinfo from the cache with the pull token and checks that a signature by the cache's public key covers it. the result is a log line and the gauge hyperhive.agent.closure_pullable, with a reason label when it is 0. nothing is downloaded and deploys still build locally. part 3 of 3: the probe needs the cache facts and the closure read grant from parts 1 and 2.
This commit is contained in:
parent
a55d55e494
commit
5486fc0333
1 changed files with 812 additions and 34 deletions
|
|
@ -48,6 +48,7 @@ listenfd = "1"
|
|||
petgraph.workspace = true
|
||||
hmac.workspace = true
|
||||
sha2.workspace = true
|
||||
ed25519-dalek.workspace = true
|
||||
rusqlite.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue