feat(desktop): set the pool's limits from Settings #371
Labels
Clear labels
accessibility
all-platforms
area:agents
area:ai
area:chain
area:ci
area:client
area:daemon
area:p2p
area:project
area:protocol
area:runtime
area:storage
bug
chore
community
dependencies
discussion
discussion/Announcements
discussion/General
discussion/Ideas
discussion/Q&A
discussion/Show and tell
discussion/answered
documentation
duplicate
enhancement
good first issue
help wanted
i18n
infra
invalid
needs:decision
needs:hardware
paired
question
research
security
status:in-review
test
testing
tracking
wontfix
Barrier affecting people with disabilities
Run every platform's packaging and checks on this pull request, not only the three main ones
MCP server, skill, and thinking on the pool
Planner and model providers
Blockchain, SISY, verification
Continuous integration and build workflows
Desktop and web clients
sisyphusd coordinator, worker, scheduler
libp2p hosts, relays, discovery, connections between nodes
Project planning, roadmap, and governance
Protobuf schemas and RPC contracts
Workload execution and environments
Content-addressed storage, IPFS, Kubo, Cluster, S3, names, pinning
Something isn't working
Repository health, templates, Discussions, contributor experience
Updates to actions, Go modules or npm packages
Migrated from GitHub Discussions
GitHub Discussions category: Announcements
GitHub Discussions category: General
GitHub Discussions category: Ideas
GitHub Discussions category: Q&A
GitHub Discussions category: Show and tell
Q&A discussion with an accepted answer
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Good for newcomers
Extra attention is needed
Translations and right-to-left layouts
Build, CI, releases
This doesn't seem right
Waits on a decision from both owners
Waits on a machine we do not have yet
Built together by both maintainers, with co-authored commits
Further information is requested
Needs investigation or a design decision
Sealing, keys, access control, tokens, the security model
Built and in an open pull request; closes when it merges
Tests, test harnesses and the rehearsal
Roadmap and meta issues
This will not be worked on
type
Feature
A request, idea, or new functionality (GitHub issue type)
type
Task
A specific piece of work (GitHub issue type)
Milestone
No items
No Milestone
Beyond V0: open network and chain
Projects
Clear projects
No projects
Sisyphus roadmap
Done
No Assignees
rvnminers-A-and-N
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Sisyphus/Sisyphus#371
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The desktop half of #369, on top of #370 (now merged).
A Pool limits card in Settings → This node, right after Location discovery, built the same way as that card: load and refresh on connect, dirty tracking, save, the same restart notice, and the same note when the daemon is too old to have the calls.
Fields
Every client type, as asked on #369
node:get-pool-limits/node:save-pool-limits. The main process checks the input strictly, then callsGetPoolLimits/SetPoolLimitsover gRPC with the node's token. There's no Electron-side settings file and no new launch flags, since the daemon applies saved limits itself.Tests
npm run typecheck,npm test(95 pass, 6 of them new: precision with bigint and string input, strict IPC checks, parsing, exact form round trips, error-message cleanup, and the same keys in all seven locales) andnpm run buildall pass.npm run test:e2e(29 pass). The new e2e flow saves limits to a separately managed daemon, checks a refusal in the card and a refusal from the daemon, restarts the daemon, confirms the values, units and cleared restart notice, then opens a fresh profile that reads the limits from the daemon.web_test.goin #370. I also tried it by hand against a daemon serving the built UI: the largest storage value loaded exactly, a save landed, and an over-limit value showed the daemon's message.i18n: every string in all seven locales. Layout was checked in English and Hebrew; the Hebrew units note was reworded so its equations read in order, and the Arabic note uses Arabic unit names.
Docs: a Pool limits paragraph in the desktop README, and one sentence in
docs/desktop-backend.md.One small change to existing code:
supportsLocationDiscoverySettingsinnode-api.tsis renameddaemonImplementsCall, since both cards now use it; it behaves the same.@excho0 this is your side of the app, so I'd especially value your eye on the card and the copy. Push to the branch anything you'd change.