action-slack-notify icon indicating copy to clipboard operation
action-slack-notify copied to clipboard

[Feature request] Show run duration in Slack message

Open spencermehta opened this issue 3 years ago • 2 comments

I'd like to include the run duration in the message sent to the slack channel.

spencermehta avatar Feb 28 '22 10:02 spencermehta

+1

schmidtsonian avatar Apr 08 '22 02:04 schmidtsonian

+1

josh803316 avatar May 01 '22 03:05 josh803316

+1

pakhilov avatar May 25 '23 16:05 pakhilov

Providing a run duration for a workflow would require that workflow to have a definite duration, i.e. have finished. If you want a transient duration, you may store the timestamps for the start of the run, and compare it against the time you send the message to obtain a relative duration.

As for supporting this behaviour baked into the action, we currently have no plans for doing that.

L0RD-ZER0 avatar Mar 11 '24 13:03 L0RD-ZER0