Shippable builds running on every push
Categories
(Thunderbird :: Build Config, defect)
Tracking
(thunderbird_esr78 wontfix, thunderbird83 wontfix)
People
(Reporter: darktrojan, Assigned: rjl)
Details
Attachments
(1 file)
Shippable builds have started running when they should not be running.
Assignee | ||
Comment 1•4 years ago
|
||
RFC: I would like to let these run.
AIUI, the reason for not wanting shippable builds by default was to minimize our use of Taskcluster build resources. This is certainly an admirable goal.
However, it's a maintenance burden as we deviate from what Firefox does here. The less of that sort of thing we do the better.
If we keep the shippable builds enabled, I can set "include_push_tasks" to true in our .cron.yml file for the Nightly builds. With that set, when the cron job, it will just "promote" the last push. This is something that :mkmelin has verbally asked for in recent months.
There may be other issues that come up due to the desire to not run a build for suite-only pushes. Personally, I feel that's another maintenance burden we can do without.
NI? Callek to confirm my understanding of what "include_push_tasks" will accomplish.
Comment 2•4 years ago
|
||
Yes, that is what include_push_tasks
should do, I haven't vetted the code to assure that it would work on comm correctly.
Assignee | ||
Comment 3•4 years ago
|
||
As shippable builds are running on every push, this will reuse those builds
for the Dailies rather than rebuilding.
Assignee | ||
Comment 4•4 years ago
|
||
I took a look at the code in question and nothing stood out as being a problem.
I ran "mach taskgraph decision" locally with the --include-push-tasks parameter included and a TASK_ID set. The generated parameters.yml file did not include the build tasks though, so it looks like something is not quite right.
Comment 5•4 years ago
|
||
So that means if we push something at 13:00 and nothing changed since 14:00 (when dailies start), it wouldn't re-do them at 14?
Assignee | ||
Comment 6•4 years ago
|
||
Yes, that's what include_push_tasks
is supposed to do anyway. I'd like to be able to try it out without breaking anything though.
Assignee | ||
Comment 7•4 years ago
|
||
(In reply to Rob Lemley [:rjl] from comment #4)
I took a look at the code in question and nothing stood out as being a problem.
I ran "mach taskgraph decision" locally with the --include-push-tasks parameter included and a TASK_ID set. The generated parameters.yml file did not include the build tasks though, so it looks like something is not quite right.
I figured this out... PEBKAC. If the original push to comm-central was a DONTBUILD push, obviously there are no build tasks to reuse, and that was my issue before. So let's get this thing landed and done.
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/ea8e92388dfe
Use existing build for Thunderbird Dailies. r=justdave
Comment 9•4 years ago
|
||
So what will the daily be if I land something that didn't have time to finish building before it's time for daily? Will it wait for the current push to finish and use that?
Updated•4 years ago
|
Assignee | ||
Comment 10•4 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #9)
So what will the daily be if I land something that didn't have time to finish building before it's time for daily? Will it wait for the current push to finish and use that?
It's going to look at the most recent Decision task and use that task graph as a basis. Whatever is in the label-to-taskid.json artifact will get reused, anything that's not is built. So the answer is, if builds are still going they will finish and then finish up the rest of the Nightly tasks from those.
Description
•