-
Notifications
You must be signed in to change notification settings - Fork 34
[hyperactor]: mailbox: CanSend for Mailbox
use mailbox port for returns
#303
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
base: gh/shayne-fletcher/23/base
Are you sure you want to change the base?
[hyperactor]: mailbox: CanSend for Mailbox
use mailbox port for returns
#303
Conversation
…urns Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)! [ghstack-poisoned]
…urns Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)! ghstack-source-id: 291340611 Pull Request resolved: #303
This pull request was exported from Phabricator. Differential Revision: D76926674 |
…ort for returns" Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)! [ghstack-poisoned]
…urns Pull Request resolved: #303 the `CanSend` for `Mailbox` produces a self-bound `PortHandle` (allocating and binding only if needed). i don't have any immediate test coverage but removing `monitored_return_handle()` from this code is a definite and substantial improvement. ghstack-source-id: 291349747 Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)!
This pull request was exported from Phabricator. Differential Revision: D76926674 |
…ort for returns" Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)! [ghstack-poisoned]
…urns Pull Request resolved: #303 the `CanSend` for `Mailbox` produces a self-bound `PortHandle` (allocating and binding only if needed). i don't have any immediate test coverage but removing `monitored_return_handle()` from this code is a definite and substantial improvement. ghstack-source-id: 291396595 Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)!
This pull request was exported from Phabricator. Differential Revision: D76926674 |
…ort for returns" Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)! [ghstack-poisoned]
…urns Pull Request resolved: #303 the `CanSend` for `Mailbox` requires an undeliverable message port be self-bound. i don't have any immediate test coverage but removing `monitored_return_handle()` is a clear improvement. ghstack-source-id: 291398715 Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)!
This pull request was exported from Phabricator. Differential Revision: D76926674 |
…ort for returns" Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)! [ghstack-poisoned]
…urns Pull Request resolved: #303 the `CanSend` for `Mailbox` requires an undeliverable message port be self-bound. i don't have any immediate test coverage but removing `monitored_return_handle()` is a clear improvement. ghstack-source-id: 291407170 Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)!
This pull request was exported from Phabricator. Differential Revision: D76926674 |
…ort for returns" Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)! [ghstack-poisoned]
…urns Pull Request resolved: #303 the `CanSend` for `Mailbox` requires an undeliverable message port be self-bound. i don't have any immediate test coverage but removing `monitored_return_handle()` is a clear improvement. ghstack-source-id: 291418560 Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)!
This pull request was exported from Phabricator. Differential Revision: D76926674 |
…ort for returns" Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)! [ghstack-poisoned]
…urns Pull Request resolved: #303 the `CanSend` for `Mailbox` requires an undeliverable message port be self-bound. i don't have any immediate test coverage but removing `monitored_return_handle()` is a clear improvement. ghstack-source-id: 291425647 Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)!
This pull request was exported from Phabricator. Differential Revision: D76926674 |
…ort for returns" Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)! [ghstack-poisoned]
…urns Pull Request resolved: #303 the `CanSend` for `Mailbox` requires an undeliverable message port be self-bound. legacy tests were updated to be compliant with the new requirement. removing `monitored_return_handle()` from `CanSend` is a clear improvement. ghstack-source-id: 291502157 Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)!
This pull request was exported from Phabricator. Differential Revision: D76926674 |
…ort for returns" Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)! [ghstack-poisoned]
…urns Pull Request resolved: #303 the `CanSend` for `Mailbox` attempts to use a self-bound undeliverable message port and only falls back on `monitored_return_handle()` if one isn't bound. replacing unconditional use of `monitored_return_handle()` is a significant improvement. ghstack-source-id: 291503427 Differential Revision: [D76926674](https://our.internmc.facebook.com/intern/diff/D76926674/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D76926674/)!
This pull request was exported from Phabricator. Differential Revision: D76926674 |
Stack from ghstack (oldest at bottom):
CanSend for Mailbox
use mailbox port for returns #303Differential Revision: D76926674
NOTE FOR REVIEWERS: This PR has internal Meta-specific changes or comments, please review them on Phabricator!