-
Notifications
You must be signed in to change notification settings - Fork 24
HYPERFLEET-538 - feat: CEL-based condition mapping engine #329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tirthct
wants to merge
22
commits into
openshift-hyperfleet:main
Choose a base branch
from
tirthct:HYPERFLEET-538
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
fd2497d
HYPERFLEET-538 - feat: CEL-based condition mapping engine
ldornele 2075280
HYPERFLEET-538 - feat: CEL-based condition mapping engine
ldornele 52f40dd
HYPERFLEET-538 - feat: CEL-based condition mapping engine
ldornele da56371
HYPERFLEET-538 - feat: CEL-based condition mapping engine
ldornele b2f4f69
HYPERFLEET-538 - feat: CEL-based condition mapping engine
ldornele 60d56ed
HYPERFLEET-538 - feat: CEL-based condition mapping engine
ldornele f3d343e
HYPERFLEET-538 - feat: CEL-based condition mapping engine
ldornele 5031fac
HYPERFLEET-538 - feat: CEL-based condition mapping engine
ldornele 6d1f345
HYPERFLEET-538 - feat: CEL-based condition mapping engine
ldornele 2445c88
HYPERFLEET-538 - refactor: address code review feedback
ldornele a869327
HYPERFLEET-538 - fix: enforce CEL error rollback per design doc
ldornele cc1ece4
HYPERFLEET-538 - fix: add missing db.MarkForRollback on CEL error
ldornele c7ad824
HYPERFLEET-538 - fix: move Gomega assertion out of goroutine
ldornele 49bea48
HYPERFLEET-538 - fix: propagate field validation error instead of sil…
ldornele d120775
HYPERFLEET-538 - fix: address code review feedback
ldornele b2437ac
HYPERFLEET-538 - perf: avoid map allocation when hasUnknown=true
ldornele 9d80146
HYPERFLEET-538 - test: add coverage for reason/message expression errors
ldornele a202acc
HYPERFLEET-538 - feat: remove redundant tags, fix review comments
tirthct 7a2a728
HYPERFLEET-538 - feat: remaining small fix
tirthct 1222d5a
HYPERFLEET-538 - feat: fix coderabbit suggestions
tirthct 35ecab5
HYPERFLEET-538 - feat: fix coderabbit and Dmitrii's suggestions
tirthct b97cc39
HYPERFLEET-538 - feat: fix linter
tirthct File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: openshift-hyperfleet/hyperfleet-api
Length of output: 50392
🏁 Script executed:
Repository: openshift-hyperfleet/hyperfleet-api
Length of output: 33261
🏁 Script executed:
Repository: openshift-hyperfleet/hyperfleet-api
Length of output: 50392
🏁 Script executed:
Repository: openshift-hyperfleet/hyperfleet-api
Length of output: 922
Propagate
NewResourceServiceerrors instead of panicking.runServealready callsResourceService()before starting the API server, so invalid CEL mappings fail during startup. Change the accessor to return the constructor error and handle it inrunServe; do not convert configuration errors intopanic(CWE-703).🤖 Prompt for AI Agents
Source: Path instructions