feat(origin): offline mode with operation queuing #393
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
PLM origins should degrade gracefully when the server is unreachable, queuing operations for later replay.
Current state (MISSING)
FileOrigindefines theConnectionStateenum (Disconnected, Connecting, Connected, Error) andsignalConnectionStateChanged.LocalFileOrigindefaults to Connected. SiloOrigin does not implement connection state tracking. No operation queue, retry logic, or flush mechanism exists.Proposed design
origin.connection_changedon the event bus (depends on #382)flush_queue()replays operations in order when connection restoresImplementation notes
connectionState()and emitsignalConnectionStateChangedOperationQueueclass tokindred_sdk/origin.py— stores (origin_id, method, args) tuplesflush_queue()iterates the queue and calls each operation, removing on successDependencies
origin.connection_changedeventsRoadmap
v0.2.0 — Origin System