Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

feat: cron track deal #20

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feat: cron track deal #20

wants to merge 1 commit into from

Conversation

vasco-santos
Copy link
Contributor

@vasco-santos vasco-santos commented Sep 29, 2023

Adds CRON stack to dealer. It is divided into 2 steps:

  1. CRON Job that tracks filecoin deals for OFFERED, mutating stat when we have one
  2. DynamoDB Stream from stat mutation of OFFERED to ACCEPTED/REJECTED, triggering aggregate/accept

The 2 steps is important because it allows us two perform to "write" ops decoupled avoiding a partial failure. The DynamoDB Stream will guarantee retries.

  • needs new filecoin-api + filecoin-client
  • queue filecoin/deal
  • integration tests - maybe after given no Deal Tracker

@seed-deploy seed-deploy bot temporarily deployed to pr20 September 29, 2023 13:35 Inactive
@seed-deploy
Copy link

seed-deploy bot commented Sep 29, 2023

View stack outputs

@seed-deploy seed-deploy bot temporarily deployed to pr20 September 29, 2023 15:44 Inactive
@seed-deploy seed-deploy bot temporarily deployed to pr20 September 29, 2023 16:12 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant