Closed
Bug 1330649
Opened 9 years ago
Closed 6 years ago
SETA - Rename `RunnableJobsClient`
Categories
(Tree Management Graveyard :: Treeherder: SETA, defect, P3)
Tree Management Graveyard
Treeherder: SETA
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: armenzg, Assigned: rwood)
References
Details
I'm currently moving a couple of functions as part of another PR but I would like to port the left over logic in this bug.
Specifically the caching logic is the only left:
https://github.com/mozilla/treeherder/blob/master/treeherder/seta/runnable_jobs.py#L15-L38
This will require stop using RunnableJobsClient in all the various places:
https://github.com/mozilla/treeherder/search?utf8=%E2%9C%93&q=RunnableJobsClient
Updated•8 years ago
|
Component: Treeherder → Treeherder: SETA
| Assignee | ||
Comment 1•8 years ago
|
||
I'm not sure if this is really necessary. I think it makes sense to have SETA use it's own RunnableJobsClient (wrapper for treeherder/etl/runnable_jobs) and keep it's own caching there just for SETA, instead of changing the treeherder runnable_jobs endpoint and potentially inadvertently causing issues for some other treeherder runnable jobs API consumer.
:emorley, what do you think? If you agree, I'm going to close this bug.
Flags: needinfo?(emorley)
Comment 2•8 years ago
|
||
To me `RunnableJobsClient` is a bit confusing, since elsewhere in Treeherder we used "Client" to refer to things like the standalone Python Treeherder client that makes HTTP calls to an API, rather than a helper for interacting with the ORM.
Flags: needinfo?(emorley)
| Assignee | ||
Comment 3•8 years ago
|
||
Good point, thanks - I'll (at least) improve the name.
Assignee: nobody → rwood
Status: NEW → ASSIGNED
| Reporter | ||
Updated•7 years ago
|
Priority: -- → P3
| Assignee | ||
Updated•7 years ago
|
Summary: SETA - Move treeherder.seta.runnable_jobs logic to treeherder.etl.runnable_jobs → SETA - Rename `RunnableJobsClient`
Comment 4•6 years ago
|
||
RunnableJobsClient is being removed here (in favour of calling list_runnable_jobs() directly):
https://github.com/mozilla/treeherder/pull/4590
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•