You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The planner is panicking on certain policies containing with keywords. I don't have a minimal test case that reproduces the issue however running opa build -t wasm constraints.rego template.rego -e hooks/target/violation inside of https://github.com/tsandall/template-benchmark does the trick:
There was an issue with iterating over virtual docs when planning
an expression that had `with` keywords. The iterator would potentially
be called multiple times, so the "with" values needed to be pushed
and popped accordingly. This essentially copies the pattern used in
the topdown eval flow.
Fixes: open-policy-agent#2601
Signed-off-by: Patrick East <east.patrick@gmail.com>
There was an issue with iterating over virtual docs when planning
an expression that had `with` keywords. The iterator would potentially
be called multiple times, so the "with" values needed to be pushed
and popped accordingly. This essentially copies the pattern used in
the topdown eval flow.
Fixes: #2601
Signed-off-by: Patrick East <east.patrick@gmail.com>
The planner is panicking on certain policies containing
with
keywords. I don't have a minimal test case that reproduces the issue however runningopa build -t wasm constraints.rego template.rego -e hooks/target/violation
inside of https://github.com/tsandall/template-benchmark does the trick:The text was updated successfully, but these errors were encountered: