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

chore(cre-deployments): cre-227 forwarder CS refactor #16177

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

Conversation

krehermann
Copy link
Contributor

@krehermann krehermann commented Jan 31, 2025

CRE-227

refactors internal implementation to reduce dependencies. last refactor blocking cre-226

Requires

Supports

}

// Deprecated: Use ConfigureInitialContractsChangeset instead.
func ConfigureInitialContracts(lggr logger.Logger, req *kslib.ConfigureContractsRequest) (deployment.ChangesetOutput, error) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

was unused except line 28; consolidate

@krehermann krehermann marked this pull request as draft January 31, 2025 21:02
Copy link
Contributor

github-actions bot commented Jan 31, 2025

AER Report: CI Core

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

1. Comment formatting issue: Golang Lint (deployment)

Source of Error:
deployment/keystone/changeset/configure_contracts.go:28:2: commentFormatting: put a space between `//` and comment text (gocritic)
	//foundForwarder = false
	^

Why: The error is caused by a comment in the code that does not follow the proper formatting convention. Specifically, there is no space between the // and the comment text.

Suggested fix: Add a space between the // and the comment text to follow the proper formatting convention.

2. Unexpected error in test: Core Tests (go_core_ccip_deployment_tests)

Source of Error:
deploy_forwarder_test.go:116: 
	Error Trace:	/home/runner/work/chainlink/chainlink/deployment/keystone/changeset/deploy_forwarder_test.go:116
	Error: 	Received unexpected error:
	 	expected MCMS operation to be non-nil
	Test: 	TestConfigureForwarders/with_mcms/nChains=1

Why: The test TestConfigureForwarders/with_mcms/nChains=1 failed because it encountered an unexpected error where an MCMS operation was expected to be non-nil but was nil.

Suggested fix: Investigate the test setup and the conditions under which the MCMS operation is expected to be non-nil. Ensure that all necessary preconditions and configurations are met before the test is executed.

3. Unexpected error in test: Core Tests (go_core_ccip_deployment_tests)

Source of Error:
deploy_forwarder_test.go:116: 
	Error Trace:	/home/runner/work/chainlink/chainlink/deployment/keystone/changeset/deploy_forwarder_test.go:116
	Error: 	Received unexpected error:
	 	expected MCMS operation to be non-nil
	Test: 	TestConfigureForwarders/with_mcms/nChains=3

Why: The test TestConfigureForwarders/with_mcms/nChains=3 failed because it encountered an unexpected error where an MCMS operation was expected to be non-nil but was nil.

Suggested fix: Similar to the previous error, investigate the test setup and the conditions under which the MCMS operation is expected to be non-nil. Ensure that all necessary preconditions and configurations are met before the test is executed.

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

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

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.

1 participant