microsoft-teams
microsoft-teams copied to clipboard
Workflow subscriptions cards report incorrect duration on re-runs
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:
- In team subscribe to specific workflow events only for a repository by running the following command:
subscribe owner/repo workflows:{name:"worklfow-name"}followed byunsubscribe owner/repo issues pulls commits comments releases deployments - Run the workflow
- Wait several hours / a day and run the workflow again
- 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:
Duration reported in the GitHub UI for the very same run:
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.