Skip to content
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

Merged
merged 5 commits into from
Feb 19, 2025
Merged

feat: add data stream clients #16437

merged 5 commits into from
Feb 19, 2025

Conversation

ChrisAmora
Copy link
Contributor

@ChrisAmora ChrisAmora commented Feb 17, 2025

Description

Adds clients needed for data streams deploy.

References

Copy link
Contributor

github-actions bot commented Feb 17, 2025

AER Report: CI Core ran successfully ✅

aer_workflow , commit

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

@ChrisAmora ChrisAmora marked this pull request as ready for review February 18, 2025 11:12
@ChrisAmora ChrisAmora requested review from a team as code owners February 18, 2025 11:12
Copy link
Collaborator

@giogam giogam left a 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

@ChrisAmora ChrisAmora force-pushed the feat/data-stream-clients branch from 2a8bffb to bf8f4fb Compare February 18, 2025 18:34
Copy link
Contributor

Flakeguard Summary

Ran new or updated tests between develop and bf8f4fb (feat/data-stream-clients).

View Flaky Detector Details | Compare Changes

Found Flaky Tests ❌

2 Results
Name Pass Ratio Panicked? Timed Out? Race? Runs Successes Failures Skips Package Package Panicked? Avg Duration Code Owners
TestRegisterNodesInput_Validate 0% false false false 3 0 3 0 github.com/smartcontractkit/chainlink/deployment/data-streams/changeset false 0s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation
TestRegisterNodesInput_Validate/missing_BootstrapNode 0% false false false 3 0 3 0 github.com/smartcontractkit/chainlink/deployment/data-streams/changeset false 0s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation

Artifacts

For detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json.

Copy link
Contributor

Flakeguard Summary

Ran new or updated tests between develop and bf8f4fb (feat/data-stream-clients).

View Flaky Detector Details | Compare Changes

Found Flaky Tests ❌

2 Results
Name Pass Ratio Panicked? Timed Out? Race? Runs Successes Failures Skips Package Package Panicked? Avg Duration Code Owners
TestRegisterNodesInput_Validate 0% false false false 6 0 6 0 github.com/smartcontractkit/chainlink/deployment/data-streams/changeset false 0s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation
TestRegisterNodesInput_Validate/missing_BootstrapNode 0% false false false 6 0 6 0 github.com/smartcontractkit/chainlink/deployment/data-streams/changeset false 0s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/core, @smartcontractkit/deployment-automation

Artifacts

For detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json.

@ChrisAmora ChrisAmora enabled auto-merge February 18, 2025 21:44

func NewGetOverridesRequest(asset, quote string, product ...string) *GetOverridesRequest {
var prod *string
if len(product) > 0 {
Copy link
Collaborator

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!

Copy link
Collaborator

@giogam giogam left a comment

Choose a reason for hiding this comment

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

LGTM

@giogam
Copy link
Collaborator

giogam commented Feb 19, 2025

@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

@ChrisAmora
Copy link
Contributor Author

@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.

Copy link
Contributor

@ecPablo ecPablo left a 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)
Copy link
Contributor

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?

Copy link
Contributor Author

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,
Copy link
Contributor

Choose a reason for hiding this comment

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

Also return error here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ChrisAmora ChrisAmora added this pull request to the merge queue Feb 19, 2025
Merged via the queue into develop with commit 95fa633 Feb 19, 2025
163 checks passed
@ChrisAmora ChrisAmora deleted the feat/data-stream-clients branch February 19, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants