-
Notifications
You must be signed in to change notification settings - Fork 43
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
Define API structures for evaluation history #3647
Conversation
6a89b3f
to
33be5ea
Compare
This contains the message body definitions as protobufs for the evaluation history endpoints. The endpoints themselves are not defined yet since we want to figure out how pagination will work.
As part of this development, a Cursor message was added to implement pagination.
EvaluationHistoryRemediation remediation = 5; | ||
} | ||
|
||
message EvaluationHistoryEntity { |
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.
Since these messages are only used inside EvaluationHistory
, have you considered defining them there? (You could still access them outside with a qualified name, see https://protobuf.dev/programming-guides/proto3/#nested)
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.
I like the idea but don't fully grasp all implications.
Those messages are not yet used in the application, I would move them in a separate PR.
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.
I added a single comment, but overall LGTM
Summary
This contains the message body definitions as protobufs for the evaluation history endpoints. The endpoint is just a stub enabled via feature flag.
Fixes #3558
Change Type
Mark the type of change your PR introduces:
Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist: