stryker-mutator / stryker-dashboard

See your mutation testing reports from anywhere 🚀
https://dashboard.stryker-mutator.io/
Apache License 2.0
23 stars 18 forks source link

Migrate `azure-storage` to `@azure/storage-blob` and `@azure/data-tables` #375

Open xandervedder opened 1 year ago

xandervedder commented 1 year ago
Please note: newer packages @azure/storage-blob, @azure/storage-queue and @azure/storage-file are available as of November 2019 and @azure/data-tables is available as of June 2021. 
While the legacy azure-storage package will continue to receive critical bug fixes, we strongly encourage you to upgrade. Migration guide can be found: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/MigrationGuide.md

source: https://www.npmjs.com/package/azure-storage


Also make sure that we can use dependency injection.

rouke-broersma commented 1 year ago

Should also see if we can set blob removal time once we use the new libraries

xandervedder commented 8 months ago

Migration guide can be found here: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/MigrationGuide.md.


And good news, it appears that we can set an expireOn for blobs: https://learn.microsoft.com/en-us/javascript/api/@azure/storage-blob/accesspolicy?view=azure-node-latest

I would propose something like 2-3 days to delete real-time blobs, these are short-lived and I hope a testrun is not longer than 3 days...

xandervedder commented 6 months ago

Cannot continue implementing until https://github.com/Azure/azure-sdk-for-js/issues/27813 is fixed.