Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug: Fixing step-over behaviour when exiting partial rules #7096

Conversation

johanfylling
Copy link
Contributor

@johanfylling johanfylling commented Oct 3, 2024

The step-over debug action would previously skip over any associated partial "sibling" rules if performed on the last statement of a partial rule. Now, step-over will break on any enter operation immediately preceded by an exit or fail operation; effectively breaking on every visited partial rule sharing a node in the rule-tree.

The step-over action would previously skip over any associated partial "sibling" rules if performed on the last statement of a partial rule.
Now, step-over will break on any `enter` operation immediately preceded by an `exit` or `fail` operation; effectively breaking on every visited partial rule sharing a node in the rule-tree.

Signed-off-by: Johan Fylling <[email protected]>
Signed-off-by: Johan Fylling <[email protected]>
@johanfylling johanfylling merged commit 61c551c into open-policy-agent:main Oct 4, 2024
28 checks passed
@johanfylling johanfylling deleted the debug/fix_partial-rule_step-over branch October 4, 2024 12:22
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.

2 participants