change default index rank for tier-{2,3} tasks from zero to one
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox130 fixed)
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | fixed |
People
(Reporter: jcristau, Assigned: jcristau)
References
Details
Attachments
(1 file)
Historically we've set index rank based on the build date for tier-1 tasks, and to 0 for tier-{2,3} tasks, which AIUI was useful during the migration from buildbot to taskcluster because we could have the same builds running in both with different tiers, and have only the tier-1 task get indexed.
Later (bug 1653050) we added eager-index for cached tasks, to avoid rebuilding docker images / toolchains / etc that were already in progress on a previous push: we'd now find the previous push's tasks in the index and wait for them to finish.
This was fine for tier-1 cached tasks, but for tier-{2,3}, when they get scheduled without their cache hash (and thus index path) actually changing, we'd now override a previous successful (rank 0) index entry with an unscheduled or pending or running task, leading to a window where artifacts aren't available (bug 1720793 / bug 1908324).
It seems this problem would go away if we used 1 instead of 0 as the default index for tier-{2,3} tasks.
| Assignee | ||
Comment 1•1 year ago
|
||
This ensures completed tasks have a higher rank than entries added by
eager-index, when a cached task is scheduled despite not changing index
path.
| Assignee | ||
Updated•1 year ago
|
Comment 3•1 year ago
|
||
| bugherder | ||
Description
•