The duration calculation logic assumes that the last commit time represents workflow completion, but this may not be accurate. The workflow could have been started long after the last commit was made. Consider documenting this assumption more clearly in a comment, or using actual workflow completion time if available.
Originally posted by @Copilot in #31 (comment)