Extract and persist batch spec execution cache entries
Created by: mrnugget
This is part of #26929 (closed).
When a BatchSpecWorkspaceExecutionJob
completes we extract the cache entries in the log messages and persist them to the database.
What's still a bit bad is the marshaling/unmarshaling. But I'm not sure (yet) what the best thing to do here is.