fix(cli): handle invalid timestamps in workflow commands #140

Merged
xiaomo merged 1 commits from fix/139-cli-workflow-invalid-time into main 2026-04-25 09:03:53 +00:00

1 Commits

Author SHA1 Message Date
xiaoju 8bae382a3c fix(cli): handle invalid timestamps in workflow commands
formatTs() now guards against null/undefined/NaN/Infinity timestamps,
returning '(unknown)' instead of crashing with 'Invalid time value'.

Added 18+ unit tests covering edge cases for formatTs, formatRunLine,
buildListOutput, buildInspectOutput, and formatThreadRoundBlock.

Fixes #139

小橘 <xiaoju@shazhou.work>
2026-04-25 09:00:58 +00:00