Skip to content

0.1.0: complete State failure lifecycle proof #114

Description

@suraciii

Goal

Prove the documented State failure rules for mutable values and Reminder turns.

Scope

  • Test a mutable map or slice returned by State.Get.
  • Mutate the value and make State.Set fail.
  • Prove that the in-memory alias cannot be rolled back.
  • Make a State write fail during a Reminder turn.
  • Prove that the failed Activation is discarded and the next Call creates a new Activation.

Acceptance

  • The tests use injected failures and no sleep.
  • The mutable alias result matches the product contract.
  • Reminder State failure faults only the affected Activation.
  • The next Call reloads confirmed State from the Store.
  • make ci passes.

References

state.go
state_test.go
state_failure_test.go
design/persistence.md
docs/release-0.1.0.md

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