mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
## 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)
11 lines
208 B
Go
11 lines
208 B
Go
package chasm
|
|
|
|
const (
|
|
CallbackLibraryName = "callback"
|
|
CallbackComponentName = "callback"
|
|
)
|
|
|
|
var (
|
|
CallbackComponentID = GenerateTypeID(FullyQualifiedName(CallbackLibraryName, CallbackComponentName))
|
|
)
|