You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a placeholder issue for discussing what metrics we want to roll out as part of this feature. There's probably some prior art from the Merge Conflicts feature that we can mirror here.
Deferring that decision to @iAmWillShepherd. I would lean on the side of making sure what we have is accurate prior to focusing on new metric additions.
@scottypate I view that project as more of a thing that's happening in parallel but shouldn't stop us from continuing to measure the things we're shipping.
Number of times a user pulls with rebase (potentially as a % of regular pulls if that's possible?)
Number of times a user encounters a conflict while pull rebasing.
2a. Number of times a pull rebase is completed successfully after a conflict.
2b. Number of times a pull rebase is aborted after a conflict.
The big things we're trying to learn here are whether this is something people are enabling without surfacing anything in the UI, how frequently they're hitting conflicts, and whether they're subsequently force pushing the resolution.
A follow-up measurement that I need to look at is the effect that rebasing in desktop has on other collaborators on the repo that are not using desktop. I have a hypothesis that easier rebasing in Desktop could increase conflicts in other areas of the product. We don't need to collect any data for that here other than what @billygriffin described above.
Number of times a user encounters a conflict while pull rebasing.
2a. Number of times a pull rebase is completed successfully after a conflict.
2b. Number of times a pull rebase is aborted after a conflict.
Activity
shiftkey commentedon Feb 5, 2019
For reference, these are the merge events that are probably directly equivalent to rebase operations:
mergeAbortedAfterConflictsCount- the number of times a merge was aborted by the usermergeSuccessAfterConflictsCount- the number of times a merge was completed successfullymergeIntoCurrentBranchMenuCount- the number of time a merge was initiated from the menumergedWithCleanMergeHintCount- the number of times the app reported that a merge would be "clean" (i.e. "no conflicts? sweet!")mergedWithConflictWarningHintCount- the number of times the app reported that a merge would not be "clean" (i.e "oh no, there be dragons!")mergedWithLoadingHintCount- the number of times the user went straight to merging without looking at the result (i.e. "whatever, let's do this!")shiftkey commentedon Feb 14, 2019
@desktop/product @desktop/analytics friendly nudge on what metrics should be in for 1.6.3, versus what can be deferred to 1.7.0
scottypate commentedon Feb 14, 2019
Deferring that decision to @iAmWillShepherd. I would lean on the side of making sure what we have is accurate prior to focusing on new metric additions.
billygriffin commentedon Feb 15, 2019
@scottypate I view that project as more of a thing that's happening in parallel but shouldn't stop us from continuing to measure the things we're shipping.
@shiftkey For 1.6.3, I think we ought to measure:
2a. Number of times a pull rebase is completed successfully after a conflict.
2b. Number of times a pull rebase is aborted after a conflict.
Number of times a user force pushes (potentially as a % of regular pushes if that's possible?)moved to metrics for rebase features in 1.7.0 #6935The big things we're trying to learn here are whether this is something people are enabling without surfacing anything in the UI, how frequently they're hitting conflicts, and whether they're subsequently force pushing the resolution.
Does that sound reasonable/appropriate?
shiftkey commentedon Feb 21, 2019
This all sounds reasonable
scottypate commentedon Feb 21, 2019
Does that sound reasonable/appropriate?I second that this is all good stuff.
A follow-up measurement that I need to look at is the effect that rebasing in desktop has on other collaborators on the repo that are not using desktop. I have a hypothesis that easier rebasing in Desktop could increase conflicts in other areas of the product. We don't need to collect any data for that here other than what @billygriffin described above.
shiftkey commentedon Feb 25, 2019
Force push is not in scope for
1.6.3so we don't have anything to support this metric. Moving this out to #6935 to track there.shiftkey commentedon Feb 26, 2019
An update on what is coming in
1.6.3for rebase metrics:See #6893 for those metrics
desktop/app/src/lib/stores/app-store.ts
Lines 2868 to 2872 in 47afaff
2a. Number of times a pull rebase is completed successfully after a conflict.
2b. Number of times a pull rebase is aborted after a conflict.
See #6951 for those metrics
desktop/app/src/lib/stores/updates/changes-state.ts
Lines 218 to 225 in 5a6d602
Once both of those are merged, I'll add docs and update Central to pass through these new metrics so we can get them into the beta.