Skip to content

0.1.0 batch 2: add Runtime setup and stable Grain identity #103

Description

@suraciii

Goal

Make Runtime setup complete, explicit, and safe before the first Call.

Scope

  • Make New start no background work.
  • Require explicit State and Reminder Stores and add Check.
  • Add Install, Register, Start, Shutdown, Stopping, and Done state rules.
  • Generate stable GrainType values and reject duplicates at Start.
  • Replace Binder with Grain Context without an alias.

Acceptance

  • A failed Start accepts no Call and claims no Reminder.
  • Old default GrainType rows remain readable.
  • Setup and shutdown state transitions have deterministic tests.
  • Generated fixtures, examples, and public docs use the new API.
  • make ci passes.

References

design/release-0.1.0.md
design/runtime.md
design/codegen.md
design/persistence.md

Activity

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

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions