Skip to content

Truncate RawExtrinsicMetadata.discovery_date to a second

This truncation is already enshrined at the identifier level. Truncate the object itself as well, to reduce the possibility multiple different metadata objects with the same identifier.

Test Plan

new test added. Also checked that the swh.storage tests still pass, which is the case as the test data was already an integer number of seconds.


Migrated from D5272 (view on Phabricator)

Merge request reports