Johan Fylling

Results 47 issues of Johan Fylling

Add debugger interface to the SDK that 3rd party applications can use for creating and managing debugging sessions of topdown. The interface should take inspiration from the [Debug Adapter Protocol](https://microsoft.github.io/debug-adapter-protocol/),...

feature-request
inactive
debugging

Implements: #4147 Based on PoC by @ashutosh-narkar

The tests for the inter-query cache in `topdown/cache/cache_test.go` has intermittent, failing tests. E.g.: https://github.com/open-policy-agent/opa/actions/runs/10618059480/job/29432842474?pr=6977#step:6:175 This could be indicative of an issue in the cache itself; or it could be a...

bug
inactive

The `io.jwt.*` built-ins' cryptographic elements are implemented through `internal/jwx`. This is a modified interning of [lestrrat-go/jwx](https://github.com/lestrrat-go/jwx). Since interning, this project has seen multiple updates (among others, support for `EdDSA`) that...

feature-request

Conditional behavior can already be expressed in Rego through how statements are organized into complete rules. Adding conditional operators like `and`/`&&` and `or`/`||` both allows for more condensed code, but...

design
feature-request
inactive

This is a parent issue for collecting issues improving library usability in OPA. In this context, a library is a collection of Rego that can be shared across multiple projects,...

feature-request
inactive

This issue collects type-checker issues and feature requests. Instead of solving all sub-issues individually, we should investigate if a zoomed-out approach (possibly entailing a design change) can solve several of...

feature-request

During non-shallow PE, whether a default rule will be added to generated support module(s) is optimized based upon if its return value is compared/unified with a constant value. Because of...

feature-request
inactive

If a named inter-query built-in cache has a default configuration registered through [RegisterDefaultInterQueryBuiltinValueCacheConfig()](https://github.com/open-policy-agent/opa/blob/bd5ceb514234f2d0a625dff532abe2167f9d824e/v1/topdown/cache/cache.go#L36), that named cache can't be disabled through configuration. Setting it's `max_num_entries` config option to `0`, will make...

feature-request

Today, the debugger can **launch** an eval session that creates and evaluates a query, internally attaching to it through a debug tracer. As part of query result output, OPA can...

feature-request
inactive
debugging