-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Deprecate support for multiple tasks in the private old_nursery used by start() #1600
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1600 +/- ##
=======================================
Coverage 99.69% 99.69%
=======================================
Files 110 110
Lines 13849 13858 +9
Branches 1056 1057 +1
=======================================
+ Hits 13807 13816 +9
Misses 27 27
Partials 15 15
|
Like I mentioned in chat: this might be a good idea, but I think it's hard to tell right now. The unknowns for me are:
Hmm. I guess a less-intrusive way to handle this would be to make That feels a lot more "obvious good idea" to me. |
So yeah having slept on this a bit I think I'd be fine with a reworked version of this PR that issued the deprecation at the point of spawning a child into that nursery (from |
It's quite a lot of trouble for #1521 to support the case where new service tasks were spawned into the old_nursery. But it would work fine to forbid that case while continuing to allow non-service tasks to come along for the ride. I just figured it was better to be consistent. Marking this as draft until we come back to #1521. |
Fixes #1599; see there (or read the newsfragment) for rationale.