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 PolledExecutorFacade methods that overlap BlockProviderExecutor #3351

Merged
merged 1 commit into from Apr 11, 2024

Conversation

benclifford
Copy link
Collaborator

@benclifford benclifford commented Apr 11, 2024

This is in preparation for moving all the PolledExecutorFacade code into BlockProviderExecutor, in an upcoming PR.

There should now be no intersection in the attributes or methods of PolledExecutorFacade and BlockProviderExecutor, in the methods that will move. __init__ is an exception because it will merge with the __init__ of BlockProviderException.

The renamed methods are slightly awkwardly named because there isn't a short adjective that I have found that adequately describes the difference between BlockProviderExecutor and PolledExecutorFacade behaviours.

Future untangling work in this area will necessarily involve quite a lot of rearranging and picking appropriate names for whatever remains is part of that future work - so no bikeshedding over adjectives.

This PR should only rename methods and attributes. It should not change any behaviour.

Type of change

  • Code maintenance/cleanup

This is in preparation for moving all the PolledExecutorFacade code into
BlockProviderExecutor, in an upcoming PR.

There should now be no intersection in the attributes or methods of
PolledExecutorFacade and BlockProviderExecutor, in the methods that
will move. __init__ is an exception because it will merge with the
__init__ of BlockProviderException.

The renamed methods are slightly awkwardly named because there isn't a
short adjective that I have found that adequately describes the difference
between BlockProviderExecutor and PolledExecutorFacade behaviours.

Future untangling work in this area will necessarily involve quite a lot
of rearranging and picking appropriate names for whatever remains is part
of that future work - so no bikeshedding over adjectives.

This PR should only rename methods. It should not change any behaviour.
@benclifford benclifford merged commit ceda7ef into master Apr 11, 2024
6 checks passed
@benclifford benclifford deleted the benc-status-facade-names branch April 11, 2024 19:02
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.

None yet

2 participants