Group workers and triggers, and see how they depend on each other¶
Goal: keep the workers and triggers that belong together in a group, share a trigger between two groups, see the groups, their dependencies and their health on Infra > Topology, and delete a group without deleting what another group still uses.
Prerequisites
- Signed in as an admin (reading the topology needs no admin).
- The context is active; on a protected context each write asks first.
- The workers and triggers exist (see Start a worker, Schedule a trigger).
Steps: create a group and fill it¶
- Open Infra > Topology (route
/infra/topology). -
New group… The dialog New group opens. Name, e.g.
momentum-btc; optional Tags (key=value, one per line), Parents (groups it sits under, e.g.strategies) and an Id (a UUID; empty: one is generated). Create.
-
Select the group (in the graph or the tree), then Members…: Add a worker…, Add a trigger… or Add a child group…, each with Add. Remove takes an item out (it stays, ungrouped when it was its last group).

The same from the item's side: on Infra > Workers or Infra > Triggers select the row, Groups…. To share a trigger, add it to a second group: it belongs to both.
Steps: read the topology¶
-
Graph: group frames hold their members; topic families and endpoints sit outside; links run through topics. Each node shows its health (
ok,degraded,failing,idle), a group the worst of its members with the count, e.g. 1 of 2 failing.
-
Pick a group in the group filter to see it alone, with the groups under it. Groups collapsed shows one node per group and the links between groups.
- Click a node: the side panel shows its id, health, groups and tags, the producers that fail it, and a family's topics.
-
Tree: the same groups, members and families as rows; the selection and the filter stay when you switch.

Steps: delete a group¶
-
Select the group, Delete…. The dialog lists what is Deleted (members that belong to no other group) and what is Kept, in another group (with that group). A group with child groups asks for With its child groups.

-
Delete. The dialog then shows each member's outcome: deleted, kept, or failed with the reason.
What you should see¶
- The group under its parents in the tree, its members in Infra > Workers and Infra > Triggers (Groups column; the group filter shows it alone).
- After a deletion: the deleted members gone, the kept ones still running in their other group; Infra > Changes lists each write.
Troubleshooting¶
| Symptom | Cause and fix |
|---|---|
| Id must be a UUID | Leave Id empty for a generated one, or give a UUID. |
… failed: ALREADY_EXISTS [ID_EXISTS <id>] |
A group with that id exists. |
| … failed: FAILED_PRECONDITION [CYCLE] | The group would become its own ancestor. |
| It has child groups … | Tick With its child groups, or take them out first (Members…). |
| Group … is still being deleted | A member could not be deleted (the reason is listed); the group stays marked deleting. Delete… again finishes it. |
| A topic shows no producer seen | Workers listen to it, but no worker has published to it yet and no trigger targets it: normal right after a deploy. |
| Buttons disabled, read only | You are not an admin. |