Skip to content

Mechanism to find which feature is causing issues #2586

Closed

Description

@fregante

git-bisect - Use binary search to find the commit that introduced a bug

In Refined GitHub we could use this mechanism to determine which feature causes a specific bug (e.g. https://github.com/sindresorhus/refined-github/issues/2273) rather than which commit.

I'm not sure if it's worth it, but perhaps it's not terribly hard if implemented with a window.prompt() for yes/no questions running in the options page, as long as the previous settings are restored at the end.

Activity

  1. added
    meta
    on Dec 2, 2019
  2. added
    Please! ♥︎
    and removed on Dec 28, 2020
  3. fregante commented on Dec 28, 2020

    @fregante
    MemberAuthor

    Once again I wish I had this.

    This is what it needs to do:

    1. Remember the deselected options
    2. Deselect all
    3. Ask: can you see the bug?
      • Yes: Exit, it's not RGH
      • No: Select half of the feature
    4. Ask: Can you see the bug?
      • Yes: Select half of the previous features
      • No: Select half of the other features
    5. Repeat 4 until there's only a feature left
    6. Tell the user which feature it is
    7. Restore previous options
  4. pinned this issue on Jan 12, 2021
  5. changed the title [-]Implement `bisect` in the options[/-] [+]Mechanism to find which feature is causing issues[/+] on Jan 16, 2021
  6. unpinned this issue on Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Please! ♥︎acceptedmeta

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions