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
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -1774,6 +1774,7 @@ dependencies = [
|
|||
"clap",
|
||||
"clap-markdown",
|
||||
"clap_complete",
|
||||
"ed25519-dalek",
|
||||
"forgejo-api",
|
||||
"futures-util",
|
||||
"hive-core-agent-sock",
|
||||
|
|
|
|||
Loading…
Reference in a new issue