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.

10 changes: 10 additions & 0 deletions services/analysis-engine/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1419,3 +1419,13 @@ def _slow_separate(_source_path: str) -> dict[str, object]:
update.get("progressLabel") == "Stem separation timed out; continuing with fallback cues"
for update in updates
)


def test_run_analysis_job_updates_invalid_request() -> None:
"""Ensure invalid job requests return an early failure status update."""
updates = list(
run_analysis_job_updates("job-1", {"sourceKind": "invalid"}, "2024-01-01T00:00:00Z")
)
assert len(updates) == 1
assert updates[0]["state"] == "failed"
assert updates[0]["error"]["code"] == "invalid_request"
Loading