| 1 | package main |
| 2 | |
| 3 | import "context" |
| 4 | |
| 5 | // appLifecycleTestHooks exposes instance-local transaction boundaries to tests. |
| 6 | // Set hooks before starting operations and never change them concurrently. |
| 7 | type appLifecycleTestHooks struct { |
| 8 | runtimeMutationBeforeLockHook func(string) |
| 9 | lifecycleCheckpointHook func(string) |
| 10 | sessionOpenBuildHook func(context.Context) |
| 11 | } |
| 12 |