Files
temporal/chasm/callback.go
Yichao Yang fc6bc07ec0 CHASM: fix force terminate checks (#9296)
## What changed?
- Prevent terminated executions from updating execution state which will
result in an error
- Handle terminated executions when checking for access rules
- Wherever the existing terminated flag is checked, also check the
persisted execution state in mutable state.

## Why?
- Current checks uses the in-memory terminated field on a node which
will be lost after reload or replication.
- No real impact today as terminated execution don't really need any
updates today, but that won't be true in the future when chasm
executions can have callbacks.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [x] added new unit test(s)
- [ ] added new functional test(s)
2026-02-12 12:21:37 -08:00

208 B