-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat: add data stream clients #16437
Conversation
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
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.
Overall looks good! Left a few comments
2a8bffb
to
bf8f4fb
Compare
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌2 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌2 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
|
|
||
func NewGetOverridesRequest(asset, quote string, product ...string) *GetOverridesRequest { | ||
var prod *string | ||
if len(product) > 0 { |
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.
The variadic product
parameter is there to avoid explicitly passing nil
when calling NewGetOverridesRequest
without a product
, right? Nice!
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.
LGTM
@ChrisAmora Not a blocker for this PR, but something to keep in mind—I wonder if there are any additional requirements for successfully making HTTP calls to the external adapters within the GitHub CI |
I don't think so but we can check with Ivaylo when he comes back. |
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.
Left some minor comments / questions but otherwise lgtm!
Labels: labels, | ||
}) | ||
if err != nil { | ||
e.Logger.Errorw("failed to register node", "node", node.Name, "error", err) |
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.
should we return the error here? or is it intentional to continue if not registered succesfully?
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.
Is Intentional, but I left a comment so we can revisit this if necessary in the future.
Pass: false, | ||
StatusCode: resp.StatusCode, | ||
ErrorMessage: resp.Status, | ||
Data: errData, |
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.
Also return error here?
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 am following the same structure as https://github.com/smartcontractkit/gauntlet-plus-plus/blob/main/packages-ethereum/operations-mercury/src/providers/external-adapter/api-client.ts#L8
We may revisit this in future though.
Description
Adds clients needed for data streams deploy.
References