fix: Use filesystem timestamps for entity sync instead of database op… · basicmachines-co/basic-memory@b7497d7 · GitHub
Skip to content

Commit b7497d7

Browse files
authored
fix: Use filesystem timestamps for entity sync instead of database operation time (#138) (#369)
Signed-off-by: Claude <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>
1 parent d1431bd commit b7497d7

3 files changed

Lines changed: 101 additions & 5 deletions

File tree

src/basic_memory/sync/sync_service.py

Lines changed: 16 additions & 3 deletions

tests/markdown/test_entity_parser_error_handling.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""Tests for entity parser error handling (issues #184 and #185)."""
22

33
import pytest
4-
from pathlib import Path
54
from textwrap import dedent
65

76
from basic_memory.markdown.entity_parser import EntityParser
@@ -213,4 +212,4 @@ async def test_parse_valid_file_still_works(tmp_path):
213212
assert result is not None
214213
assert result.frontmatter.title == "Valid File"
215214
assert result.frontmatter.type == "knowledge"
216-
assert result.frontmatter.tags == ["test", "valid"]
215+
assert result.frontmatter.tags == ["test", "valid"]

tests/sync/test_sync_service.py

Lines changed: 84 additions & 0 deletions

0 commit comments

Comments
 (0)