Skip to content

the last set of rebase metrics for this release - #6951

Merged
iAmWillShepherd merged 4 commits into
developmentfrom
shiftkey/rebase/more-metrics
Feb 27, 2019
Merged

iAmWillShepherd merged 4 commits into
developmentfrom
shiftkey/rebase/more-metrics

Conversation

@shiftkey

Copy link
Copy Markdown
Member

Overview

Related to #6550

Description

This PR implements the remaining metrics for 1.6.3:

  1. 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 other metrics are in #6893.

I'm going to follow up with PRs for the documentation once both of these PRs are merged, because there's also backend changes to land to consume these metrics.

Release notes

Notes: no-notes

@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Feb 26, 2019
@shiftkey shiftkey added this to the 1.6.3 milestone Feb 26, 2019
export interface IStatsStore {
recordMergeAbortedAfterConflicts: () => void
recordMergeSuccessAfterConflicts: () => void
recordRebaseAbortedAfterConflicts: () => void

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking question
Is this intended to make testing easier?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is because we use IStatsStore rather than StatsStore directly in changes-state.ts.

The benefit of this interface is that we can write tests to verify these side effects are invoked in the right scenarios.

@iAmWillShepherd iAmWillShepherd self-assigned this Feb 26, 2019
@iAmWillShepherd
iAmWillShepherd merged commit d5560d6 into development Feb 27, 2019
@iAmWillShepherd
iAmWillShepherd deleted the shiftkey/rebase/more-metrics branch February 27, 2019 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants