Durable actor recovery slice: journal, replay, generation fencing, and leases #52
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/star-lang#52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Parent
Goal
Extract the generic durable actor-runtime recovery semantics needed by long-lived hosts after the base final execution/Sento/supervision path is green.
This is not application persistence. A host such as Hackmode still owns canonical operation/business state in its own storage. StarLang owns only runtime coordination durability required to recover actor lifecycle/message execution safely.
Dependency order
Do not implement this ahead of the base runtime path:
Required semantics
Journal
Replay / idempotency
Lease / fencing
Host boundary
A host may rebuild application actor state from canonical host storage after restart. StarLang journal/replay must not require serializing Hackmode/Tek9 operation objects as actor state.
The runtime may preserve/recover generic facts such as:
Mandatory RED-first proof
Using the final runtime:
Add a two-operation/service-shaped fixture where one actor recovers while another continues or recovers independently, without importing application-specific state.
Non-goals
Definition of done
star-journalandstar-leaseown the final generic durability/fencing semantics needed for service restart, the migration ledger can move the relevant rows out of prototype authority, and a host likehackmodedcan recover actor coordination without replaying stale effects or creating a shadow business database.