DevX: Time to merge


There are several frameworks available to help understand and improve Developer eXperience at organizations. They collect metrics along serval dimensions.
The SPACE framework looks along the lines of: Satisfaction/Well-being; Productivity; Activity; Communication/Collaboration; Efficiency/Flow.
We are measuring Activity and Communication. Specifically we are measuring the number of merges and merge times respectfully across our repositories.
To get quarterly merge times of Pull Requests into main, this script does the heavy lifting analyzing local repositories using command-line git
and a python
one-liner to get the timing statistics (average, min, max and median).
We are only considering PRs which are sluggish. We ignoring the quick ones which are under a week and the stale ones which are over a month. The goal is to reduce these numbers while maintaining our quality metrics.
It’s been running for close to a quarter and will report back on the results, but in the meantime have at it.
References
Subscribe to my newsletter
Read articles from Danny Crasto directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Danny Crasto
Danny Crasto
I am developer/code-reviewer/debugger/bug-fixer/architect/teacher/builder from dubai, uae