config PRs: each hive removes its own stale config-PR org hook on boot
The hook a hive registered on the agent-configs org points at its /webhook/config-pr route, which no hive serves any more, so every config-repo event fails delivery to it. The forge sweep now deletes it. Only a hook whose URL equals this hive's own exactly is removed. The same path on another base belongs to another hive and is left alone. A forge error is logged and boot continues; once the hook is gone the step is a no-op. Closes #4850
This commit is contained in:
parent
a88ed9f24e
commit
56f592d525
2 changed files with 82 additions and 4 deletions
|
|
@ -269,8 +269,8 @@ would take delivery away from the first rather than add a recipient.
|
|||
|
||||
**The `agent-configs` org is on it too.** The controller's hook is the
|
||||
only one that acts on config PRs. A hive's `/webhook/config-pr` hook left
|
||||
on the org by an older release delivers to a route no hive serves; delete
|
||||
it in the org's webhook settings. Removing the controller's hook stops
|
||||
on the org by an older release delivers to a route no hive serves; each
|
||||
hive deletes its own on startup. Removing the controller's hook stops
|
||||
forge-UI merges from deploying until its next start recreates it.
|
||||
|
||||
<!-- vale write-good.Passive = YES -->
|
||||
|
|
|
|||
Loading…
Reference in a new issue