forked from goodboy/tractor
1
0
Fork 0
tractor/tractor
Tyler Goodlet 0dcffeee0f Tweaks to get us down to 3 failed cancel tests
The remaining errors all have to do with not getting the exact same
format as previous of collected `.run_in_actor()` errors as `MultiError`s.
Not even sure at this point if the whole collect single task results and
bubble should be a thing but trying to keep the support for now I guess.

There's still issues with a hang in the pub sub tests and the one
debugger test has a different outcome due to the root getting the lock
from the breakpoint forever child too quickly.

- go back to raising portal result-that-are-errors in the spawn task
- go back to shielding the nursery close / proc join event
  - report any error on this shielded join and relay to nursery handler
    method (which should be customizable in the future for alternate
    strats then OCA) as well try to collect ria (run in actor) result
- drop async (via nursery) ria result collection, just do it sync with
  the soft `proc.wait()` reap immediately after, which should work
  presuming that the ipc connection will break on process termination
  anyway and it'll mean no multierror to deal with and no cancel scope
  to manage on the ria reaper task.
2021-10-10 13:06:27 -04:00
..
testing Drop trailing comma 2021-07-06 08:23:29 -04:00
trionics Fix *args-like type annot 2021-10-06 17:02:38 -04:00
__init__.py Fix top level nursery import 2021-10-06 17:02:38 -04:00
_actor.py Do immediate remote task cancels 2021-10-10 11:42:32 -04:00
_child.py Support asyncio actors with the trio spawner backend 2021-10-06 17:05:58 -04:00
_clustering.py Lul, fix everything for cluster helper 2021-10-06 17:02:38 -04:00
_debug.py Drop to a 2 polls for root debugging check 2021-10-10 11:52:24 -04:00
_discovery.py De-densify some code 2021-07-06 08:23:30 -04:00
_entry.py Hide some portal stack layers in tracebacks 2021-10-08 18:53:54 -04:00
_exceptions.py Hide `_invoke()` tb, move actor error to exceptions mod 2021-07-31 13:56:26 -04:00
_forkserver_override.py Ignore type checks on stdlib overrides 2021-02-21 14:08:23 -05:00
_ipc.py Add "message transport" structured sub-typing 2021-10-06 15:54:27 -04:00
_mp_fixup_main.py Fix more stdlib typing issues with latest mypy 2021-02-21 12:48:03 -05:00
_portal.py Hide some portal stack layers in tracebacks 2021-10-08 18:53:54 -04:00
_root.py WIP redo asyncio async gen streaming 2021-10-06 17:05:58 -04:00
_spawn.py Tweaks to get us down to 3 failed cancel tests 2021-10-10 13:06:27 -04:00
_state.py Add a no runtime error 2021-04-28 12:23:08 -04:00
_streaming.py Move broadcast channel parts into trionics 2021-10-06 17:02:38 -04:00
_supervise.py Re-route errors from spawn tasks and mngr task to handler 2021-10-10 11:54:19 -04:00
log.py De-noise warnings, add a 'cancel' log level 2021-10-06 17:02:13 -04:00
msg.py Add a @pub kwarg to allow specifying a "startup response message" 2021-10-06 17:05:58 -04:00
to_asyncio.py First draft: `.to_asyncio.open_channel_from()` 2021-10-07 23:14:34 -04:00