New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difference in duration as depicted on stage overview vs VSM page #8681
Comments
The issue is present in pipelines with multiple stages as well but it might not be noticeable immediately. |
To understand how duration is calculated, lets assume a Stage S which has re-run and hence has counter 1 & 2. Duration calculation on VSM and Stage details page: Duration calculation on Stage overview: I think we should change the duration on the Stage Overview to be same as on the Stage details and VSM page. |
* v3 of the API adds attributes 'created_time' and 'last_transition_time' * Deprecated v2 of the API
…nsition time gocd#8681 * Stage duration is calculated based on stage created time and last transitioned time now returned as part of the Stages API.
* v3 of the API adds attributes 'created_time' and 'last_transition_time' * Deprecated v2 of the API
…nsition time gocd#8681 * Stage duration is calculated based on stage created time and last transitioned time now returned as part of the Stages API.
…nsition time gocd#8681 * Stage duration is calculated based on stage created time and last transitioned time now returned as part of the Stages API.
Fixed in #8690. Verified on |
Issue Type
Summary
Note: Relevant for a pipeline with single stage
The stage duration stated on stage overview (on dashboard, pipeline activity and VSM page) is different from the one stated on VSM page for a given pipeline and stage counter.
Basic environment details
GoCD Version: 20.9.0 (12319-184c7cbcfbeabe576f9851f9bff84978bd48a716)
Steps to Reproduce
Config to use
j1
i.e. the failing one. Let it complete.Expected Results
The stage duration stated on stage overview should be the same as one stated in the pipeline box.
Actual Results
The durations are different.
Code snippets/Screenshots
Any other info
This behaviour is not noticed if the entire stage is rerun.
The text was updated successfully, but these errors were encountered: