-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Milestone
Description
Done Criteria
There is documentation or an example of how a user defines a foc-localnet and then hooks it up to Synapse so they they can do adhoc testing, automated testing, etc.
Old Done Criteria
Note: this done criteria assumed a solution/implementation too much. The spirit of this issue is about showing a developer how they can hook foc-localnet into their workflow of testing / validating FOC through Synapse.
- There is a clear extension mechanism for adding new “scenarios” on top of the running DevNet, e.g.:
- Scripts/commands that can be added under a
scenarios/directory. - Or a pluggable runner that can invoke multiple flows.
- Scripts/commands that can be added under a
- At least two additional flows beyond the basic deal+retrieval are implemented, e.g.:
- Filecoin Pin “add” followed by retrieval.
- A basic settlement / payment-related flow (or another high-value path).
- Scenarios can be:
- Run after the DevNet is up, via a single command per scenario or a scenario selector.
- Documentation:
- How to add a new scenario (step-by-step, including where to put code/config).
- How to run each included scenario.
Why Important
- Moves foc-localnet from a single happy-path demo to a general-purpose test harness.
- Enables targeted regression tests for critical workflows (pinning, settlements, etc.).
User/Customer
- Primary: Engineers using FOC stack features beyond the core deal path.
- Secondary: Product/solutions engineers (e.g., Path) needing reproducible flows for demos/validation.
Notes
- Start with very lightweight scenario scaffolding.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
🐱 Todo