Skip to content

OPA v1.19.0 - #2070

Merged
charlieegan3 merged 1 commit into
open-policy-agent:mainfrom
anderseknert:opa-v1.19.0
Aug 11, 2026
Merged

charlieegan3 merged 1 commit into
open-policy-agent:mainfrom
anderseknert:opa-v1.19.0

Conversation

@anderseknert

Copy link
Copy Markdown
Member
  • Replace deprecated test.WithTempFS with test.TempDir. And adapt to the fact this doesn't write files with no content. Perhaps it should... 🤔
  • Adapt tests to change in OPA which has location stripped from schema refs found in annotations
  • Try using strings.split_n in many places, but this often results in cache misses compared to split as we use it extensively
  • Use util.Atoi now provided by OPA

Thanks @charlieegan3 for the pointer / work on Go 1.27 support!

- Replace deprecated `test.WithTempFS` with `test.TempDir`.
  And adapt to the fact this doesn't write files with no content.
  Perhaps it should... 🤔
- Adapt tests to change in OPA which has location stripped from
  schema refs found in annotations
- Try using `strings.split_n` in many places, but this often results
  in cache misses compared to `split` as we use it extensively
- Use `util.Atoi` now provided by OPA

Signed-off-by: Anders Eknert <anders.eknert@apple.com>
Co-authored-by: Charlie Egan <charlie_egan@apple.com>
@charlieegan3

Copy link
Copy Markdown
Contributor

Replaces #2066

@charlieegan3

Copy link
Copy Markdown
Contributor

Perhaps it should... 🤔

Yeah, I feel like there are cases, e.g. an empty regal config file or input.json that might be nice to have tests for.

@charlieegan3
charlieegan3 added this pull request to the merge queue Aug 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 11, 2026
@charlieegan3
charlieegan3 merged commit e9ce4a5 into open-policy-agent:main Aug 11, 2026
6 checks passed
@anderseknert
anderseknert deleted the opa-v1.19.0 branch August 11, 2026 17:45
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