Open Bug 1935143 Opened 2 months ago Updated 2 months ago

Clicking "Treeherder job" from Firefox CI task interface navigates to the wrong job

Categories

(Firefox Build System :: Task Configuration, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: sparky, Unassigned)

Details

I was looking at this task from the firefox-ci task interface: https://firefox-ci-tc.services.mozilla.com/tasks/aV9ZefzfSXWOTZ8TaxySmg

When I click the Treeherder link though, it brings me to the wrong job. Instead of going to aV9ZefzfSXWOTZ8TaxySmg it goes to JZXebJPHTeupP3h5SQ9KTw which is this one: https://firefox-ci-tc.services.mozilla.com/tasks/JZXebJPHTeupP3h5SQ9KTw

The aV9ZefzfSXWOTZ8TaxySmg task does exist in the try run, it's this one: https://treeherder.mozilla.org/jobs?repo=try&revision=93417102e8b1bf4a8f927a89cf77146c1fe94688&selectedTaskRun=aV9ZefzfSXWOTZ8TaxySmg.0

Instead this is the link we navigate to: https://treeherder.mozilla.org/jobs?repo=try&revision=93417102e8b1bf4a8f927a89cf77146c1fe94688&selectedTaskRun=JZXebJPHTeupP3h5SQ9KTw.0

Confirmed. When using rebuild in a try push, the task's definition is duplicated in the morph phase (in gecko_taskgraph.morph.add_try_task_duplicates), after giving it a taskId and resolving task references (in the optimization phase, taskgraph.optimize.base.get_subgraph), so references to the task id such as the treeherder link don't get adjusted.

Severity: -- → S3
Component: Firefox-CI Administration → Task Configuration
Priority: -- → P3
Product: Release Engineering → Firefox Build System
You need to log in before you can comment on or make changes to this bug.