Repository navigation
feat: admins see a machine that asks to run lanes (ADR-0116) - #605
Merged
Merged
Conversation
A member that switches sharing on waits for an admin's grant to run the pool's lanes; the admins saw nothing of it. - Admin tab: "Asks to run lanes" with the machine's offer, last report and a Grant button, derived from the pool overview (`report.sharing && !member.node`). - Such machines count in the pool's and the Admin tab's badge and are marked in Machines. - An admin's hub notifies the desktop when a machine starts asking (`machine_asks`, on by default; ADR-0045 amended). - A second member entry of the same machine (same address, or a name with a suffix such as `-wsl`) is pointed out. Closes #599 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7schmiede
force-pushed
the
feat/599-grant-requests
branch
from
November 20, 2026 16:55
8535a38 to
49a2c09
Compare
This was referenced Nov 21, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
A member that switches sharing on (ADR-0113) waits for an admin's grant to run the pool's lanes, and the admins saw nothing of it: no request in the Admin tab, no notification, no mark among the machines. Seen on 2026-11-19, together with a second member entry of the same machine that already had the grant. ADR-0116 records what was built; ADR-0045 is amended with the new notification kind.
Review card
Approved by the owner in the conversation on 2026-11-20, points 1 to 5.
report.sharing && !member.node), no new API field.machine_asks, switchable) when a machine starts asking.<name>-wsl) is pointed out: "same machine as X?"Decided on my own (also in the ADR):
Verification
asksunit tests (who asks, admins only, baseline, told once per start and again after a grant was taken back), notify tests; clippy, fmt.asks.test.ts(who asks, same-machine hint); 300 tests, typecheck, build.gpu-deskwith "14.2 CPU · 6.7 GB · 1 GPU free" and "same machine as gpu-desk-wsl? That one may run lanes already."; badge Admin 3 (request, ask, alarm); Machines marks it "asks to run lanes"; Grant removes it and the badge drops to 2.Closes #599
🤖 Generated with Claude Code