livery.workshop._series¶
livery.workshop._series ¶
Every series the workshop keeps, declared in one place.
The janitor walks them to bound them (livery.git.sweep) and a
reader lists them. Each series is declared where its rows mean
something; this module only gathers the declarations: the base's own,
BASE, and the ones the listed extensions keep, their answers to
store.series (livery.workshop._series.declared).
Functions:
| Name | Description |
|---|---|
declared |
Every series and family root keeps: the base's, then the listed extensions'. |
mirrored |
Whether a sync mirrors item into the checkout for a desk's gate to read. |
mirrored_series |
The names of the series a sync mirrors for root, sorted. |
Attributes:
| Name | Type | Description |
|---|---|---|
LOOP |
|
|
BASE |
tuple[Series | Keyed, ...]
|
|
BASE
module-attribute
¶
BASE: tuple[Series | Keyed, ...] = (_metrics.SERIES, _metrics.RUNS, _shard.DURATIONS, _verified.SERIES, _speed.SERIES, _gate_record.SERIES, _diagnostics.SERIES, _traces.TRACES, _traces.ABOUT, LOOP, git.FETCHED)
declared ¶
Every series and family root keeps: the base's, then the listed extensions'.
An extension keeps a series by answering store.series with it.
Source code in packages/workshop/src/livery/workshop/_series.py
mirrored ¶
Whether a sync mirrors item into the checkout for a desk's gate to read.
A remote row series under the store's own namespace is mirrored. A local series is in the checkout already, a keyed family is fetched on read by the verb that needs it, through a live snapshot, and a series of another namespace, a trace, is mirrored by nothing.
Source code in packages/workshop/src/livery/workshop/_series.py
mirrored_series ¶
The names of the series a sync mirrors for root, sorted.
What livery.git.fetch_store is told to mirror: every declared
remote row series (livery.workshop._series.mirrored) and never
a keyed family, so a desk's gate reads metrics, verified,
speed/marks and the listed extensions' own from the mirror,
and a verb that needs a family opens a live snapshot.