Skip to content

bugs-tab undercounts bugs if repo uses labels and types inconsistently  #8579

Description

@fregante

A repo with three issues:

  • #12 - label: bug
  • #34 - label: bug, type: Bug
  • #56 - type: Bug

These are 3 bug, but the tab will show 2.

We should count the issues returned by the exact search query we show the user in the end: is:issue is:open (label:bug OR type:Bug)

The problem is that this further delays the tab because it needs:

  1. query to find the exact bugs label used by the repo
  2. query to count the issues returned by the search query

Followup to #8578

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions