Closed Bug 1612542 Opened 4 years ago Closed 4 years ago

Integrate 3rd party library for backend talking with Taskcluster

Categories

(Tree Management :: Perfherder, task, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: igoldan, Assigned: igoldan)

References

Details

We need to be able to backfill performance jobs directly from Treeherder's backend. Basically, from Python code.

Find out which library/ies to use to accomplish this.
Add them as dependencies for Treeherder.

Blocks: 1612547

Researching on Github, I found these 2 Pypi libraries: taskcluster & taskcluster-urls.

I guess the 1st one is the most important & relevant one for our needs.
Dustin, am I correct about this?

Going back to Treeherder, I noticed we already integrated it & made use of it, so I guess there's nothing more to do here, except confirm my assumptions.

Flags: needinfo?(dustin)

One extra question I have, though...

Cameron or Armen, we seem to use a pretty old version of the taskcluster client library, namely 7.0.1. While the latest release for it is 24.2.0.
Why is that?

Flags: needinfo?(cdawson)
Flags: needinfo?(armenzg)

I don't know.

Flags: needinfo?(armenzg)

That's the right library to use, and I'd definitely suggest upgrading it. That shouldn't be hard -- those major versions are revisions to Taskcluster itself, rather than specifically to the client, so most (all?) will require no changes in treeherder. I'd suggest just upgrading to the latest and making a PR to see if it works.

Flags: needinfo?(dustin)

Yeah, that's a fair question. I haven't prioritized that upgrade out of not wanting to interrupt stability. I think I tried it a few months back and hit a snag. But I honestly don't remember now. I'll give this another shot and see how it works out.

Flags: needinfo?(cdawson)

(In reply to Cameron Dawson [:camd] from comment #5)

Yeah, that's a fair question. I haven't prioritized that upgrade out of not wanting to interrupt stability. I think I tried it a few months back and hit a snag. But I honestly don't remember now. I'll give this another shot and see how it works out.

Thanks for looking into this!

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.