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

Rename external facing mercury to data streams #11754

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

shileiwill
Copy link
Contributor

@shileiwill shileiwill commented Jan 11, 2024

AUTO-8376

As title, to avoid confusing our users, especially as we are releasing the debugging script, we want to be consistent on our naming. Here we rename all external facing mercury to data streams.

Testing:

  • I ran chaincli locally and everything runs fine.
  • This change should not affect any code other than core/scripts. All the existing integration tests should pass.

Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

@shileiwill shileiwill force-pushed the rename-to-data-streams branch from 78a065c to 764df4a Compare January 11, 2024 21:07
@shileiwill shileiwill changed the title Rename to data streams Rename external facing mercury to data streams Jan 11, 2024
@shileiwill shileiwill requested review from RyanRHall, FelixFan1992 and a team January 11, 2024 21:56
@shileiwill shileiwill marked this pull request as ready for review January 11, 2024 21:57
@@ -8,8 +8,8 @@ KEEPER_REGISTRY_ADDRESS=<Registry Address>
#TENDERLY_ACCOUNT_NAME=<Tenderly Account Name>
#TENDERLY_PROJECT_NAME=<Tenderly Project Name>

# [Optional] add mercury info only if your upkeep uses mercury
#MERCURY_ID=<Mercury ID>
Copy link
Contributor

Choose a reason for hiding this comment

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

will we do these renaming in core nodes too?
if so, lots of node configs need to change too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you are right, there are a ton of mercury in our codebase.

The answer is no, at least at this point. in this PR, we are just changing the external facing names. For example, we expect users who use our debugging script will need to provide this Mercury_ID, hence renaming it.

Comment on lines 11 to 12
#DATA_STREAMS_ID=<DATA STREAMS ID>
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we add a link here to the docs page on chainlink data streams?

Comment on lines 149 to 150
- `DATA_STREAMS_LEGACY_URL`
- `DATA_STREAMS_URL`
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we add a little more explanation here about the difference between these two URLs? I'm not sure how easy it is for a customer to know if they are using the legacy version or not.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. I think LegacyURL points to mercury v0.2 server and URL points to mercury v0.3 server.

If we want to support only v0.3, then we may just get rid of the legacy URL. Let me double confirm. I will update with some explanation too!

RyanRHall
RyanRHall previously approved these changes Jan 19, 2024
@shileiwill shileiwill enabled auto-merge January 19, 2024 19:52
@shileiwill shileiwill disabled auto-merge January 19, 2024 21:26
@cl-sonarqube-production
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@shileiwill shileiwill added this pull request to the merge queue Jan 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 24, 2024
@shileiwill shileiwill added this pull request to the merge queue Jan 24, 2024
Merged via the queue into develop with commit 2586bc4 Jan 24, 2024
94 checks passed
@shileiwill shileiwill deleted the rename-to-data-streams branch January 24, 2024 04:50
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.

4 participants