Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion amplifier_app_cli/session_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,11 @@ def _invalidate_all_install_state(prepared_bundle: "PreparedBundle") -> None:
"""
try:
resolver = prepared_bundle.resolver
# Unwrap AppModuleResolver if present (app layer wraps BundleModuleResolver)
# Pattern from session_spawner.py - handle both wrapped and direct cases
bundle_resolver = getattr(resolver, "_bundle", resolver)
# Access the activator (BundleModuleResolver stores it as _activator)
activator = getattr(resolver, "_activator", None)
activator = getattr(bundle_resolver, "_activator", None)
if not activator:
logger.warning("No activator found - cannot invalidate install state")
return
Expand Down