piker/piker/service
Tyler Goodlet 05f874001a Ignore `ContextCancelled`s from non-mngr requests
Since service daemon actors may be cancelled remotely by clients (who
maybe also requested said daemon-actor's spawn in the first place) we
specifically ignore `tractor.ContextCancelled`s from the `ctx.wait()`
inside `Services.start_service_task()` to avoid crashing the service
mngr, and thus for now `pikerd`, (which **does** happen now due to
updated and more explicit remote cancellation semantics implemented in
`tractor`) since the `.canceller` field is not going to match the
`pikerd` uid in such cases!

This explicit check makes sense since the `Services` mngr is built to
allow remote requests to "spawn-n-supervise service actors" where the
services can remain persistent but also cancelled later as requested. We
may want to consider only allowing cancellation by actors who requested
spawn in the future tho?

Also change to more explicit imports to `tractor` types for annots
throughout the sub-pkg.
2024-01-04 10:06:42 -05:00
..
__init__.py Drop `__all__` import style from `.services` 2024-01-04 10:05:53 -05:00
_actor_runtime.py Extend `enable_modules` from input `tractor_kwargs` 2024-01-04 09:59:15 -05:00
_ahab.py Ignore `ContextCancelled`s from non-mngr requests 2024-01-04 10:06:42 -05:00
_daemon.py Support multi-homed service actors and multiaddrs 2023-09-28 12:13:34 -04:00
_mngr.py Ignore `ContextCancelled`s from non-mngr requests 2024-01-04 10:06:42 -05:00
_registry.py Ignore `ContextCancelled`s from non-mngr requests 2024-01-04 10:06:42 -05:00
_util.py Use a single log for entire `.service` subsys 2023-05-09 14:49:26 -04:00
elastic.py Reimplement marketstore and elasticsearch daemons 2023-05-23 14:16:02 -04:00
marketstore.py Add marketstore client as storage-backend module 2023-06-27 13:41:47 -04:00