fix: do not add undefined task runtime to the history