modcomms/backend
Vadym Samoilenko 1982d5d76e feat(knowledge-base): smart resume for interrupted processing jobs
On server restart, stale active jobs are automatically resumed rather
than failed. Docs already parsed in a prior run are skipped (resume from
cache), docs stuck at 'parsing' are reset to 'pending' and re-parsed.

- Repository: add get_all_stale_active_jobs() and reset_stuck_parsing_docs()
- Service: skip already-parsed docs in _parse_doc(), reset stuck docs on start
- Main: recover stale jobs via asyncio.create_task() in lifespan startup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 10:20:35 +01:00
..
alembic Rename Legal Agent to Risk & Control Agent across frontend and backend 2026-05-14 15:10:32 +01:00
app feat(knowledge-base): smart resume for interrupted processing jobs 2026-05-15 10:20:35 +01:00
.env.example Add support email functionality via Mailgun 2026-01-24 07:03:11 -06:00
alembic.ini permissions changes 2025-12-18 16:51:27 +00:00
Dockerfile Fix large file preview and download issues 2026-01-25 08:06:41 -06:00
requirements.txt Switch LlamaParse to llama-cloud SDK with agentic_plus tier 2026-02-12 15:29:23 -06:00