Skip to content

fix(catalog): updates errors in remote implementation#551

Merged
giogam merged 6 commits into
mainfrom
CLD-811/catalog-remote-implementation-does-not-return-errors-correctly
Oct 31, 2025
Merged

fix(catalog): updates errors in remote implementation#551
giogam merged 6 commits into
mainfrom
CLD-811/catalog-remote-implementation-does-not-return-errors-correctly

Conversation

@giogam

@giogam giogam commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

LoadDataStoreFromCatalog should not produce an error when fetching parts of the datastore for a specific domain environment if no records are returned. The implementation treats ErrAddressRefNotFound, ErrChainMetadataNotFound, ErrContractMetadataNotFound, and ErrEnvMetadataNotSet as valid cases of an empty datastore. This is useful when a domain environment has no data during the first execution.

However, the remote catalog implementation fails to return ErrAddressRefNotFound, ErrChainMetadataNotFound, ErrContractMetadataNotFound, and ErrEnvMetadataNotSet correctly, causing LoadDataStoreFromCatalog to fail when no records are found.

@changeset-bot

changeset-bot Bot commented Oct 30, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: edc3dc3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
chainlink-deployments-framework Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cl-sonarqube-production

Copy link
Copy Markdown

Quality Gate failed Quality Gate failed

Failed conditions
73.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

@giogam giogam marked this pull request as ready for review October 30, 2025 21:05
@giogam giogam requested review from a team as code owners October 30, 2025 21:05
@giogam giogam added this pull request to the merge queue Oct 31, 2025
Merged via the queue into main with commit cf4de66 Oct 31, 2025
14 of 15 checks passed
@giogam giogam deleted the CLD-811/catalog-remote-implementation-does-not-return-errors-correctly branch October 31, 2025 08:41
github-merge-queue Bot pushed a commit that referenced this pull request Oct 31, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## chainlink-deployments-framework@0.60.1

### Patch Changes

-
[#553](#553)
[`8d6a9f7`](8d6a9f7)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! -
fix(mcms): select public rpc for fork tests

-
[#551](#551)
[`cf4de66`](cf4de66)
Thanks [@giogam](https://github.com/giogam)! - fix(catalog): updates
errors in remote implementation

---------

Co-authored-by: app-token-issuer-engops[bot] <144731339+app-token-issuer-engops[bot]@users.noreply.github.com>
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