terminus icon indicating copy to clipboard operation
terminus copied to clipboard

Workflows show finished time when still running

Open ian-rose opened this issue 3 years ago • 1 comments

Expected behavior

Un-finished workflows should not list a finished at time. (should be NULL or a string such as "running" or "in process")

Actual behavior

Finished workflows interoperate a value of 0 as a timestamp, therefore report a finished time of Jan 1 1970

user@localhost$ terminus workflow:info:status site_id --id=workflow_id
 -------------- --------------------------------------
  Workflow ID    workflow_id
  Environment    test
  Workflow       Deploy code to "test"
  User           [email protected]
  Status         running
  Started At     2021-05-27 15:14:19
  Finished At    1970-01-01 00:00:00
  Time Elapsed   662s
 -------------- --------------------------------------

Steps to reproduce the behavior

Start a workflow in Pantheon, use terminus workflow:info:status to check the workflow while it is running.

ian-rose avatar May 27 '21 15:05 ian-rose

Agreed. Adding this issue to v3.0 and will post back if/when I get something committed.

stovak avatar Jun 17 '21 17:06 stovak