docs(#3255): correct the reaper invariant the swarm webhook test guards
The test's doc named knowledge::ensure_webhook as one of two hive-side reapers. That function is gone; its replacement matches the full URL and cannot touch another hive's hook. The assertion arm stays. The hazard is not what this repository's source says, it is what is deployed — a hive still running the previous version reaps by suffix until it is upgraded, so the arm guards the transition rather than a current code path. Recorded when to drop it.
This commit is contained in:
parent
d2a550e685
commit
84125b0806
2 changed files with 27 additions and 21 deletions
|
|
@ -483,8 +483,7 @@ pub async fn ensure_all() {
|
|||
/// existing hooks first and skips creation when one is already targeting the
|
||||
/// correct URL.
|
||||
///
|
||||
/// `hive_domain` is the public domain name of the hive (e.g.
|
||||
/// `pr1ma.darkest.space`); the webhook URL is
|
||||
/// `hive_domain` is the public domain name of the hive; the webhook URL is
|
||||
/// `https://<hive_domain>/webhook/config-pr` (routed through the gateway,
|
||||
/// avoiding the Forgejo SSRF guard that blocks loopback delivery).
|
||||
///
|
||||
|
|
@ -495,8 +494,9 @@ pub async fn ensure_all() {
|
|||
/// An org-level hook covers every repo in `agent-configs` automatically,
|
||||
/// so no per-repo setup is needed as new agents are provisioned.
|
||||
///
|
||||
/// Called at startup alongside `knowledge::ensure_webhook`. No-op when the
|
||||
/// core token is absent (forge not yet provisioned).
|
||||
/// Called at startup beside `knowledge::remove_webhook`, its opposite: that
|
||||
/// repo's one hook is the controller's now, this one has not moved yet. No-op
|
||||
/// when the core token is absent (forge not yet provisioned).
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in a new issue