Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: Wait for tasks depending on sourcemaps before deleting #557

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

lforst
Copy link
Member

@lforst lforst commented Jun 24, 2024

Fixes #556

I introduced a dumb bug where we would delete sourcemaps before they have been uploaded due to a race condition.

This PR introduces a sort-of dependency tracking mechanism where we only initiate the file deletions after all the functionalities depending on the files have been completed.

@lforst lforst marked this pull request as ready for review June 25, 2024 08:23
@lforst lforst merged commit 75ca15e into main Jun 25, 2024
16 checks passed
@lforst lforst deleted the lforst-delete-order branch June 25, 2024 09:26
This was referenced Sep 21, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

filesToDeleteAfterUpload is deleting files before upload in latest versions
2 participants