Skip to content

Conversation

@dnechay
Copy link
Collaborator

@dnechay dnechay commented Nov 13, 2024

Issue tracking

Resolves #2719

Context behind the change

Storage module in SDK is going to be deprecated, so we get rid of it here. At the same time existing storage utils have a bug in working with binaries: when doing copyFileFromURLToBucket it's being downloaded as string instead of binary (which is expected to be a .zip) and it leads to file in invalid format being copied; this PR also fixed that.

How has this been tested?

  • unit tests
  • e2e using Minio: create fake route handler to call copyFileFromURLToBucket for some encrypted .zip file and make sure it's copied to proper bucket;
  • get copied file, decrypt it using JL private key, make sure that result is valid .zip file that can opened

Release plan

Merge & deploy as is.
Only open question is if we need to fix some files that already uploaded as string instead of zip?!

Potential risks; What to monitor; Rollback plan

Can't think of any

@vercel
Copy link

vercel bot commented Nov 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
human-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 19, 2024 3:47pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
faucet-frontend ⬜️ Ignored (Inspect) Visit Preview Nov 19, 2024 3:47pm
faucet-server ⬜️ Ignored (Inspect) Visit Preview Nov 19, 2024 3:47pm
human-dashboard-frontend ⬜️ Skipped (Inspect) Nov 19, 2024 3:47pm

@Dzeranov Dzeranov requested a review from portuu3 November 14, 2024 13:58
@vercel vercel bot temporarily deployed to Preview – human-dashboard-frontend November 18, 2024 10:55 Inactive
@dnechay dnechay changed the title feat: get rid of sdk's storage module [Reputation Oracle] feat: get rid of sdk's storage module Nov 18, 2024
@vercel vercel bot temporarily deployed to Preview – human-dashboard-frontend November 18, 2024 16:42 Inactive
@dnechay dnechay merged commit 64e14ab into develop Nov 19, 2024
18 checks passed
@dnechay dnechay deleted the dnechay/2719 branch November 19, 2024 15:51
@dnechay dnechay self-assigned this Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Reputation Oracle] Get rid of StorageModule

3 participants