Open Bug 1760913 Opened 2 years ago Updated 2 years ago

"Add new jobs (Search)" with "xpcshell" doesn't show any of the Android tests

Categories

(Tree Management :: Treeherder: Frontend, defect)

defect

Tracking

(Not tracked)

People

(Reporter: mozbugz, Unassigned)

Details

STR:

  1. Go to a treeherder push, e.g.: https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&revision=e84b3c41fac9bd86c7359508e2456f1dd6c98ad2
  2. Click on the down-triangle at the top-right, click "Add new jobs (Search)".
  3. In the filter box, type "xpcshell" and press enter.
  4. (Optional) Select "Use full job list" or not, it doesn't help here.

Expected:
There should be xpcshell tests on some Android platforms. (They can be seen when doing a manual "Add new jobs" action, listed as "X", "X-fis", etc.)

Actual:
Zero xpcshell tests on any Android platform.

Same issue when searching for "android xpcshell", while e.g., "linux xpcshell" gives the expected results for Linux.

The issue is the threshold defined for the fuzzy search. With a value of 0.4 it doesn't find the Android xpcshell tasks, with 0.6 it also returns language pack tasks which don't contain xpcshell. his also applies with ignoreLocation: true (documentation, search result scoring).

There are 2 solutions here: Switch from fuzzy to exact search or have users perform the exact search with the ' prefix, e.g. 'xpcshell.

You need to log in before you can comment on or make changes to this bug.