Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^1.24.0",
"pdfjs-dist": "6.1.200",
"pdfjs-dist": "^6.2.108",
"react": "^19.2.4",
"react-dom": "^19.2.7",
"sonner": "^2.0.7",
Expand Down
46 changes: 10 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions services/analysis-engine/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,10 +649,15 @@ def test_cached_analysis_helpers_treat_invalid_cache_as_miss(tmp_path) -> None:
"[]",
'{"schemaVersion": 999, "result": {}}',
'{"schemaVersion": 1, "result": []}',
"malformed json",
):
cache_path.write_text(content, encoding="utf-8")
assert _load_cached_analysis(cache_path) is None

# Test missing file (OSError)
missing_path = tmp_path / "missing-cache.json"
assert _load_cached_analysis(missing_path) is None


def test_cached_analysis_store_handles_unsupported_requests_and_write_errors(tmp_path) -> None:
"""Ensure cache persistence failures do not block analysis results."""
Expand Down
Loading