fix prose lint in the permissions docs; lock the serde dependency of swarm-agent-verify
This commit is contained in:
parent
329d556ab9
commit
052c46ab25
2 changed files with 3 additions and 2 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -4819,6 +4819,7 @@ name = "swarm-agent-verify"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
"serde",
|
||||||
"subtle",
|
"subtle",
|
||||||
"swarm-secret-client",
|
"swarm-secret-client",
|
||||||
"thiserror 2.0.18",
|
"thiserror 2.0.18",
|
||||||
|
|
|
||||||
|
|
@ -322,8 +322,8 @@ without it gets a 403 from the store's gateway when `swarm-logs` or
|
||||||
|
|
||||||
An agent decodes its own record, in its harness
|
An agent decodes its own record, in its harness
|
||||||
(`hive-agent/src/swarm_permissions.rs`, through `swarm_queue_client::agent_permissions::read`),
|
(`hive-agent/src/swarm_permissions.rs`, through `swarm_queue_client::agent_permissions::read`),
|
||||||
and a build that doesn't know a name would drop to no permissions. So
|
and a build that doesn't know a name would drop to no permissions. The controller
|
||||||
swarm-controller refuses a change that adds `logs` or `metrics` to an existing
|
therefore refuses a change that adds `logs` or `metrics` to an existing
|
||||||
agent, with a 409, unless both the agent's hive (`tolerant-permissions` in its
|
agent, with a 409, unless both the agent's hive (`tolerant-permissions` in its
|
||||||
status snapshot) and its running harness (the same entry in its turn-state
|
status snapshot) and its running harness (the same entry in its turn-state
|
||||||
header, `swarm_wire::hive_status`) advertise it. A harness not yet updated, a
|
header, `swarm_wire::hive_status`) advertise it. A harness not yet updated, a
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue