When a new platform is found do not follow defaults

NEW
Assigned to

Status

Tree Management
Treeherder: SETA
3 months ago
2 months ago

People

(Reporter: armenzg, Assigned: MikeLing)

Tracking

Details

(Reporter)

Description

3 months ago
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)

Updated

3 months ago
Assignee: nobody → sabergeass
Duplicate of this bug: 1395169
You need to log in before you can comment on or make changes to this bug.