Support building New Tab XPIs from autoland commits in Ship-It
Categories
(Release Engineering :: Release Automation, enhancement)
Tracking
(Not tracked)
People
(Reporter: maxx, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
2.18 KB,
image/png
|
Details |
The New Tab team ships train-hop updates as signed XPIs built via Ship-It. Today Ship-It can only build XPIs from commits that have landed on main. We'd like to explore supporting XPI builds from commits on autoland.
We want this capability to exist as a safety valve. We are not expecting it to be part of our routine workflow.
Problem this solves
A New Tab change lands on autoland mid-day in a US timezone, but misses that day's merge to main. The next merge isn't for ~12 hours, by which point our AU-timezone teammates are the only ones online to cut the release. So a change that was ready in the afternoon can't ship until the next day, and the work of cutting it lands on a different person in a different timezone than the one who's actually tracking the change.
Current workaround
When time-crunched, we ask the sheriffs to cherry-pick commits onto main so an XPI can be built sooner.
Why this is low-risk
No additional testing happens on autoland after the initial push beyond what already ran on the commit. Before cutting an XPI we run the mach try --preset desktop-newtab-trainhop --artifact suite against the candidate commit. We acknowledge that restricting to main does provide a layer of protection, and we're open to that conclusion.
Filing this bug with the goal to have this conversation!
| Reporter | ||
Comment 1•5 months ago
|
||
Extra note: I've filed this bug as confidential out of caution since I wasn't sure if it touched anything sensitive. If there's no need for it to be restricted, please feel free to change the visibility.
Updated•5 months ago
|
Comment 2•4 months ago
|
||
From a technical standpoint, I think this already works. You can manually insert revisions into https://shipit.mozilla-releng.net/newxpi to build them from any branch. I tried this out in dev and got https://firefox-ci-tc.services.mozilla.com/tasks/KDawsHg4TnOO9PWZp50EBg to use the tip of autoland.
We should also think about this from a policy standpoint -- shipping things to users off of autoland is a new thing AFAIK. From a RelEng point of view I'm comfortable with shipping something like from autoland -- it's a well monitored L3 branch. I think RelMan has the final say here though, so please check with them before actually doing it.
Comment 3•4 months ago
|
||
In case XPI files shall be built from autoland, please check the revision in Treeherder. If the push's header has a yellow rectangle with a black number, this means the push contains regressions which have been fixed later - often by backout. Not every push runs every test, pushes can be affected by an issue but not run the failing test.
Please ask the code sheriffs to find a revision which is regarded as "good" or to consult which issues do not affect your addon.
Comment 4•3 months ago
|
||
Unassigning myself because I don't think there's any actual work to be done here; please let me know if I can be of more help though.
Comment 5•3 months ago
|
||
Thanks bhearsum, I think there's nothing more to do here.
Description
•