View Source ProcessHub.Service.DeclaredChildren.Boot (ProcessHub v0.7.0)
Boot-time resolution of the declared list: adopts the highest version among the local store and the remote manifest, seeds version 1 from durable registry rows on first enablement, and parks the hub's reconcile when the list is missing while durable evidence says it should exist.
Summary
Functions
Fetches and decodes the remote copy, bounded and off the caller's heap.
Re-runs the boot-time remote comparison after a remote outage at boot. MUST run inside the coordinator process.
Resolves the list on coordinator boot. A stored format newer than this release refuses to open.
Functions
@spec remote_fetch(ProcessHub.Hub.t()) :: {:ok, ProcessHub.Service.DeclaredChildren.manifest()} | :not_found | :not_configured | {:error, term()}
Fetches and decodes the remote copy, bounded and off the caller's heap.
@spec remote_recompare(ProcessHub.Hub.t()) :: :ok | {:error, term()}
Re-runs the boot-time remote comparison after a remote outage at boot. MUST run inside the coordinator process.
@spec run(ProcessHub.Hub.t()) :: {:ok, :ready | :parked | {:remote_error, term()}} | {:error, term()}
Resolves the list on coordinator boot. A stored format newer than this release refuses to open.