Skip to content

Defer removing tmpdir #10614

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ykadowak
Copy link
Contributor

@ykadowak ykadowak commented Dec 26, 2022

Partially addresses #10564.

In the discussion on the issue, I believe majority agreed to defer the removal of temporary directories. Therefor, this PR has been implemented that way. If there needs to be more discussions, we can do it in the thread of this PR I think.

Also, I am planning to make another PR after this based on #10546 for the following reasons.

  1. As I mentioned here, a lot of test cases need to be removed because of this PR's change, which is not ideal for the maintainability.
  2. By separating Stop using atexit and add integration tests for tmpdir fixture #10546, we can easily revert the commit and rollback to this PR if some regression happens.

CC: @The-Compiler @RonnyPfannschmidt @nicoddemus

@ykadowak ykadowak changed the title Defer removing tmpdir Defer removing tmpdir Jan 1, 2023
@ykadowak
Copy link
Contributor Author

Can this PR be reviewed?
The situation of the issue is being incomplete right now.

Please leave any questions if something is not clear.

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.

1 participant