Skip to content

refactor(dir): add RecordState for evaluations - #2400

Merged
csirmazbendeguz merged 1 commit into
mainfrom
refactor/recordstate
Oct 26, 2026
Merged

csirmazbendeguz merged 1 commit into
mainfrom
refactor/recordstate

Conversation

@csirmazbendeguz

@csirmazbendeguz csirmazbendeguz commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

#2341
This PR splits the Validator interface into 2 functions:

  • ValidateOperation
  • ValidateEvaluation <- this uses the RecordState envelope

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

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.44444% with 21 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
server/policy/opa.go 77.8% 6 Missing ⚠️
server/policy/registry.go 76.2% 5 Missing ⚠️
server/policy/cel.go 90.0% 3 Missing ⚠️
server/policy/oasf.go 66.7% 3 Missing ⚠️
server/policy/validate.go 90.6% 3 Missing ⚠️
api/core/v1/record.go 90.0% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@csirmazbendeguz
csirmazbendeguz marked this pull request as ready for review October 22, 2026 14:15
@csirmazbendeguz
csirmazbendeguz requested a review from a team as a code owner October 22, 2026 14:15
@csirmazbendeguz
csirmazbendeguz added this pull request to the merge queue Oct 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 26, 2026
@csirmazbendeguz
csirmazbendeguz added this pull request to the merge queue Oct 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 26, 2026
@csirmazbendeguz
csirmazbendeguz added this pull request to the merge queue Oct 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 26, 2026
@csirmazbendeguz
csirmazbendeguz added this pull request to the merge queue Oct 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 26, 2026
@csirmazbendeguz
csirmazbendeguz added this pull request to the merge queue Oct 26, 2026
Merged via the queue into main with commit da476ef Oct 26, 2026
35 checks passed
@csirmazbendeguz
csirmazbendeguz deleted the refactor/recordstate branch October 26, 2026 16:15
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.

2 participants