Skip to content

refactor: restrict run_future() usages to tests #3856

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

Merged
merged 5 commits into from
Jun 3, 2024
Merged

Conversation

rami3l
Copy link
Member

@rami3l rami3l commented Jun 3, 2024

Continuation of #3367, supersedes #3847.

This PR simply makes more function async, and thus the necessity of run_future() in non-test code is completely eliminated.

The only usages remaining are in manifestation's tests, which is seemingly a bit harder than others considering lifetime restrictions and such.

@rami3l rami3l requested review from djc and rbtcollins June 3, 2024 12:36
@rami3l rami3l added this to the 1.28.0 milestone Jun 3, 2024
Copy link
Contributor

@djc djc left a comment

Choose a reason for hiding this comment

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

Nice!

@rami3l rami3l added this pull request to the merge queue Jun 3, 2024
@rami3l rami3l removed this pull request from the merge queue due to a manual request Jun 3, 2024
@rami3l rami3l requested a review from djc June 3, 2024 16:15
@djc djc added this pull request to the merge queue Jun 3, 2024
Merged via the queue into master with commit 1709a23 Jun 3, 2024
24 checks passed
@djc djc deleted the refactor/no-run-future branch June 3, 2024 17:38
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.

2 participants