Closed Bug 1398771 Opened 7 years ago Closed 6 years ago

When a new platform is found do not follow defaults

Categories

(Tree Management Graveyard :: Treeherder: SETA, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: armenzg, Assigned: sabergeass)

References

Details

Sometimes a new platform is added to be run (e.g. stylo jobs).

Now, when a new job is detected by SETA we give it a 2 week grace period in which we run it on every push.

However, for new platforms, they add too much load at once, thus, we desire to run them on every 5th push.

Unfortunately, this requires manual intervention:
https://treeherder.readthedocs.io/seta.html#maintenance
where we remove the expiration data and set the priority to 5 (e.g. bug 1386668).

A way to know if a job should not have the two week grace period is by checking if the job priority already has a job with such platform name. If we don't have that platform we should not set an expiration date and set the priority to 5.

A place to start looking at the code would be here:
https://github.com/mozilla/treeherder/blob/master/treeherder/seta/update_job_priority.py#L129-L142
Assignee: nobody → sabergeass
The manual work is less than 10 minutes.
We have not even needed to make any changes in the last 6 months.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.