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(a11y): sync test + doc with max_depth 30→35 from #3547

Louis Beaumontccfc920f666d
diff --git a/crates/screenpipe-a11y/src/tree/mod.rs b/crates/screenpipe-a11y/src/tree/mod.rs
index 4eb51c230..485988f5e 100644
--- a/crates/screenpipe-a11y/src/tree/mod.rs
+++ b/crates/screenpipe-a11y/src/tree/mod.rs
@@ -400,7 +400,7 @@ pub fn hamming_distance(a: u64, b: u64) -> u32 {
pub struct TreeWalkerConfig {
/// How often to walk the tree (default: 3s).
pub walk_interval: Duration,
- /// Maximum recursion depth (default: 30).
+ /// Maximum recursion depth (default: 35).
pub max_depth: usize,
/// Maximum number of AX elements to visit per walk (default: 5000).
pub max_nodes: usize,
@@ -583,7 +583,7 @@ mod tests {
fn test_default_config() {
let config = TreeWalkerConfig::default();
assert_eq!(config.walk_interval, Duration::from_secs(3));
- assert_eq!(config.max_depth, 30);
+ assert_eq!(config.max_depth, 35);
assert_eq!(config.max_nodes, 5000);
assert_eq!(config.walk_timeout, Duration::from_millis(250));
assert_eq!(config.max_text_length, 50_000);