Comments (3)
Thanks for reporting this 👍 I haven't looked into it, but it sounds somewhat related to #6529 ... at least in how they both relate to a different compilation mode messing with metadata annotations. Have you had a chance to look at the files in the bundle?
from opa.
Here you go:
Bundle contents
manifest.json
{
"revision": "",
"roots": [
"main",
"meta",
"some_data"
],
"wasm": [
{
"entrypoint": "main/zone_alias",
"module": "/policy.wasm",
"annotations": [
{
"entrypoint": true,
"related_resources": [
{
"description": "Some description",
"ref": "https://google.com"
}
],
"scope": "rule"
}
]
},
{
"entrypoint": "meta/foo",
"module": "/policy.wasm",
"annotations": [
{
"entrypoint": true,
"scope": "rule"
}
]
}
]
}
bundle/main.rego
package main
import data.main.zone_alias
import data.meta.foo
from opa.
Ah, thanks! No, this looks like a different issue then, as the metadata annotation is in the manifest. And hopefully easier to resolve 🙂
from opa.
Related Issues (20)
- Allow `not every` HOT 5
- Using non-collections with `every` should fail
- User defined headers are dropped with aws.sign_req HOT 5
- Formatter rewrites quoted reference containing keyword to non-quoted one which fails to parse HOT 1
- OPA test - fails to identify the keyword present in policy name and still passes all the tests without failing HOT 6
- OAuth2ClientCredentialsAuthPlugin: fatal error: concurrent map writes HOT 2
- zinc.systems has adopted OPA HOT 2
- Update our wasmtime
- AST: `text` element in location for annotations just says `#METADATA`
- Strange null results for multi-expression-query in case of `false` HOT 4
- docs: Missing monitoring metric `go_memstats_gc_cpu_fraction`
- regression: coverage change from 0.63.0+ HOT 3
- WithPartialEval losses r.Runtime HOT 1
- OPA panics in nested use of `every` HOT 3
- wasm: entrypoints for rules with "/" in their package parts are broken
- OPA high latency - potential cause: bad memory allocations HOT 1
- Add annotation to AST package node HOT 1
- Not clear why metadata attribute `entrypoint` requires `scope: rule` HOT 1
- Allow `opa inspect` to inspect a single file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opa.