Fixing s3 client instantiations in queue.go and checkpoints.go. In this PR, I removed all the cyclic imports and introduced an optional bool input parameter to the NewS3Client() method in s3.go. so we manage the presigned URL properly for checkpoints alone, while leaving it undisturbed in every other instances.
Note: In addition to these, the fileHash column in files table is now an optional column. It is only populated for user uploaded files and models. Not for experiment generated files, as we don't require a hash for these output files.
What type of PR is this?
Description
Fixing s3 client instantiations in queue.go and checkpoints.go. In this PR, I removed all the cyclic imports and introduced an optional bool input parameter to the NewS3Client() method in s3.go. so we manage the presigned URL properly for checkpoints alone, while leaving it undisturbed in every other instances.
Note: In addition to these, the fileHash column in files table is now an optional column. It is only populated for user uploaded files and models. Not for experiment generated files, as we don't require a hash for these output files.
A successful experiment page: https://test-app.lab.bio/experiments/21![image](https://github.com/user-attachments/assets/5131f878-0e00-4e90-a5be-d9773e538b9f)
Steps to Test
A successful test should show downloadable output files in the RAW FILES tab and checkpoints in the molstar viewer.