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

Add changeset that adds a new chain to CCIP 1.6.0 (E2E) #16705

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

kylesmartin
Copy link
Contributor

Copy link
Contributor

github-actions bot commented Mar 10, 2025

AER Report: CI Core

aer_workflow , commit , Clean Go Tidy & Generate , Detect Changes , Scheduled Run Frequency , GolangCI Lint (deployment) , Core Tests (go_core_tests) , Core Tests (go_core_tests_integration) , Core Tests (go_core_fuzz) , test-scripts , Core Tests (go_core_race_tests) , Core Tests (go_core_ccip_deployment_tests) , lint , SonarQube Scan

1. Error return value not checked: Golang Lint (deployment)

Source of Error:
Golang Lint (deployment)	2025-03-10T15:16:11.5355707Z ##[error]deployment/ccip/changeset/v1_6/init_chain_for_testing.go:32:20: Error return value of `newAddresses.Merge` is not checked (errcheck)
Golang Lint (deployment)	2025-03-10T15:16:11.5356844Z 	newAddresses.Merge(output.AddressBook)
Golang Lint (deployment)	2025-03-10T15:16:11.5357329Z 	 ^

Why: The error occurs because the return value of the newAddresses.Merge function is not being checked. This is a common issue flagged by linters to ensure that potential errors are not ignored.

Suggested fix: Check the return value of the newAddresses.Merge function and handle any errors appropriately. For example:

if err := newAddresses.Merge(output.AddressBook); err != nil {
    // handle the error
}

2. Lint job failed: Check Golangci-lint Matrix Results

Source of Error:
Check Golangci-lint Matrix Results	2025-03-10T15:16:23.6540553Z ##[error]Process completed with exit code 1.

Why: This error indicates that at least one of the GolangCI Lint matrix jobs failed, which is likely due to the unchecked error return value mentioned above.

Suggested fix: Fix the specific linting issue(s) identified in the logs (e.g., checking the return value of newAddresses.Merge). Once the code passes all lint checks, the matrix job should complete successfully.

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

Copy link
Contributor

Flakeguard Summary

Ran new or updated tests between develop and eda3b35 (CCIP-5398).

View Flaky Detector Details | Compare Changes

Found Flaky Tests ❌

1 Results
Name Pass Ratio Panicked? Timed Out? Race? Runs Successes Failures Skips Package Package Panicked? Avg Duration Code Owners
TestDeployHomeChainIdempotent 50% true true false 3 1 2 0 github.com/smartcontractkit/chainlink/deployment/ccip/changeset/v1_6 true 12.05s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/core, @smartcontractkit/deployment-automation

Artifacts

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

@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarQube IDE SonarQube IDE

- SetCandidateChangeset
- PromoteCandidateChangeset

3. Run changesets against all requested source chains (including home chain if required) WITH MCMS
Copy link
Contributor

Choose a reason for hiding this comment

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

if TestRouter is true, you won't need MCMS here, Test Router is deployed through DeployChainContractsChangeset and it will still be owned by deployer key

Comment on lines +52 to +53
- SetCandidateChangeset
- PromoteCandidateChangeset
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure how safe it would be to merge SetCandidate and Promote Candidate. Can we have two changesets for this piece?

Copy link
Contributor

Flakeguard Summary

Ran new or updated tests between develop and 9ad085b (CCIP-5398).

View Flaky Detector Details | Compare Changes

Found Flaky Tests ❌

1 Results
Name Pass Ratio Panicked? Timed Out? Race? Runs Successes Failures Skips Package Package Panicked? Avg Duration Code Owners
TestApplyTokenTransferFeeConfigUpdatesFeeQuoterChangeset 0% true true false 3 0 3 0 github.com/smartcontractkit/chainlink/deployment/ccip/changeset/v1_6 true 0s @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/core, @smartcontractkit/deployment-automation

Artifacts

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

- UpdateFeeQuoterDestsChangeset
- UpdateOffRampSourcesChangeset (TestRouter = true)
- UpdateOnRampsDestsChangeset (TestRouter = true)
- UpdateRouterRampsChangeset (for both inbound and outbound traffic, TestRouter = true)
Copy link
Contributor

Choose a reason for hiding this comment

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

There is also deployMCMs contracts, saveExistingTokenAddresses, saveFeedAddreses

1. Run changesets against new chain WITHOUT MCMS
- DeployPrerequisitesChangeset
- DeployChainContractsChangeset
- SetOCR3OffRampChangeset
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs MCMS. The Pre-condition is transferring ownership of offRamp to timelock

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This shouldn't be required, we discuss @ sync today

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