Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ci): raise app recursion_limit for analytics health json! (#4242)

Louis Beaumont34dc2b65bc60
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/main.rs b/apps/screenpipe-app-tauri/src-tauri/src/main.rs
index eefdb88af..649aa1a77 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -5,6 +5,9 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#![allow(deprecated)] // cocoa/objc crate deprecations — will migrate to objc2 later
#![allow(unused_imports)]
+// analytics.rs builds a ~70-field json! health blob; the default recursion limit
+// (128) overflows while expanding the macro. Raise it for the whole crate.
+#![recursion_limit = "256"]
use analytics::AnalyticsManager;
use commands::show_main_window;