Expose successful and/or failed setting of meta-data to users in UI via either stdout logging or in the timeline tab
Debugging meta-data values in a build is cumbersome, unless the script setting the metadata manually logs what it tried to set. If this were included in the BK timeline output (or similar), it would be much easier to track down:
a) Which step set some metadata
b) When the metadata was set (i.e. timing with other steps)
c) If the metadata key / value are as expected
My understanding is meta-data is not secure and thus not be used for secrets, so there should be no risks in exposing both the key and value in the UI, but if that is a concern even just recording which metadata key was set at a given time would be a useful compromise.