← Về thư mục
tests/test_gateway_session_lifecycle.py
- _Hub · class · L17-L33 — class _Hub
- init · method · L18-L19 — def init(self) -> None
- emitter · method · L21-L26 — def emitter(self, root_frame_id)
- emit · function · L22-L24 — def emit(event)
- broadcast · method · L28-L29 — def broadcast(self, root_frame_id, event)
- has_subscriber · method · L31-L33 — def has_subscriber(self, root_frame_id)
- _Kernel · class · L36-L63 — class _Kernel
- init · method · L37-L53 — def init(self, pid=8123) -> None
- is_alive · method · L55-L56 — def is_alive(self)
- shutdown · method · L58-L60 — def shutdown(self)
- interrupt · method · L62-L63 — def interrupt(self)
- _runner · function · L66-L76 — def _runner(tmp_path, *, clock=lambda: 1.0)
- test_status_and_execution_attempt_share_persistent_generation_uuid · function · L79-L105 — def test_status_and_execution_attempt_share_persistent_generation_uuid(tmp_path)
- test_attempt_does_not_bind_a_dead_slot_before_lazy_replacement · function · L108-L132 — def test_attempt_does_not_bind_a_dead_slot_before_lazy_replacement(tmp_path)
- test_gateway_idle_sweep_releases_both_slots_and_emits_ended · function · L135-L169 — def test_gateway_idle_sweep_releases_both_slots_and_emits_ended(tmp_path)
- test_idle_sweep_never_waits_behind_a_raced_turn_barrier · function · L172-L189 — def test_idle_sweep_never_waits_behind_a_raced_turn_barrier(tmp_path)
- test_runner_startup_marks_stale_generation_and_attempt_abandoned · function · L192-L230 — def test_runner_startup_marks_stale_generation_and_attempt_abandoned(tmp_path)
- test_project_delete_blocks_new_session_and_runtime_admission · function · L233-L262 — def test_project_delete_blocks_new_session_and_runtime_admission(tmp_path)
- blocked_delete · function · L241-L244 — def blocked_delete(project_id)