Skip to main content

Module stacks

Module stacks 

Source
Expand description

Groups tracked reviews into stacks, derived from each review’s ancestors on every call rather than stored: membership changes as revisions land or get reordered, so a stored copy would just go stale.

A stack is a root-to-leaf chain. A lone review is a stack of one. If a chain forks (two reviews share a parent), each leaf gets its own stack, and the shared ancestors belong to whichever leaf sorts first.

Structs§

Stack

Functions§

group
Group entries into stacks. Resolved entries are ignored: a landed review is already part of its descendants’ base, not of the stack.
stack_containing
The stack containing key, if it’s tracked and unresolved.