Skip to content

Add trusted run feature - #42

Merged
bennekrouf merged 1 commit into
mainfrom
feat/trusted-run
Sep 2, 2026
Merged

Add trusted run feature#42
bennekrouf merged 1 commit into
mainfrom
feat/trusted-run

Conversation

@bennekrouf

Copy link
Copy Markdown
Owner

What changed

  • Added a trusted run feature that automatically approves steps in a workflow, stopping at any step that requires manual intervention.
  • Updated the CSS to include styles for the trusted run button and the approval held message.
  • Modified the detail pane to display why a trusted run stopped at a particular node.
  • Updated the workspace screen to include a trusted run button and handle the logic for trusted runs.
  • Added a new service trusted.rs to handle the decision-making logic for trusted runs.
  • Added a new service testsuite.rs to detect the test command for a project.
  • Updated the flow definition to include a new step for running tests.
  • Updated the graph service to include a new step type for running tests.

Why

The trusted run feature allows users to automate the approval process for workflows, reducing manual intervention and speeding up the development process. This is particularly useful for workflows with many steps that are safe to automate.

How to test

  1. Open the Workspace screen.
  2. Start a new run with the trusted run button.
  3. Observe that the run automatically approves steps that do not require manual intervention.
  4. Observe that the run stops at steps that require manual intervention, and the reason for stopping is displayed on the node.
  5. Verify that the trusted run button changes to a stop button when a trusted run is in progress, and clicking it stops the trusted run.
  6. Verify that the trusted run feature does not affect the state of the run or the repository if the trusted run is stopped manually.

Adds a trusted run feature that automatically approves steps in a workflow, with specific rules for handling merge steps.
@bennekrouf
bennekrouf merged commit 1f1f42b into main Sep 2, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant