Expand description
“A filed task #N for B at T”: the task-flow event and the short list of recent ones, the task half of the
Atlas agent map’s flow data (the message half is message_flow).
Like it, this carries ids, names, hosts and times only: the task’s number and board slug, who did it, who it is for and what was done. There is no field for the title, the payload, a result or a note.
The srv that owns the board reports what happens to its tasks. A task filed on another computer’s board is also reported by the filer’s srv, once it has the number back, so a map connected to either srv draws the line; both name the task by the board’s host and number, which is how a reader joins them.
The recent list lives in memory only (RECENT_MAX entries, newest last). Each entry remembers the board it is
on, so a reader is given only the boards it may see (GET /api/v1/task-flow); the board’s id is never sent.
Structs§
- Seen
- What a call site knows of a task event: ids and names, never its content.
- Task
Flow Event - The
task-flowevent’s payload (mps_events::TaskFlow). - Task
Flow Task - A task: its number on a board, the board’s slug and the computer whose board it is.
Enums§
- Task
Flow Kind - What was done to the task.
Constants§
- RECENT_
MAX - How many recent task events are kept.
Functions§
- install
- Start publishing on
brokerfor the rest of the process. The first call wins. - note
- Records that
seenhappened: published as thetask-flowevent, and kept in the recent list. Does nothing beforeinstall. - recent_
where - The recent task events on the boards
seessays yes to (by board id), oldest first.