Skip to content

server: wire in response/request metadata for compile handler#8650

Merged
srenatus merged 2 commits into
open-policy-agent:mainfrom
srenatus:sr/yqqpolqqrprp
May 21, 2026
Merged

server: wire in response/request metadata for compile handler#8650
srenatus merged 2 commits into
open-policy-agent:mainfrom
srenatus:sr/yqqpolqqrprp

Conversation

@srenatus
Copy link
Copy Markdown
Contributor

Follow-up to #8570 for compiling filters.

@srenatus srenatus marked this pull request as ready for review May 13, 2026 06:55
srenatus added 2 commits May 19, 2026 08:55
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
This is less brittle, and less duplication, than before. We're reading
out the known fields from struct tags ONCE on init() for each of the
types we want to use like this.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
@srenatus srenatus merged commit 53d981c into open-policy-agent:main May 21, 2026
40 checks passed
@srenatus srenatus deleted the sr/yqqpolqqrprp branch May 21, 2026 06:25
@github-actions
Copy link
Copy Markdown

Benchmark Regression Detected

Commit 53d981c70f4acf87abc7935785d5d3e0ee6099ae introduced benchmark regressions (threshold: >25% ns/op increase).

Package Benchmark Regression
v1/storage/internal/ptr BenchmarkValuePtr/4_interned_terms-4 +31%

Notable Improvements 🎉

Commit 53d981c70f4acf87abc7935785d5d3e0ee6099ae delivered big speedups (>35% ns/op decrease). Nice work!

Package Benchmark Improvement
v1/ast BenchmarkFromBuiltinNames/two_parts-4 -47%

Benchmarks Dashboard

This comment was automatically generated by the benchmarks workflow.

@srenatus
Copy link
Copy Markdown
Contributor Author

OK these are both 100% unrelated to the change. 🎉 😭

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