microsoft-teams icon indicating copy to clipboard operation
microsoft-teams copied to clipboard

Workflow subscriptions cards report incorrect duration on re-runs

Open jj-obrien opened this issue 2 years ago • 0 comments

Describe the bug Workflow subscriptions cards report incorrect duration of the workflow run on re-runs (Attempt #n)

To Reproduce Steps to reproduce the behavior:

  1. In team subscribe to specific workflow events only for a repository by running the following command: subscribe owner/repo workflows:{name:"worklfow-name"} followed by unsubscribe owner/repo issues pulls commits comments releases deployments
  2. Run the workflow
  3. Wait several hours / a day and run the workflow again
  4. See that the card in GitHub app in teams reports the Duration as the total time between start of the fist run and end of last run, resulting in absurd durations.

Expected behavior The duration on the card should match the total duration in GitHub UI

Screenshots Duration reported in the GitHub app integration in teams: Screenshot from 2024-02-12 10-50-39 Duration reported in the GitHub UI for the very same run: Screenshot from 2024-02-12 10-56-23

Desktop (please complete the following information):

  • OS: Ubuntu 22.04 LTS
  • Browser: Brave (Chromium) and Firefox
  • Version: 1.62.162 (121.0.6167.164 official build) and 121.0.1

Smartphone (please complete the following information):

  • Device: n/a
  • OS: n/a
  • Browser n/a
  • Version n/a

Additional context Add any other context about the problem here.

jj-obrien avatar Feb 12 '24 11:02 jj-obrien