Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING CHANGE: add task ID segment to local artifact path #27

Merged
merged 3 commits into from
Jun 14, 2024

Conversation

ErichDonGubler
Copy link
Collaborator

With 1.0.2/#21, I accidentally swapped the index of "identical" tasks with a run ID, but removed a distinguishing path segment between different tasks. The result is that treeherder-dl invocations would overwrite artifacts when there was more than a single task based on the same job. Oops! 😳

I don't think a counter-as-an-ID is as useful as the task ID itself. This will significantly lengthen the output path for artifacts, but I think it's the best option.

We cannot avoid a breaking change here; #21 should have been a breaking change, in retrospect, if we had done it correctly.

@ErichDonGubler ErichDonGubler added bug Something isn't working breaking labels Jun 14, 2024
@ErichDonGubler ErichDonGubler self-assigned this Jun 14, 2024
@ErichDonGubler ErichDonGubler enabled auto-merge June 14, 2024 13:43
@ErichDonGubler ErichDonGubler merged commit d142577 into main Jun 14, 2024
8 checks passed
@ErichDonGubler ErichDonGubler deleted the task-id-path-segment branch June 14, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant