storacha / w3infra

🏗️ Infra for the w3up UCAN protocol implementation
Other
17 stars 7 forks source link

fix: remove customer attribute from space diff record #439

Closed fforbeck closed 1 day ago

fforbeck commented 1 day ago

Context This PR removes the customer attribute introduced two days ago in the space diff record. It doesn't need this attribute, and the table doesn't support it, which could cause a failure when we attempt to encode/decode the object. It also adds some additional logs to help with debugging.

There is an error in Sentry that may be related to this change. The reason behind that is unclear, so this is an attempt to narrow down the search space and debug.

Sentry image

Lambda Logs image

seed-deploy[bot] commented 1 day ago
View stack outputs - **pr439-w3infra-BillingDbStack** Name | Value -- | -- customerTableName | pr439-w3infra-customer egressTrafficTableName | pr439-w3infra-egress-traffic spaceDiffTableName | pr439-w3infra-space-diff spaceSnapshotTableName | pr439-w3infra-space-snapshot usageTable | pr439-w3infra-usage - **pr439-w3infra-BillingStack** Name | Value -- | -- ApiEndpoint | https://mjql77rav1.execute-api.us-east-2.amazonaws.com billingCronHandlerURL | https://djrnuoi6am3dfg7lbossahb2vq0owmvm.lambda-url.us-east-2.on.aws/ CustomDomain | https://pr439.billing.web3.storage EgressTrafficQueueURL | https://sqs.us-east-2.amazonaws.com/505595374361/pr439-w3infra-egress-traffic-queue - **pr439-w3infra-CarparkStack** Name | Value -- | -- BucketName | carpark-pr439-0 Region | us-east-2 - **pr439-w3infra-PSAStack** Name | Value -- | -- downloadFunctionURL | https://zlkse7b6burvfmzls32bn4ojpe0plzkp.lambda-url.us-east-2.on.aws/ hashFunctionURL | https://pl4nqkhbmjsnumliukjhb2lrmq0ajtmf.lambda-url.us-east-2.on.aws/ - **pr439-w3infra-RoundaboutStack** Name | Value -- | -- ApiEndpoint | https://rlw44ba6hk.execute-api.us-east-2.amazonaws.com CustomDomain | https://pr439.roundabout.web3.storage - **pr439-w3infra-UcanInvocationStack** Name | Value -- | -- invocationBucketName | invocation-store-pr439-0 taskBucketName | task-store-pr439-0 workflowBucketName | workflow-store-pr439-0 - **pr439-w3infra-UploadApiStack** Name | Value -- | -- ApiEndpoints | ["https://ahcormiddi.execute-api.us-east-2.amazonaws.com","https://i9d1ffk6fj.execute-api.us-east-2.amazonaws.com"] CustomDomains | ["https://pr439.up.web3.storage","https://pr439.up.storacha.network"] - **pr439-w3infra-BusStack** - **pr439-w3infra-FilecoinStack** - **pr439-w3infra-IndexerStack** - **pr439-w3infra-ReplicatorStack** - **pr439-w3infra-UcanFirehoseStack** - **pr439-w3infra-UploadDbStack**