Skip to content

hub: a live projects push lost after its retries or a Registry reset waits for the endpoint's next welcome #552

Closed

Description

@SSFSKIM

Purpose

The hub's live projects frame to a machine's endpoint (registry M2) is pushed from the Registry to each machine object with the in-memory retry of apps/desk-hub/src/objects/retry.ts. A push abandoned after RETRY_ATTEMPTS, or lost when the Registry resets before its retry runs, leaves that endpoint holding an older record of the sending machine until its next welcome, when the snapshot heals it. The directory push has the same limit today.

What it costs

An endpoint's directory for sminos can lag a project added or removed on another machine for as long as its hub connection lasts. The leaving rule is conservative, so a lag never makes a project leave wrongly. It only delays following a new one.

Success criteria

A lost live push is healed without waiting for a reconnect: for example, a per-destination pending revision persisted and resumed by an alarm, or a periodic snapshot re-read by the endpoint. Proved by a test that resets the Registry between the store and the push.

Context

Registry execution document (docs/doperpowers/plans/2026-11-10-project-registry.md), M2, Decision Log 9. Found by M2's review.

Activity

  1. added
    enhancement
    status:deferred
    priority:P3
    on Nov 10, 2026
  2. added a commit that references this issue on Nov 12, 2026
  3. removed
    status:deferred
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions