swarm-controller: fix broken intra-doc links (private items, rustdoc lint)
This commit is contained in:
parent
f3e42c93b4
commit
377dbb57e3
3 changed files with 18 additions and 10 deletions
|
|
@ -772,15 +772,16 @@ async fn get_jobq_rollup(State(state): State<AppState>) -> Json<Vec<hive_jobq_wi
|
|||
|
||||
/// `agent`'s open config PR, from [`config_pr::ConfigPrCache`] — kept
|
||||
/// current by a webhook nudge (near-real-time) backstopped by a periodic
|
||||
/// scan (worst case: up to one [`config_pr::POLL_INTERVAL`] stale if a
|
||||
/// scan (worst case: up to one `config_pr::POLL_INTERVAL` stale if a
|
||||
/// delivery was ever missed). Not a live forge read either way, so this
|
||||
/// answers even when the forge itself is momentarily unreachable.
|
||||
///
|
||||
/// `200` with a `null` body means "no open PR" (or "no scan has completed
|
||||
/// yet") — not distinguished, for the same reason [`ConfigPrCache::get`]
|
||||
/// doesn't: both read as "nothing to show" to the swarm-ui config-PR panel
|
||||
/// this feeds, and a cache is a best-effort read, not a source of truth
|
||||
/// callers should expect to disambiguate against.
|
||||
/// yet") — not distinguished, for the same reason
|
||||
/// [`config_pr::ConfigPrCache::get`] doesn't: both read as "nothing to show"
|
||||
/// to the swarm-ui config-PR panel this feeds, and a cache is a best-effort
|
||||
/// read, not a source of truth callers should expect to disambiguate
|
||||
/// against.
|
||||
#[utoipa::path(
|
||||
get,
|
||||
path = "/api/agents/{name}/config-pr",
|
||||
|
|
|
|||
Loading…
Reference in a new issue