docling-studio/document-parser
Pier-Jean Malandrino 0af3b81b8f Fix zombie jobs and unprotected JSON parse
Bug #1: _on_task_done now receives job_id via functools.partial and
calls _mark_failed when the background task raises or is cancelled,
preventing jobs from being stuck in RUNNING state forever.

Bug #5: _parse_response wraps json.loads in try/except JSONDecodeError
so malformed json_content strings fall back gracefully instead of crashing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 16:52:36 +02:00
..
api Fix audit findings: remove domain→infra violation, align Serve API, fix DI 2026-03-31 10:58:58 +02:00
domain Fix lint ans test errors 2026-03-31 16:35:48 +02:00
infra Fix zombie jobs and unprotected JSON parse 2026-03-31 16:52:36 +02:00
persistence Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
services Fix zombie jobs and unprotected JSON parse 2026-03-31 16:52:36 +02:00
tests Fix zombie jobs and unprotected JSON parse 2026-03-31 16:52:36 +02:00
.dockerignore Work on full Docker integration 2026-03-17 13:33:36 +01:00
conftest.py Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
Dockerfile Refacto and add cp paste btn 2026-03-21 15:03:10 +01:00
main.py Fix audit findings: remove domain→infra violation, align Serve API, fix DI 2026-03-31 10:58:58 +02:00
package-lock.json Add slide on side bar in Studio mode 2026-03-20 16:24:38 +01:00
pyproject.toml Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
pytest.ini Add a stronger testing strategy 2026-03-18 14:46:37 +01:00
requirements.txt Add ServeConverter adapter for remote Docling Serve integration 2026-03-31 10:36:35 +02:00