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 documentation says that a single term package is valid and policy packaging without an optimization flag completes successfully. If there is a constraint on the package, it would be nice to return an error.
❯ opa version
Version: 1.0.0
Build Commit:
Build Timestamp:
Build Hostname:
Go Version: go1.23.4
Platform: darwin/arm64
Rego Version: v1
IMO, outputting an error (but not a panic) is better than silently outputting a broken bundle. Better, of course, is to make OPA not rearrange the package into an illegal path.
Speculation: this looks to be a side effect of optimization being able to reduce everything inside the entrypoint to a single ground value.
Short description
The documentation says that a single term package is valid and policy packaging without an optimization flag completes successfully. If there is a constraint on the package, it would be nice to return an error.
Steps To Reproduce
The text was updated successfully, but these errors were encountered: