Skip to content

tools: read grpcproc/groups from the CLI, MCP and the web UI - #69

Merged
floatdrop merged 1 commit into
mainfrom
groups-tools
Oct 11, 2026
Merged

floatdrop merged 1 commit into
mainfrom
groups-tools

Conversation

@floatdrop

Copy link
Copy Markdown
Owner

What

The tools half of process groups, after #68. A grpcproc/groups scope answers a groupsv1.Query through WithQuery, so every tool reads it through the Inspector's existing Query RPC, as the copy of whichever node it is pointed at has it.

  • tools/client: Groups lists a scope's groups by prefix. Each group comes with its members on every node and on that node, alongside the scope's other nodes and their states. GroupMembers lists one group's members. A scope is found by its label, preferring the one named default, and ErrNoGroups reports a node that runs none.
  • CLI: grpcprocctl groups [group], with --node, --scope, --prefix, --limit and --json.
  • MCP: process_groups and group_members, both read-only.
  • Web UI: a Groups page with a scope picker, a prefix filter, a group's members once picked, and the scope's nodes by state (synced, syncing, absent, unreachable). It is backed by /api/groups and /api/group.
  • Docs: tools/README.md, and the site's grpcprocctl, MCP and web UI guides.
  • Pin: tools now requires grpcproc at d9436f8, the merge of groups: process groups, after Erlang's pg #68.

Testing

  • The tools gate passes without a workspace (GOWORK=off), as CI runs it: vet, golangci-lint, go test -race ./.... ./client, ./dot, ./cli, ./mcpserver and ./web are at 100%.
  • gofmt -l . is clean and the site type-checks.
  • Checked against a three-node demo over real TCP: the CLI output, and the web page for a scope that one node does not run (it shows as absent).

🤖 Generated with Claude Code

A grpcproc/groups scope answers a groupsv1.Query through WithQuery, so
the tools read it through the Inspector's Query, from whichever node
they are pointed at, as that node's copy has the groups.

- client: Groups lists a scope's groups by prefix, with each one's
  members on every node and on that one, and the scope's other nodes
  with their states; GroupMembers lists one group's members. A scope is
  found by its label, the one named default first; ErrNoGroups for a
  node that runs none, or none of the name asked.
- grpcprocctl groups [group]: --node, --scope, --prefix, --limit, --json.
- MCP: process_groups and group_members, both read-only.
- Web UI: a Groups page, with a scope picker, a prefix filter, a group's
  members once picked, and the nodes of the scope by state;
  /api/groups and /api/group behind it.
- Pins tools to grpcproc at d9436f8, which has the package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@floatdrop
floatdrop merged commit b55d59d into main Oct 11, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant