relpro shouldn't assume that no partial updates implies nightly
Categories
(Release Engineering :: Release Automation, enhancement)
Tracking
(firefox95 fixed)
| Tracking | Status | |
|---|---|---|
| firefox95 | --- | fixed |
People
(Reporter: jcristau, Assigned: jcristau)
Details
Attachments
(2 external files)
taskgraph.util.partials.populate_release_history (https://searchfox.org/mozilla-central/rev/12770bd668c0a6bdaa8eb96ad9507c6febe8d23d/taskcluster/taskgraph/util/partials.py#188) assumes that if no partials are explicitly requested we're building nightly. However it is also called when that may not be the case, in particular when dealing with staging releases (because finding appropriate partials to use for a staging release can be more trouble than it's worth). Since _populate_nightly_history and _populate_release_history return objects of different shapes this causes downstream errors e.g. in beetmover tasks.
| Assignee | ||
Comment 1•5 years ago
|
||
"This is nightly so we don't know what partials we need" is not the same
as "we're making a release and we know we don't want partials". In one
case (when called from get_decision_parameters) partial_updates is None,
in the other (called from release_promotion_action) it's an empty dict.
The latter case still enforces non-empty partial_updates for production,
but for staging it's not really necessary and falling back to nightly
behaviour in populate_release_history is just wrong.
| Assignee | ||
Comment 2•5 years ago
|
||
Comment 4•5 years ago
|
||
| bugherder | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
| bugherder | ||
Updated•1 year ago
|
Description
•