Skip to content

Commit 444cf97

Browse files
alai97codewdhruv
andauthored
SEI-14136 Add Efficiency Profile Troubleshooting Section (#11596)
* SEI-14136 * generic FAQ that applies to all scenarios --------- Co-authored-by: Dhrubajyoti Chakraborty <[email protected]>
1 parent 93ab98e commit 444cf97

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

docs/software-engineering-insights/harness-sei/analytics-and-reporting/efficiency.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,35 @@ This widget provides insights into how long it takes to recover from a failure o
100100

101101
The following options are available for this widget:
102102

103-
* **View Breakdown**: Provides a detailed breakdown of restoration time by team.
103+
* **View Breakdown**: Provides a detailed breakdown of restoration time by team.
104+
105+
## Troubleshooting
106+
107+
### Lead Time for Changes
108+
109+
#### Why do some phases in the Lead Time widget show zero values even though we have correlated data across different systems?
110+
111+
![](../static/build-time-troubleshooting.png)
112+
113+
This usually happens when the events defined in your Efficiency profile don’t align with the actual order of activities in your SDLC process. For example, if the profile is configured to measure Build Time as:
114+
115+
$$
116+
\text{Build Time} = \text{First CI Build} - \text{Last PR Merged}
117+
$$
118+
119+
then:
120+
121+
* Expected behavior: The first CI build should run after the last pull request is merged.
122+
* Issue: If the first CI build happens before the last PR merge, the calculation results in a negative value. Negative values are reported as 0 in the widget.
123+
124+
**Common reasons you may see 0:**
125+
126+
* Process misalignment: For example in the above example a CI build triggers before the PR is merged.
127+
* Profile definition conflict: The defined start and end events don’t reflect the real workflow.
128+
129+
**How to fix:**
130+
131+
* Set up the Destination Branch filter in your team settings so that only PRs merged into the correct branch are tracked.
132+
* Review your SDLC workflow against the configured Efficiency profile to ensure event order matches reality.
133+
134+
In short: 0 values highlight workflow gaps or mismatches between how your process runs and how your Lead Time profile is defined.
229 KB
Loading

0 commit comments

Comments
 (0)