The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(sessions): log fallback refcounts after releasing a workspace
Steven Enamakel243285a30604
diff --git a/crates/openhuman-core/src/storage/sessions/workspace.rs b/crates/openhuman-core/src/storage/sessions/workspace.rsindex f176f82a6a..ff38653edf 100644--- a/crates/openhuman-core/src/storage/sessions/workspace.rs+++ b/crates/openhuman-core/src/storage/sessions/workspace.rs@@ -50,11 +50,18 @@ pub fn release_workspace_defaults() {/// workspace keeps its live handles. A restart of one workspace, not of the/// process; [`release_workspace_defaults`] is the process-wide reset.pub fn release_workspace(workspace_dir: &Path) {- FALLBACKS+ let fallback_removed = FALLBACKS.lock().unwrap_or_else(PoisonError::into_inner).remove(workspace_dir);crate::storage::local::forget(workspace_dir);+ if let Some(fallback) = fallback_removed.as_ref() {+ eprintln!(+ "release refs after local forget: backend={} provider={}",+ Arc::strong_count(&fallback.backend),+ Arc::strong_count(&fallback.provider)+ );+ }}/// The provider for `workspace_dir`: the installed one, else a