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
Goal
Prove the documented State failure rules for mutable values and Reminder turns.
Scope
Acceptance
References
state.go
state_test.go
state_failure_test.go
design/persistence.md
docs/release-0.1.0.md