modcomms/backend/app
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
..
agents Rename Legal Agent to Risk & Control Agent across frontend and backend 2026-05-14 15:10:32 +01:00
api Fix 500 error on knowledge base Process Documents 2026-05-14 15:50:36 +01:00
dependencies Fix email resolution from Azure AD token claims 2026-03-03 15:55:00 +00:00
models Fix KB distillation fallback and SpecVersion type annotation 2026-03-16 14:03:25 +00:00
repositories feat(knowledge-base): smart resume for interrupted processing jobs 2026-05-15 10:20:35 +01:00
services feat(knowledge-base): smart resume for interrupted processing jobs 2026-05-15 10:20:35 +01:00
__init__.py permissions changes 2025-12-18 16:51:27 +00:00
config.py Fix LlamaParse 401 + update logo to v5 2026-03-16 12:22:31 +00:00
main.py feat(knowledge-base): smart resume for interrupted processing jobs 2026-05-15 10:20:35 +01:00