mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
feat: house-keeping memories 3 (#20005)
Move stuff in memories, no behavioural change expected
This commit is contained in:
1 parent
0156b1e61f
commit
5b7d6f5c4f
11 files changed
+127
-106
No files matched your search
@@ -12,7 +12,7 @@ fn render_workspace_diff_file_bounds_large_diff() {
|
||||
status: GitBaselineChangeStatus::Modified,
|
||||
path: "MEMORY.md".to_string(),
|
||||
}],
|
||||
unified_diff: "a".repeat(WORKSPACE_DIFF_MAX_BYTES + 128),
|
||||
unified_diff: "a".repeat(crate::workspace_diff::MAX_BYTES + 128),
|
||||
};
|
||||
|
||||
let rendered = render_workspace_diff_file(&diff);
|
||||
@@ -47,7 +47,7 @@ async fn reset_memory_workspace_baseline_removes_generated_diff() {
|
||||
.await
|
||||
.expect("reset baseline");
|
||||
|
||||
assert!(!root.join(WORKSPACE_DIFF_FILENAME).exists());
|
||||
assert!(!root.join(crate::workspace_diff::FILENAME).exists());
|
||||
let diff = memory_workspace_diff(&root)
|
||||
.await
|
||||
.expect("load workspace diff");
|
||||
|
||||
Reference in new issue
Block a user