[feature] Rego debugger
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 346
- Forks
- 75
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 15
Description
According to Open Policy Agent/ecosystem/debugging_rego "Debugging Rego policies can be tricky". There is no way to step through the evaluation of a rego policy.
We need to implement a debugger for Rego policies. Since Rego does not have mutable variables, the debugger implementation ought to be much simpler than for a language with mutable variables.
Idea/Early implementation here: https://github.com/microsoft/regorus/compare/main...anakrish:regorus:debugger
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked early implementation in the regorus repository and the existing Rego evaluation flow. Determine how debugger controls such as stepping and pause points should fit that flow. Done means a Rego policy can be stepped through during evaluation with useful inspection of its progress.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100