Skip to content

optimized bundles: filter metadata comments properly#8388

Open
srenatus wants to merge 2 commits intoopen-policy-agent:mainfrom
srenatus:sr/issue-6529
Open

optimized bundles: filter metadata comments properly#8388
srenatus wants to merge 2 commits intoopen-policy-agent:mainfrom
srenatus:sr/issue-6529

Conversation

@srenatus
Copy link
Contributor

@srenatus srenatus commented Feb 27, 2026

Fixes #6529. 🤞

@netlify
Copy link

netlify bot commented Feb 27, 2026

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit 15eec41
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/69aa6901c1ceab0008301f85
😎 Deploy Preview https://deploy-preview-8388--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@srenatus srenatus changed the title Sr/issue 6529 optimized bundles: filter metadata comments properly Feb 27, 2026
@srenatus srenatus force-pushed the sr/issue-6529 branch 5 times, most recently from 2bcfd29 to 3bf1bd9 Compare March 3, 2026 14:34
@srenatus srenatus marked this pull request as ready for review March 3, 2026 14:44
Copy link
Member

@sspaink sspaink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice fix!

srenatus added 2 commits March 6, 2026 06:41
- prune annotations first, then rules
- keep unpruned rule's metadata

Fixes open-policy-agent#6529.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
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.

Building bundle with optimization breaks metadata annotation parsing

2 participants