-
Notifications
You must be signed in to change notification settings - Fork 229
Description
Description
dart run rive_native:setup --verbose --clean --platform macos
In our team we're using this script at CI level to enable golden tests to run properly. The issue happens when the same runner gets multiple setups running at once.
Reading the script I notice that when downloading the required files it uses $TMPDIR to temporarily store the .zip file. When concurrent CI Jobs are running and downloading the same file they start all altering the same zip file which corrupts the file or deletes the file that another Job has downloaded.
We put a quick solution by copying and just changing to a folder a 'unique' folder per JOB since the file is ultimately deleted.
Steps To Reproduce
Steps to reproduce the behavior:
- Run multiple instances of the script concurrently
Expected behavior
Scripts run concurrently should not interfere with each other.
Versions
rive: 0.14.2
flutter: 3.38.9