Repository navigation
fix(web): keep members' pools out of projects, and pass on pool capacity - #648
Merged
Merged
Conversation
A member's own pool runs only their sessions, so a project that chose it waited for runners that never took anyone else's, and its amber warning hid. Projects no longer see such pools or runners, the warning waits for the pools to load before it says no runner has the labels, and saving the Runners page shows one toast.
…ools after runner changes Cancel was the form's submit button, so it saved what had changed. Approving, rejecting, draining or removing a runner now refetches the pools' demand too, which their cards show.
fctl host install runs 4 sessions unless told, while the form starts at the cloud modules' 3: the command for one's own machines left it out at 3. It now always passes it, and the Kubernetes step says it too.
This comment has been minimized.
This comment has been minimized.
…labels wait for The server keeps a pool whose token was revoked or expired only while it has runners (pools::named), as the choices did: poolFor now does too, so labels that only such a pool had show the amber warning.
fctl-sh Bot
added a commit
to hyperstructure/design
that referenced
this pull request
Nov 24, 2026
…fctl#648 changes The New pool form offers seven ways to remove offline runners, not five; the Runners tab's section names lib/pools.ts, lib/pool-setup.ts and PoolCard; Access tokens' summary is like a new pool's. The setup steps' capacity, the Kubernetes step's words and the amber line's wait say that they are as hyperstructure/fctl#648 makes them.
8 of 9 tasks
kalaspuff
approved these changes
Nov 24, 2026
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.
Summary
This fixes the seven review findings left unanswered on #644 and #645, which merged with them.
fctl host installruns 4 sessions unless told otherwise, while the New pool form starts at 3, the cloud modules' default. The command for your own machines left--capacityout at 3, so those machines ran 4. It now always passes the form's value, and the Kubernetes step names it too (fctl host install --no-service --capacity N, thenfctl host run).I verified it with unit and component tests for each fix, and checked that each new test fails without its fix.
npm run checkand the web app's 1,893 tests pass.Refs #615
Screenshots
At 3a89ca9, from
cargo xtask dev, light theme. Before is main's web app against the same control plane, so its commands name port 5175 instead of 5173; the dev stack's tokens are masked.A project's Settings → Runners, with the workspace's AWS large pool and the dev owner's own My GPUs pool. Before, the project could choose My GPUs; after, it can't:
A new pool on your own machines at the form's 3 sessions each, whose command now says so:
A new pool on Kubernetes: the Deployment step now names the install and the capacity:
fctl session
Note
Low risk. It changes only how the web app picks and lists pools for a project, in a front-end helper and its tests, and nothing is stored or sent differently.
What it does. Keeps members' own pools out of the pools a project can choose or wait for, since their runners run only that member's sessions, and passes on a pool's capacity from its form to its machines. Pools whose token ended with no runners left no longer count, as on the server.
fctl review's first look at
3a89ca9· 8 files, +122 −35 · Review agent settings