Closed Bug 2026291 Opened 10 days ago Closed 9 days ago

nightly and release promotion actions can set `head_rev` incorrectly

Categories

(Release Engineering :: General, defect, P3)

Tracking

(firefox151 fixed)

RESOLVED FIXED
Tracking Status
firefox151 --- fixed

People

(Reporter: bhearsum, Assigned: bhearsum)

Details

Attachments

(1 file)

Both of these actions fully override the parameters passed to taskgraph_decision with the parameters from either the decision task the action is created off of, or the first previous_graph_id given. In the case of the latter, if the graph given is associated with a different revision than the action is running off of, head_rev will be incorrect. This results in treeherder metadata being wrong (jobs show up in the wrong place), and more seriously: any cached tasks will have digests generated from the action task revision, but will run with the incorrect revision...leading to caching out of date artifacts against the new hash.

In practice, this in a non-issue everywhere but Try at the moment, but it's a big confusing gotcha on Try when encountered.

Both of these actions fully override the parameters passed to taskgraph_decision with the parameters from either the decision task the action is created off of, or the first previous_graph_id given. In the case of the latter, if the graph given is associated with a different revision than the action is running off of, head_rev will be incorrect. This results in treeherder metadata being wrong (jobs show up in the wrong place), and more seriously: any cached tasks will have digests generated from the action task revision, but will run with the incorrect revision...leading to caching out of date artifacts against the new hash.

In practice, this in a non-issue everywhere but Try at the moment, but it's a big confusing gotcha on Try when encountered.

Pushed by bhearsum@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/64101337de42 https://hg.mozilla.org/integration/autoland/rev/1de19863fd84 nightly and release promotion actions can set `head_rev` incorrectly r=releng-reviewers,taskgraph-reviewers,ahal
Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: