Expand description
tag_groups table — explicit grouping container that lets
many tags rows share one resolved AgentSpec + parent
lineage.
Inserts happen inline in db::tags::apply’s
ResolvedApplyTarget::Agent arm (kept there so the
tags-side write and the tag_groups-side write live in the
same transaction). This module only exposes the read path:
fetch returns the TagGroup for a given id, used by
agents spawn when it resolves a --agent-tag
invocation into a runnable AgentSpec + parent.
Structs§
Functions§
- fetch
- Look up a tag_group row by id. Returns
Ok(None)when no row matches (typically only happens if the caller raced aDELETEfrom the parenttagscascade).