Skip to content

Conversation

Jeremydupras
Copy link
Contributor

@Jeremydupras Jeremydupras commented Jul 3, 2025

Description

Converts instant to string.

Instant objects are not able to be serialized into the jobs map and cause the jobScheduler to crash. Converting to a string allows the Instant object to be added to the jobs map. These two line now match the other Instant Objects which are out into the jobs map.

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Jeremy Dupras <[email protected]>
@cwperks
Copy link
Member

cwperks commented Jul 3, 2025

@Jeremydupras can you add more to the PR description with what this PR is addressing

@Jeremydupras
Copy link
Contributor Author

Added additional reasoning in the PR description.

@cwperks
Copy link
Member

cwperks commented Jul 3, 2025

@Jeremydupras can we add a test for this fix as well?


if (jobInfo.getActualPreviousExecutionTime() != null) {
jobDetails.put("last_execution_time", jobInfo.getActualPreviousExecutionTime());
jobDetails.put("last_execution_time", jobInfo.getActualPreviousExecutionTime().toString());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants