-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
(fix): Be more permissive during retries in workflow remote execution initialization #15348
Conversation
I see you updated files related to
|
@@ -208,10 +208,11 @@ func (c *client) sendRequest(req *request.ClientRequest) error { | |||
c.lggr.Debugw("executing remote execute capability", "requestID", req.ID()) | |||
|
|||
if _, ok := c.requestIDToCallerRequest[req.ID()]; ok { | |||
return fmt.Errorf("request for ID %s already exists", req.ID()) | |||
c.lggr.Debugw("request for ID already exists", "requestID", req.ID()) |
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.
imo easier to read if log and return and fall thru
if _, exists := ....; exists {
log.Debug
return nil
}
c.foo = bar
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.
Fair. I don't have a strong opinion, so I'll change it
f608a91
to
bac484e
Compare
…ion initialization
bac484e
to
c4daa70
Compare
AER Report: CI Coreaer_workflow , commit , Scheduled Run Frequency , Detect Changes , Clean Go Tidy & Generate , Find New Flaky Tests In Chainlink Project / Get Tests To Run , lint , Core Tests (go_core_tests) , Core Tests (go_core_tests_integration) , Core Tests (go_core_ccip_deployment_tests) , Find New Flaky Tests In Deployment Project , Core Tests (go_core_race_tests) , Core Tests (go_core_fuzz) , Find New Flaky Tests In Chainlink Project / Run Tests , Find New Flaky Tests In Chainlink Project / Report , Flakey Test Detection , SonarQube Scan 1. Test failures encountered: go_core_testsSource of Error:
Why: The error indicates that the Go core tests encountered failures during execution. The exit code 1 signifies that at least one test did not pass, causing the job to fail. Suggested fix: Review the test output logs to identify which specific tests failed and address the underlying issues in the code or test cases. Ensure all tests pass before re-running the action. |
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'm afraid this is not enough :(
See my Slack message and the proposed alternative fix: https://github.com/smartcontractkit/chainlink/pull/15352/files
Closing for @ettec's larger rework |
Pull request was closed
No description provided.