Maintainerr icon indicating copy to clipboard operation
Maintainerr copied to clipboard

Add per-rule group execution and UI controls

Open jcputney opened this issue 2 months ago • 1 comments

Description

Introduces API and backend logic to execute individual rule groups, including endpoint, service changes, and tests. Adds a RunButton component and integrates execution controls into the RuleGroup UI, allowing users to trigger execution for specific rule groups and view execution status.

Checklist

  • [x] I have read the CONTRIBUTING.md document.
  • [x] I have performed a self-review of my code.
  • [x] I have linted and formatted my code.
  • [x] My changes generate no new warnings.
  • [x] New and existing unit tests pass locally with my changes.

How to test

  1. Create a Rule
  2. Go to the Rules page
  3. You should see a new Run button next to the Edit button

Additional context

After clicking the Run button on a Rule, all other Run buttons are disabled while the Rule is executing.

image

jcputney avatar Sep 29 '25 19:09 jcputney

I have just started looking into the PR, but I noticed the CSS needs to be tweaked on the Run button.

image image

Was it intended to not respect the active or inactive status of a rule?

ydkmlt84 avatar Oct 24 '25 05:10 ydkmlt84

Closing this as the rule executor was rewritten in #2148 and this functionality has been delivered in #2173.

benscobie avatar Dec 12 '25 22:12 benscobie