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

Chore/remove temp dir #3211

Merged
merged 5 commits into from
Mar 9, 2023
Merged

Chore/remove temp dir #3211

merged 5 commits into from
Mar 9, 2023

Conversation

wjuan-mob
Copy link
Contributor

This is removing references to tempdir and replacing with tempfile.
All the changes are in test code or in things like test_utils.
This is a creation of #3209 not on an external fork to resolve an issue with CI.

Motivation

Tempdir is deprecated. And it is needed in order to mitigate a vulnerability in a dependency in tempdir on remove_dir_all: https://rustsec.org/advisories/RUSTSEC-2023-0018

Future Work

There will likely need to be a follow up pr to address the use of slog-gelf which also has a dependency on tempdir.

Soundtrack of this PR

Copy link
Contributor

@eranrund eranrund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once CI is green

@wjuan-mob wjuan-mob marked this pull request as ready for review March 9, 2023 18:02
@wjuan-mob wjuan-mob merged commit ef9f1b3 into release/v4.1 Mar 9, 2023
@wjuan-mob wjuan-mob deleted the chore/remove-temp-dir branch March 9, 2023 18:02
This was referenced Apr 18, 2023
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.

3 participants