Latest from develop #10

Merged
niat8586 merged 2 commits from develop into main 2025-02-04 08:04:24 +01:00

2 Commits

Author SHA1 Message Date
8430f36f50 Merge pull request 'Ensure clean up of uploaded file if job fails.' (#9) from failed-job-cleanup into develop
Reviewed-on: #9
2025-02-04 06:43:13 +01:00
cced346d3b Ensured clean up of uploaded file if job fails.
Previously if a job failed and it's status was set to `JobStatus.FAILED` the uploaded
file was never removed. Which was the intended design. This was an omission.

Now if the job is set to FAILED, the uploaded file will be removed correctly.
This is to ensure that uploaded files do not persist in perpetuity on the file system.

FileMetadata will still be available in the DB (B.N. not the actual file).
2025-02-04 06:39:07 +01:00