Is there a programmatic way to determine if a run is being stored-to or read-from the configuration cache? I would expect such information to live in StartParameter but I can’t find it there.
You can do a serialization hack to detect that your state has been restored from disk, but if there’s a “real” way to do it that would be better.