onyx-platform/onyx

Output from job-snapshot-coordinates does not match input schema for build-resume-point

sundbry opened this issue · 0 comments

Version 0.13.3-alpha4

job-snapshot-coordinates returns a map with :created-at which build-resume-point rejects:

Input to build-resume-point does not match schema:

           [nil (named {:created-at disallowed-key} coordinates)]

As per the user guide, this code fails:

(->> job-id
     (onyx.api/job-snapshot-coordinates peer-config tenancy-id)
     (onyx.api/build-resume-point new-job)
     (assoc new-job :resume-point)
     (onyx.api/submit-job peer-config))