A self-improving RLM agent for coding workflows and long-running autonomous tasks.
Rust
test: read only the session JSONL in import_compaction_e2e (#3678)
Sebastian Müller72f790babc3b
diff --git a/crates/pa-daemon/tests/import_compaction_e2e.rs b/crates/pa-daemon/tests/import_compaction_e2e.rsindex f0cf243884..e2906eaf57 100644--- a/crates/pa-daemon/tests/import_compaction_e2e.rs+++ b/crates/pa-daemon/tests/import_compaction_e2e.rs@@ -280,9 +280,11 @@ fn session_rows(harness: &Harness, type_: &str) -> Vec<Value> {.filter_map(Result::ok).map(|entry| entry.path()).find(|path| {- path.file_name()- .and_then(|name| name.to_str())- .is_some_and(|name| name.starts_with("grown-import"))+ path.extension().is_some_and(|ext| ext == "jsonl")+ && path+ .file_name()+ .and_then(|name| name.to_str())+ .is_some_and(|name| name.starts_with("grown-import"))}).expect("the imported session's copy in the session dir");std::fs::read_to_string(file)