aboutsummaryrefslogtreecommitdiffstats
path: root/docs/state-object.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-30 18:05:23 +0000
committertv <tv@krebsco.de>2026-11-30 22:03:11 +0000
commit2df89c5ff9bb32dab96a504116206ccce1045ccf (patch)
tree9c74466dce57a83aad923b8501254c0aadbe6f92 /docs/state-object.md
parentb74359e97643be0f43034c3aeab533a2389a939f (diff)
nix: the switch serves the views when there is something to serve
enstate.service reruns on a switch when the schema changes. A unit of its own, enstate-switch.service, takes what waits otherwise: a submission in incomingDir, or one staged. switch-to-configuration restarts sysinit-reactivation.target on every switch, which starts it, and triggering conditions keep it from running when nothing waits. The check before a switch uses the new generation's enstate, schema and configuration, and runs on a host without enstate, too: its first switch's state can wait in incomingDir. Subtests of the VM test: staged under an unchanged schema, brought by the switch (without the warning the activation-restart-list gives); a waiting submission taken by the switch that needs it; one refused refusing it.
Diffstat (limited to 'docs/state-object.md')
0 files changed, 0 insertions, 0 deletions