Since the basic suite added in that patch-set (9ff448f) only audits
usage outside booting an actor, we need a pexpect-style suite to
also audit the feat within an actors context.
Todo summary brought forward from #385
Compose an actor-runtime-aware suite (set) for all supported .devx
APIs pertaining to:
(Testing) Todos from original (and now closed) gitea PR
Surrounding changes,
Since the basic suite added in that patch-set (9ff448f) only audits
usage outside booting an actor, we need a
pexpect-style suite toalso audit the feat within an actors context.
Todo summary brought forward from #385
Compose an actor-runtime-aware suite (set) for all supported
.devxAPIs pertaining to:
tractor.pause/.pause_from_sync()+repl_fixtureusage.._state._runtime_vars['repl_fixture']setting in somerent-actor and its subtree.
.devx.maybe_open_crash_handler()will enter whendebug_mode=Trueas a globally modded default.
(Testing) Todos from original (and now closed) gitea PR
as
repl_fixtureinput to sync code's use of[maybe_]_open_crash_handler()(which is currently implemented the same as the async APIs since
async def post_mortem()just callsdef _post_mortem())tests for all async uses which are already implemented via the
augmentation of
_pause()'s internal_enter_repl_sync()closure.
support for
pause_from_sync()/breakpoint()??repl_fixture().__enter__()and
.__exit__()calls with the latter invoked as part of thePdbREPLper method calls toDebugaStatus.release()to ensurethe fixture's teardown isn't invoked until after the user
releases their repl interaction.
DebugStatus._fixture_stack: ExitStackandhave every
_pause()call.enter_context()prior to interaction and thenhave
DebugStatus/PdbREPLcall.fixture_stack.close()from
.set_continue/quit()?support for an
@acmimpls ofreplx_fixture?have to somehow schedule the async code in the trio/runtime
thread, so hardest to do for sync-code crashes/pauses.
Surrounding changes,
the undocumented
Actor.lifetime_stack: ExitStack??