Skip to content

Add duration information of failed jobs.#89

Merged
minrk merged 3 commits intokbatch-dev:mainfrom
QuentinMaz:improve_duration_log
Jan 27, 2025
Merged

Add duration information of failed jobs.#89
minrk merged 3 commits intokbatch-dev:mainfrom
QuentinMaz:improve_duration_log

Conversation

@QuentinMaz
Copy link
Contributor

Hi,

Currently, listing the jobs does not show the duration of failed jobs.
However, the job dictionary actually has the last time the pod was probed, under job["status"]["conditions"][0]["last_transition_time"] (the key "last_probe_time" details the same information).

By using this timestamp, we can return the duration of failed jobs.

QuentinMaz and others added 2 commits January 21, 2025 11:47
Co-authored-by: Min RK <benjaminrk@gmail.com>
@minrk minrk merged commit 87345da into kbatch-dev:main Jan 27, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants