Watch
0
0
Fork
You've already forked hyperhive
0

swarm-controller: link AgentState by path in the revocation doc comment

rustdoc runs with -D rustdoc::broken-intra-doc-links and the type is
imported inside the function body, not at module scope, so the bare
link resolved to nothing and failed the workspace-doc derivation.
This commit is contained in:
atlas 2026-09-23 12:34:21 +02:00 • committed by mara
commit 215a8aedc4

View file

@ -1064,7 +1064,8 @@ async fn set_agent_state(
/// Whether declaring an agent into `state` ends its queue credential's life. /// Whether declaring an agent into `state` ends its queue credential's life.
/// ///
/// Exhaustive on purpose, like every other match on [`AgentState`] in this /// Exhaustive on purpose, like every other match on
/// [`AgentState`][swarm_queue_client::wanted::AgentState] in this
/// tree: a state added later has to say whether it revokes rather than /// tree: a state added later has to say whether it revokes rather than
/// inheriting "no" from a catch-all. `Offline` and `Paused` deliberately do /// inheriting "no" from a catch-all. `Offline` and `Paused` deliberately do
/// not — both are states an agent comes back from, and revoking on either /// not — both are states an agent comes back from, and revoking on either