Strongly type timestamps #31891
Labels
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
type:refactor
Refactoring or improving of existing code
Describe the proposed change(s).
Similar to what was done for
LongCommitSha
, we should add a strongly typedTimestamp
type, which is a validated Timestamp. We should also consistently useluxon
DateTime
capabilities throughout if we're not already.Our datasource logic should be updated to only return
releaseTimestamp
if it's of typeTimestamp
. Individual datasource implementations could possibly return invalid strings, but they should be filtered before being returned to the worker layer.The text was updated successfully, but these errors were encountered: