Open Bug 1456665 Opened 6 years ago Updated 5 years ago

The API for similar_jobs doesn't work with the UI filtering

Categories

(Tree Management :: Treeherder: API, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: camd, Unassigned)

References

Details

When you check or uncheck filtering by ``machine platform`` or ``options`` for similar jobs, it still filters by the same values as the selected job.  But this isn't a UI issue, in this case.  Each job actually has a separate ``job_type_id`` even if they're both, say, ``jit5``.

So that filtering in the UI is useless.  Not sure if we should remove it, or figure out how to fix it on the back-end.  Not certain if it's actually still useful to people.

Since the ``jobs.similar_jobs`` endpoint always filters by the ``job_type_id`` of job in question to find the similar jobs, then it will only get jobs of the same option and platform.
See Also: → 1450018
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.