Preserve and return a proper `OriginTaskExecutionMetadata` value That's better behaviour but it still doesn't fix the interaction with the `build-scan` plugin. That will require removing an assumption from the plugin about caching operations only happening during task execution.