upload-cloud-storage
upload-cloud-storage copied to clipboard
Clean up temporary files for resumable uploads
TL;DR
For each file, we create a resumable metadata file on disk for the client library. However, we never clean up that file. On managed runners, it's fine because the filesystem is destroyed. But for self-hosted runners, we leak these files over time.
High-level design
- Create all files in subdirectory dedicated to the workflow number
- Create
poststep that deletes the directory when the job has finished
Expected behavior
Don't leak the files.
Observed behavior
No response
Action YAML
not: applicable
Log output
No response
Additional information
No response