swarm-controller: fix broken intra-doc links (private items, rustdoc lint)

This commit is contained in:
damocles 2026-08-19 21:06:16 +02:00
commit 377dbb57e3
3 changed files with 18 additions and 10 deletions

View file

@ -31,7 +31,7 @@ use utoipa::ToSchema;
use crate::webhook::DeliveryKind;
/// An agent's open config-PR, as [`Client::list_open_config_prs`] reports it
/// and [`crate::get_agent_config_pr`] serves it.
/// and `GET /api/agents/{name}/config-pr` serves it.
#[derive(Clone, Debug, PartialEq, Serialize, ToSchema)]
pub struct ConfigPrStatus {
pub pr_number: u64,
@ -367,8 +367,9 @@ impl Client {
/// name. Mirrors `hive-c0re::forge::config_pr_poll::poll_open_config_prs`'s
/// scan shape (list repos in the org, list open PRs per repo) but returns
/// data instead of side-effecting an approval queue — this daemon has no
/// approval system of its own; it exists so [`crate::get_agent_config_pr`]
/// has something to answer from, independent of any one hive being up.
/// approval system of its own; it exists so `GET
/// /api/agents/{name}/config-pr` has something to answer from,
/// independent of any one hive being up.
///
/// A single repo's list failing does not fail the whole scan — logged and
/// skipped, so one flaky repo can't blank out every other agent's status.