Open Bug 1570874 Opened 5 years ago Updated 2 years ago

Remove unused parameters from static JobModel.retrigger() method

Categories

(Tree Management :: Treeherder, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: igoldan, Unassigned)

References

Details

Attachments

(1 file)

47 bytes, text/x-github-pull-request
Details | Review

More details here.

Priority: -- → P2

Created https://github.com/mozilla/treeherder/pull/5317 for this. Will be happy to work on this. New to node as such, but will learn :).

Assignee: nobody → moijes12
Attached file GitHub Pull Request

I see that right now we don't use the repoName in retrigger, but I think we should use it.

When getDecisionTaskMap from PushModel is called, if there is repoName sent, it will default to autoland from what I tried locally.

I have a PR opened to be able to retrigger from compare view, where I use the repoName we send to retrigger.

https://github.com/mozilla/treeherder/pull/5304/files#diff-087f6469a8515d26800e700c0361bf46L96
https://github.com/mozilla/treeherder/pull/5304/files#diff-85a2495d1e3dcb178ea6c647320a84f5L159

@Cameron: Am I missing something or we really don't need repoName?

Flags: needinfo?(cdawson)

I added some review comments explaining what is happening and a good way to proceed. Please let me know if this sounds like a good approach for you. :)

Flags: needinfo?(cdawson)

Sounds good to me, thanks for the review :)

[:camd] I would like to work on this PR

Assignee: moijes12 → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: