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

Stop spamming logs when setting duplicate receiver #13560

Closed
wants to merge 138 commits into from

Conversation

cedric-cordenier
Copy link
Contributor

Ticket

Requires Dependencies

Resolves Dependencies

core/capabilities/syncer.go Outdated Show resolved Hide resolved
core/capabilities/syncer.go Outdated Show resolved Hide resolved
bolekk
bolekk previously approved these changes Jun 18, 2024
@@ -94,7 +99,7 @@ func (d *dispatcher) SetReceiver(capabilityId string, donId string, rec remotety
k := key{capabilityId, donId}
_, ok := d.receivers[k]
if ok {
return fmt.Errorf("receiver already exists for capability %s and don %s", capabilityId, donId)
return fmt.Errorf("%w: capability %s and don %s", ErrReceiverExists, capabilityId, donId)
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: I would expect the caller to wrap/log this error with the capability ID etc (as it is doing), so no need to wrap the error at this point.

ettec
ettec previously approved these changes Jun 19, 2024
@cedric-cordenier cedric-cordenier added this pull request to the merge queue Jun 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 19, 2024
@cedric-cordenier cedric-cordenier added this pull request to the merge queue Jun 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 19, 2024
@cedric-cordenier cedric-cordenier added this pull request to the merge queue Jun 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 19, 2024
@cedric-cordenier cedric-cordenier added this pull request to the merge queue Jun 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 19, 2024
@cedric-cordenier cedric-cordenier added this pull request to the merge queue Jun 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 19, 2024
@cedric-cordenier cedric-cordenier added this pull request to the merge queue Jun 19, 2024
erikburt and others added 11 commits July 11, 2024 20:48
* fix: bump sonarsource/sonarqube-scan-action to v2.3.0

* fix: increase memory for sonarscan action

* fix: even more memory

* fix: disable coverage redesign

* Revert "fix: disable coverage redesign"

This reverts commit 6155794.

* fix: even more more memory
…ries (#13827)

* [TT-1252] Make tools used in ci reusable for chainlink-integrations

* Make fuzz reusable in other reops

* Make the fuzz python arg for the root of the go project more readable as to its meaning
* use updated CTF

* use tagged CTF

* verify commit

* fix compile error

---------

Co-authored-by: Anirudh Warrier <[email protected]>
…chain writer (#13829)

* evm: Use the transactionId as the idempotency key in the chainwriter

* changeset: Add changeset tag

---------

Co-authored-by: Silas Lenihan <[email protected]>
* Chain Reader Batch Call inital commit

* Add batchCaller tests

* Minor code improvement for ChainReader addDecoderDef and addEncoderDef

* Use common types for Chain Reader BatchGetLatestValue

* CR BatchGetLatestValue fixes and setup evm chain reader tester

* Run lint, generate and update common ref

* Add changeset

* Update common ref, rename BatchGetLatestValue to BatchGetLatestValues

* Import new common changes

* Return an error if BatchGetLatestValues received an event in the req

* Bump common

* fix minor merge issues

* Add common codec mock for batch_caller_test

* Bump feeds

* Bump Solana
* FunctionsCoordinator v1.3.1

* fix: add NPM token to fetch private repo

* fix: use npm config set

* revert

* add auth credentials

* add auth credentials

* remove auth for npm

---------

Co-authored-by: Pablo <[email protected]>
* add empty bal spec

* add bal_spec_id

* include ccip spec ids

* remove orm changes

* add changeset

* add tag

---------

Co-authored-by: Chris <[email protected]>
Copy link
Contributor

I see you added a changeset file but it does not contain a tag. Please edit the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

🎖️ No JIRA issue number found - Please include it in the PR title or in a commit message.

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.