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

v1.18: deprecate get_client and get_multi_client (backport of #177) #182

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Mar 11, 2024

This is an automatic backport of pull request #177 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

deprecate get_client and get_multi_client

(cherry picked from commit 00c984f)
@@ -193,6 +193,7 @@ pub fn discover(
}

/// Creates a ThinClient by selecting a valid node at random
#[deprecated(since = "1.18.0", note = "Interface will change")]

Choose a reason for hiding this comment

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

Oh shoot, I didn't look carefully enough at this, sorry. Can you please fix this on master too?

Suggested change
#[deprecated(since = "1.18.0", note = "Interface will change")]
#[deprecated(since = "1.18.6", note = "Interface will change")]

@@ -208,6 +209,7 @@ pub fn get_client(
ThinClient::new(rpc, tpu, connection_cache)
}

#[deprecated(since = "1.18.0", note = "Will be removed in favor of get_client")]

Choose a reason for hiding this comment

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

Suggested change
#[deprecated(since = "1.18.0", note = "Will be removed in favor of get_client")]
#[deprecated(since = "1.18.6", note = "Will be removed in favor of get_client")]

@gregcusack gregcusack requested review from CriesofCarrots and KirillLykov and removed request for KirillLykov and CriesofCarrots March 11, 2024 17:26
@gregcusack gregcusack closed this Mar 11, 2024
@gregcusack gregcusack deleted the mergify/bp/v1.18/pr-177 branch March 11, 2024 17:56
@gregcusack gregcusack restored the mergify/bp/v1.18/pr-177 branch March 11, 2024 17:58
@gregcusack gregcusack added the CI Pull Request is ready to enter CI label Mar 11, 2024
@anza-team anza-team removed the CI Pull Request is ready to enter CI label Mar 11, 2024
@gregcusack gregcusack reopened this Mar 11, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.6%. Comparing base (1f79867) to head (d8434f3).

Additional details and impacted files
@@           Coverage Diff           @@
##            v1.18     #182   +/-   ##
=======================================
  Coverage    81.6%    81.6%           
=======================================
  Files         827      827           
  Lines      224375   224375           
=======================================
+ Hits       183114   183141   +27     
+ Misses      41261    41234   -27     

@gregcusack gregcusack removed the request for review from CriesofCarrots March 11, 2024 19:34
@gregcusack
Copy link

github says "Some checks were not successful" but CI here: https://buildkite.com/anza/agave/builds/453 is green says all checks passed.

@gregcusack gregcusack merged commit 0804647 into v1.18 Mar 11, 2024
57 checks passed
@gregcusack gregcusack deleted the mergify/bp/v1.18/pr-177 branch March 11, 2024 19:57
@gregcusack gregcusack restored the mergify/bp/v1.18/pr-177 branch March 11, 2024 19:57
@gregcusack gregcusack deleted the mergify/bp/v1.18/pr-177 branch March 11, 2024 19:57
anwayde pushed a commit to firedancer-io/agave that referenced this pull request Jul 23, 2024
…a-xyz#177) (anza-xyz#182)

* deprecate `get_client` and `get_multi_client` (anza-xyz#177)

deprecate get_client and get_multi_client

(cherry picked from commit 00c984f)

* bump deprecated version numbers

---------

Co-authored-by: Greg Cusack <[email protected]>
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