Files
releases/internal
Sebastian Spaink 31065f123e cmd/check: report wrapped structured errors individually (#8912)
Fixes #3663 

In JSON mode, `opa check -b` collapsed all compilation errors into one
opaque string, unlike non-bundle mode which lists each with its code and
location. The bundle loader wraps errors as `fmt.Errorf("bundle %s: %w",
...)`, and NewOutputErrors default case stringified the wrapper instead
of the structured ast.Errors inside it.

The default case now unwraps and recurses, keeping the wrapper's message
only when unwrapping reveals nothing structured.

Signed-off-by: Sebastian Spaink <sebastianspaink@gmail.com>
2026-07-20 14:58:34 -05:00
..
2026-06-26 08:06:36 +00:00
2025-06-23 11:40:00 +02:00
2026-06-10 11:01:21 +02:00
2026-06-10 11:01:21 +02:00
2026-03-06 22:07:35 +00:00