modcomms/backend/app
michael 42bf5ad003 Fix stuck processing state: auto-fail stale jobs, improve active job detection
- Frontend: only treat parsing_documents/distilling as actively running;
  pending jobs older than 2 minutes are ignored as stale
- Backend: add fail_stale_jobs() that marks pending/active jobs older than
  5 minutes as failed before checking for active jobs in trigger_processing
- Prevents UI from getting stuck on old jobs that never completed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 16:03:25 -06:00
..
agents Pass proof metadata (channel, sub-channel, proof type) to AI agents during analysis 2026-02-12 11:30:38 -06:00
api Fix stuck processing state: auto-fail stale jobs, improve active job detection 2026-02-12 16:03:25 -06:00
dependencies Add MSAL debug logging to frontend and backend 2025-12-18 13:11:30 -06:00
models Fix SpecVersion/ProcessingJob circular relationship direction error 2026-02-12 15:42:35 -06:00
repositories Fix stuck processing state: auto-fail stale jobs, improve active job detection 2026-02-12 16:03:25 -06:00
services Switch LlamaParse to llama-cloud SDK with agentic_plus tier 2026-02-12 15:29:23 -06:00
websocket Wire up Errors tab in Auditing: auto-create ErrorItem on Analysis Error 2026-02-12 13:55:16 -06:00
__init__.py permissions changes 2025-12-18 16:51:27 +00:00
config.py Add Knowledge Base management system for AI agent specs 2026-02-12 15:00:36 -06:00
main.py Add Knowledge Base management system for AI agent specs 2026-02-12 15:00:36 -06:00