You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Activity Monitor: Adopt now and Reroute to another clanker for PRs waiting on a contributor's clanker #15082
A PR waiting on a contributor's clanker (e.g. #15038 "Returned to contributor · waiting on @Danathar", stage 072; also 071-needs-author) offers only Hold / Re-evaluate / Mark needs-human / Open / Copy in the ⋯ row menu. An operator who can see the contributor's hive is gone (or stuck) has no way to end the wait short of waiting out the offline grace window and the maintainer policy.
Request
Two operator row actions (via runRowAction and the decision API POST /api/repos/{o}/{r}/items/{n}/decision):
Adopt now — hive takes it over — forced adoption. Consequence line: "closes the contributor's PR after hive opens its copy; their commits + sign-off are preserved". Confirm dialog with don't-ask-again. Backend: decision adopt with force: true runs the existing supersede adoption path immediately regardless of online state and maintainer policy; records last_operator_action{action:"adopt-now"}; posts the standard hive:adopted marker with reason=operator-forced by=@login; if the clanker is online the adoption comment tells the author the maintainer took it over. Toast: "Adopted → #N (hive's copy), contributor PR will close when #N merges".
Reroute to another clanker — submenu listing currently-online registered contributor clankers (login, hive name, online since, current load) plus "any available". Backend: decision reroute with to: <login|any> re-dispatches the PR's follow-up work as a kick targeted to that clanker's queue using the existing contributor work-offer mechanism. Author notified by hive:rerouted to=@X by=@op reason=…; row shows a "rerouted → @x" pill with presence; if the target does not pick it up within governor.reroute.pickup_timeout (default 30m) it falls back to Adopt now with an alert. With no clankers online the item is disabled: "no clankers online — use Adopt now".
Both also in the needs-human popover options (decision_needed.options[]) when the blocker is a waiting-on-contributor condition, and in the delegated "Let hive decide" rules (hive picks adopt-now when grace already elapsed).
Go tests for both decision handlers, node fixture tests for menu items / consequence lines / disabled reasons / toasts.
Activity
✨ Activity Monitor: Adopt now and Reroute to another clanker for PRs …
✨ Activity Monitor: Adopt now and Reroute to another clanker for PRs …
✨ Activity Monitor: Adopt now and Reroute to another clanker for PRs …
✨ Activity Monitor: Adopt now and Reroute to another clanker for PRs …
✨ Activity Monitor: Adopt now and Reroute to another clanker for PRs …
✨ Activity Monitor: Adopt now and Reroute to another clanker for PRs …
✨ Activity Monitor: Adopt now and Reroute to another clanker for PRs …
✨ Activity Monitor: Adopt now and Reroute to another clanker for PRs …