storacha-network / project-tracking

🐾 Used as central/default repo for project management, backlog, etc.
0 stars 0 forks source link

w3infra integration tests for blob #72

Closed vasco-santos closed 1 month ago

vasco-santos commented 2 months ago

What

w3infra repo manages all the deployed infrastructure for w3up protocols. It includes environments for Production, Staging, and each PR in open state. w3infra has integration tests that run on deployed environments (except prod) to provide us an extra layer of safety while deploying to prod. This includes end to end tests that explore main flows from creating accounts, uploading files, reading files and checking filecoin pipeline kicks in. Blob protocol MUST be included in these tests and make sure it works well with remaining flows.

Why

While we have all our underlying API components well tested, it is critical to test that they work well together and there are nogaps. This already saved us multiple times of bad deploys into production due to bugs, or not well configured Environment variables or resource permissions on AWS.

It should also be extended with the client + reads as they are available to get us to a place of full confidence on releases.

Cost

This has more dependencies on having client and reads interfaces prepared than actual complexity given we already set up all the testing pipeline in the past. A couple of days once we have everything in place should be enough to have this ready

Gozala commented 2 months ago

I think we need to land all the other pieces before we can do the integration test, namely all the client work needs to land so we could use it to perform the integration test.

alanshaw commented 1 month ago

Completed in https://github.com/w3s-project/w3infra/pull/369