hashgraph / guardian

The Guardian is an innovative open-source platform that streamlines the creation, management, and verification of digital environmental assets. It leverages a customizable Policy Workflow Engine and Web3 technology to ensure transparent and fraud-proof operations, making it a key tool for transforming sustainability practices and carbon markets.
Apache License 2.0
105 stars 132 forks source link

Dry-run policy execution 'savepoints' - restart policy dry-run from the list of 'saved' places #2838

Open anvabr opened 1 year ago

anvabr commented 1 year ago

Problem description

In practice when developing a policy it is often rerun (in dry-run mode) to test latest changes. For realistic policies it can be time consuming as they tend to be quite lengthy and complex and thus require to remember and then re-execute all operations just to reach the point which is tested. It can be inconvenient and time consuming.

Note: this is different from #2559 which targets Guardian DR, i.e. its subject is published artefacts while this ticket aims to simplify dry-run (i.e. policy authoring) mode.

Requirements

Definition of done

Acceptance criteria

UX of policy authoring is improved by giving users ability to restart dry-run policy execution from the last savepoint.

dubgeis commented 2 months ago

@prernaadev01 Request from Bram to move this up to discuss in refinement for timing.