fischer-agentkit/tests/unit/rag_platform
chiguyong e3ae2f3a56 feat(rag_platform): U8 — TaskIQ async task integration
Add tasks.py: TaskManager with vectorize/batch_index tasks, per-user concurrency limits, degraded mode (sync execution without broker), WorkerSweeper for timeout detection, error message sanitization
Add taskiq>=0.11 and taskiq-redis>=0.5 to pyproject.toml
Task parameter schema validation (VectorizeTaskParams, BatchIndexTaskParams)

Tests: 41 new tests, 289 total passing
2026-06-25 12:58:51 +08:00
..
__init__.py feat(rag_platform): U1 — RAG platform skeleton + LlamaIndex integration 2026-06-25 10:49:35 +08:00
test_acl.py feat(rag_platform): U2 — KB persistence + per-KB ACL 2026-06-25 11:01:04 +08:00
test_document_processor.py feat(rag_platform): U3+U7 — document processing pipeline + upload security 2026-06-25 11:21:42 +08:00
test_fulltext.py feat(rag_platform): U4 — dual-index retrieval (pgvector semantic + PG fulltext jieba) 2026-06-25 12:20:48 +08:00
test_hit_processing.py feat(rag_platform): U6 — hit processing mode + KB settings 2026-06-25 12:44:47 +08:00
test_pipeline.py feat(rag_platform): U1 — RAG platform skeleton + LlamaIndex integration 2026-06-25 10:49:35 +08:00
test_question_gen.py feat(rag_platform): U5 — rerank + question generation + termbase 2026-06-25 12:31:43 +08:00
test_rerank.py feat(rag_platform): U5 — rerank + question generation + termbase 2026-06-25 12:31:43 +08:00
test_retrieval.py feat(rag_platform): U4 — dual-index retrieval (pgvector semantic + PG fulltext jieba) 2026-06-25 12:20:48 +08:00
test_sanitize.py feat(rag_platform): U3+U7 — document processing pipeline + upload security 2026-06-25 11:21:42 +08:00
test_settings.py feat(rag_platform): U6 — hit processing mode + KB settings 2026-06-25 12:44:47 +08:00
test_store.py feat(rag_platform): U2 — KB persistence + per-KB ACL 2026-06-25 11:01:04 +08:00
test_tasks.py feat(rag_platform): U8 — TaskIQ async task integration 2026-06-25 12:58:51 +08:00
test_termbase.py feat(rag_platform): U5 — rerank + question generation + termbase 2026-06-25 12:31:43 +08:00