Skip to content

feat(dir): add CEL validator - #2224

Merged
csirmazbendeguz merged 1 commit into
mainfrom
feat/cel-validatosr
Sep 30, 2026
Merged

csirmazbendeguz merged 1 commit into
mainfrom
feat/cel-validatosr

Conversation

@csirmazbendeguz

@csirmazbendeguz csirmazbendeguz commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

#2157

This PR adds the following validators:

 - provider: cel
   op: ["push"]
   config:
     expressions:
       - record.name != ""
       - record.version != ""

This is related to the OPA validators issue. CEL is similar to OPA but simpler

@github-actions github-actions Bot added the size/M Denotes a PR that changes 200-999 lines label Sep 29, 2026
@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped⏩ skipped✅ passedSep 30, 2026, 12:22 PM

@csirmazbendeguz
csirmazbendeguz marked this pull request as ready for review September 29, 2026 17:22
@csirmazbendeguz
csirmazbendeguz requested a review from a team as a code owner September 29, 2026 17:22
@codecov

codecov Bot commented Sep 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.37209% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
server/validators/cel.go 86.0% 6 Missing ⚠️
server/validators/config/config.go 92.3% 3 Missing ⚠️
server/validators/registry.go 75.0% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@tkircsi tkircsi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@lgecse lgecse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Clean PR, thanks @csirmazbendeguz !

@ramizpolic ramizpolic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Bendegúz Csirmaz <[email protected]>
@csirmazbendeguz
csirmazbendeguz merged commit d3349a8 into main Sep 30, 2026
35 checks passed
@csirmazbendeguz
csirmazbendeguz deleted the feat/cel-validatosr branch September 30, 2026 12:48
@lgecse lgecse mentioned this pull request Oct 2, 2026
2 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 200-999 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants