Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SPMI: Fix accumulation of repro files (#91194)
The existing logic to create repro .mc files would ask superpmi to place them into a temporary directory, then copy the .mc files to the final directory. However, when multiple .mch files are being replayed, this means that we continuously accumulate more and more .mc files into the temporary directory which are then copied to the final directory for each .mch file being replayed. Switch shutil.copy2 to shutil.move to empty the directory between each replay.
- Loading branch information