mirror of
https://github.com/storytold/autocraft.git
synced 2026-12-01 10:33:55 +01:00
The sync no longer builds the item snapshot. The runner leader builds it in a child process at its start and after each successful sync run that ended since its last build, so the snapshot sits beside the jobs and worker API that read it when the runner and periodic leaders run in different pods. The standby probe listener keeps the worker API address through the startup work until right before the worker API binds it. The EndpointSlice is written only once the worker API listens; with the slice configured, a worker API that fails to start releases the lease and exits.