Skip to main content

Module budgets

Module budgets 

Source
Expand description

Teardown budgets shared by every session host (values copied from agent-tui/src/tui/signals.rs; signals.rs re-exports these on day 2).

  • SAVE_TIMEOUT_SECS โ€” session save + index end record (data safety first)
  • HOOKS_TIMEOUT_SECS โ€” on_session_end hook emit (concurrent, fail-open)
  • TEARDOWN_TIMEOUT_SECS = their sum.

Constantsยง

EXTENSIONS_READY_TIMEOUT
EXTENSIONS_READY_TIMEOUT_SECS
SessionActor::create bound on EngineHost::extensions_ready(): the loader guard should make this unreachable; it exists so a session can never hang on a loader that never reports (warns, then proceeds).
HOOKS_TIMEOUT
HOOKS_TIMEOUT_SECS
SAVE_TIMEOUT
SAVE_TIMEOUT_SECS
TEARDOWN_TIMEOUT_SECS
UNPARK_TIMEOUT
UNPARK_TIMEOUT_SECS
SessionActor::unpark bound (B3): journal load + runtime rebuild. Transports wait ATTACH_TIMEOUT_PARKED (25 s) for a parked attach.