Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Offer diagnostics APIs to expose further detail about deal proposal lifecycle #43

Open
masih opened this issue Aug 8, 2023 · 3 comments
Labels

Comments

@masih
Copy link
Member

masih commented Aug 8, 2023

Expose more information about deals that are either in the making or have been made in order to enable ISVs to investigate potential system issues. This is particularly useful for resolving issues related to out-of-bounds interaction between ISV and the SP.

@andrewferrone
Copy link

As a client, after posting a blob to Motion, I would want to know more about what's happening with my blob for the purposes of troubleshooting. Some ideas for statuses:
a) queued for preparation (in a local queue awaiting CAR file generation)
b) preparing (packing CAR file and calculating CommP)
c) queued for deal-making
c) making deals (at least one deal has been proposed - ideally response would include an array of the SPs to which deals have been sent and the status of the last deal proposed to each SP with a timestamp of when it was proposed, statuses may include pending acceptance, accepted with timestamp, transmitting with progress [timestamp started, bytes transmitted, bytes remaining], queued for sealing with timestamp, sealing with timestamp, sealed, failed [with reason])
d) complete (full number of replicas have been sealed and verified)

@xinaxu
Copy link
Collaborator

xinaxu commented Sep 12, 2023

It seems that for each boost proposal, we will need to query the boost SP and update the status in database.

Should this be done in Singularity (my preference), or should Singularity expose the Boost proposal IDs to motion.

@masih
Copy link
Member Author

masih commented Sep 12, 2023

I agree that it should be done in singularity

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Status: No status
Development

No branches or pull requests

3 participants