Urgent.News

What's breaking now, across thousands of outlets.

Tech

When OPA's Bundle Loader Runs Past a `.manifest` Typo

In bundle mode, a one-character .manifest key typo ( rego_verison for rego_version ) draws no diagnostic that names the key; the failure can surface as rego_parse_error pointing at your .rego — OPA v1.20.1 When It Runs — Run Report #RR03 · Testing what infrastructure actually does. Provider · Component: OPA (Open Policy Agent) · bundle .manifest loading — unknown top-level keys and rego_version…

When the OPA bundle loader encounters a typo in the `.manifest` key, such as `rego_verison` instead of the correct `rego_version`, it fails to generate a diagnostic specifically naming the key. This can lead to the failure manifesting as a `rego_parse_error: if` keyword is required before rule body, with the error pointer directed at the `.rego` source file.

However, if the mistyped key is present in the sibling `config.yaml` file, an explicit warning about an unknown configuration option has been displayed since version 1.19.0 of OPA.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Meta’s Muse Logomark, Designed by Jessica Hische

Bill McCool, writing at Dieline: This past Wednesday, lettering artist, designer, and author Jessica Hische took to Threads to announce that she had worked alongside Meta’s team to create the icon and…

  • Jessica Hische collaborated with Meta team to design Muse logomark
  • Hische received both support and backlash for working with Meta
  • Muse mark cleverly combines letter M without appearing conventional

More from Tuesday 22 September →