erichdongubler-mozilla / treeherder-dl

An opinionated tool for downloading artifacts from Mozilla's CI ("Treeherder").
Apache License 2.0
0 stars 0 forks source link

Correctly use run ID for tasks #21

Closed ErichDonGubler closed 5 months ago

ErichDonGubler commented 10 months ago

When tasks are retried, they create another instance with the same task ID. These are distinguished by run ID. We can actually naively keep track of how many instances of each task we encounter, and use-then-increment the run ID to get correct results.