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

refactor!: revert {task_workdir} interpolation in run-task environment #648

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

ahal
Copy link
Collaborator

@ahal ahal commented Feb 18, 2025

In hindsight, this ended up being a bad idea and caused lots of subtle issues in Gecko. As an alternative, I landed a change to get generic-worker itself to set $TASK_WORKDIR.

This will take awhile to propagate to all pools, but in the meantime it's cleanest to revert back to the abspath method.

@ahal ahal self-assigned this Feb 18, 2025
@ahal ahal force-pushed the ahal/push-ywwpyuxpsylo branch from b76bd5e to bee1612 Compare February 18, 2025 19:12
In hindsight, this ended up being a bad idea and caused lots of subtle
issues in Gecko. As an alternative, I landed a change to get
generic-worker itself to set $TASK_WORKDIR.

This will take awhile to propagate to all pools, but in the meantime
it's cleanest to revert back to the abspath method.
@ahal ahal force-pushed the ahal/push-ywwpyuxpsylo branch from bee1612 to fd28d02 Compare February 18, 2025 19:21
@ahal
Copy link
Collaborator Author

ahal commented Feb 18, 2025

Tested here:
https://treeherder.mozilla.org/jobs?repo=try&revision=e0091a203323d8df628b16b97604e3a94e138851

I see it working with both docker-worker and Windows generic-worker tasks.

@ahal ahal merged commit c49b05d into taskcluster:main Feb 18, 2025
16 checks passed
@ahal ahal deleted the ahal/push-ywwpyuxpsylo branch February 18, 2025 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants