Swirrl / drafter

A clojure service and a client to it for exposing data management operations to PMD
Other
0 stars 0 forks source link

fix: response values for child jobs use parent job's start-time value #657

Closed rosado closed 1 year ago

rosado commented 1 year ago

Child jobs used to just overwrite the value for :start-time on each step of the state machine.

The fix stores the original start-time under ::parent-job-start-time and that value is returned as start-time in API responses. Clients shouldn't be aware of child jobs, so this shouldn't break contracts.

Fixes #647