minder icon indicating copy to clipboard operation
minder copied to clipboard

Add REGO debugger to Mindev.

Open blkt opened this issue 1 year ago • 4 comments

Summary

This change adds the possibility to start evaluate a REGO-based rule type in a debugger.

The debugger allows setting breakpoints, stepping, printing source, and a few other simple utilities.

The debugger is currently very, very, VERY rough around the edges and could use some love, especially in the reception of events from the debuggee, which is done inline and not asynchronously.

Change Type

  • [ ] Bug fix (resolves an issue without affecting existing features)
  • [X] Feature (adds new functionality without breaking changes)
  • [ ] Breaking change (may impact existing functionalities or require documentation updates)
  • [ ] Documentation (updates or additions to documentation)
  • [X] Refactoring or test improvements (no bug fixes or new functionality)

Testing

Mostly untested, hic sunt dracones.

Review Checklist:

  • [ ] Reviewed my own code for quality and clarity.
  • [ ] Added comments to complex or tricky code sections.
  • [ ] Updated any affected documentation.
  • [ ] Included tests that validate the fix or feature.
  • [ ] Checked that related changes are merged.

blkt avatar Dec 19 '24 22:12 blkt

Coverage Status

coverage: 54.746% (-1.1%) from 55.872% when pulling 1d0fe2c181e30f09335a21e893ab6bc026c0b9fc on feat/rego-debugger-awesomeness into 1e6fe636b70c6f87c264dc80dc4d53372dd9d967 on main.

coveralls avatar Jan 08 '25 09:01 coveralls

This PR needs additional information before we can continue. It is now marked as stale because it has been open for 30 days with no activity. Please provide the necessary details to continue or it will be closed in 30 days.

github-actions[bot] avatar Feb 08 '25 02:02 github-actions[bot]

This PR needs additional information before we can continue. It is now marked as stale because it has been open for 30 days with no activity. Please provide the necessary details to continue or it will be closed in 30 days.

github-actions[bot] avatar Apr 11 '25 02:04 github-actions[bot]

This PR needs additional information before we can continue. It is now marked as stale because it has been open for 30 days with no activity. Please provide the necessary details to continue or it will be closed in 30 days.

github-actions[bot] avatar May 12 '25 02:05 github-actions[bot]