Appending "&test_paths=foo" to the URL will only filter jobs if you do a full reload
Categories
(Tree Management :: Treeherder: Frontend, defect, P3)
Tracking
(Not tracked)
People
(Reporter: armenzg, Unassigned)
Details
(Keywords: good-first-bug, Whiteboard: [lang:js])
If you append to the URL "&test_paths=foo" it will not filter the jobs that have executed such test paths. Reloading the URL with "&test_paths=foo" will show it correctly.
Steps to reproduce:
- Load https://treeherder.mozilla.org/#/jobs?repo=mozilla-central
- Append
&test_paths=devtoolsto the URL and press enter
Expected results:
- A lot of jobs are shown that have executed tests with
devtoolsin their path
Actual results:
- No jobs are shown
Work around
- Reload the URL
| Reporter | ||
Comment 1•5 years ago
|
||
Related code:
https://github.com/mozilla/treeherder/pull/5794/files
Comment 2•5 years ago
|
||
This is an issue existing with the whole app actually and not with this component. Neither is any request being served on clicking it nor is the state of the component changing. I am looking into the cause of this. Any help will be highly thankful.
| Reporter | ||
Comment 3•5 years ago
|
||
I don't know how to solve this without working on it.
The problem is probably rooted on a disconnect on how we handle URL parameter changes and to trigger changes associated to filtering.
I would first simply look to find out if URL parameter changes by modifying the URL and pressing enter are even noticed. Maybe there's some info on stackoverflow or the react-router documentation.
I hope that helps!
Comment 4•5 years ago
|
||
Just checked it now, the issue exists no longer .
Appends &test_paths=foo to https://treeherder.mozilla.org/#/jobs?repo=mozilla-central gives the results we expect
| Reporter | ||
Comment 5•5 years ago
|
||
Thanks for checking!
This was probably a side effect of a bug that I fixed last week:
https://github.com/mozilla/treeherder/commit/013c949c4037c16d91d774394b0995c5353f3a67
Description
•