Persist a generation metadata JSON file to the metadata directory.
If a metadata file already exists for today, merges the current run's stats
and results with the existing ones so multiple workflow runs on the same day
do not overwrite each other's data.
Skips writing when dryRun is true.
Persist a generation metadata JSON file to the metadata directory. If a metadata file already exists for today, merges the current run's stats and results with the existing ones so multiple workflow runs on the same day do not overwrite each other's data. Skips writing when
dryRunis true.