Files
OpenShell/crates/openshell-server
Piotr Mlocek b907685b3f feat(config): schedule configuration delivery without drops
Replace the bounded delivery queue with a synchronous scheduler that never
rejects admission. Every publication takes a sequence number and a key is
rebuilt only while its last build predates the publication, so repeated
publications coalesce. Fanouts are cursors over sorted recipients; direct and
fanout builds share build slots with a direct reserve and a fanout floor, and a
separate route lane handles owner lookups and peer hints.

Provider instance changes and credential refreshes publish a targeted provider
scope that fans out only to sandboxes attached to that provider, filtered by a
monotonic attachment cache. Add the PeerConfigProviderTarget hint scope and
remove the unreleased queue_full field.

Push-mode sessions get one latest-wins slot per component, drained by an
outbound stream that sends control frames first. Sessions register with the
scheduler only after setup succeeds and only while still current, and recipient
epochs fence stale tickets.

Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
2026-10-06 08:50:57 -07:00
..