ragflow/api
hsparks.codes be7f0ce46c feat: Add checkpoint/resume support for long-running tasks
- Add CheckpointService with full CRUD capabilities for task checkpoints
- Support document-level progress tracking and state management
- Implement pause/resume/cancel functionality
- Add retry logic with configurable limits for failed documents
- Track token usage and overall progress
- Include comprehensive unit tests (22 tests)
- Include integration tests with real database (8 tests)
- Add working demo with 4 real-world scenarios
- Add TaskCheckpoint model to database schema

This feature enables RAPTOR and GraphRAG tasks to:
- Recover from crashes without losing progress
- Pause and resume processing
- Automatically retry failed documents
- Track detailed progress and token usage

All tests passing (30/30)
2025-12-04 10:58:37 +01:00
..
apps fix: Convert task_app.py to use Quart instead of Flask 2025-12-03 11:25:32 +01:00
common Feat:admin api (#10642) 2025-10-18 16:09:48 +08:00
db feat: Add checkpoint/resume support for long-running tasks 2025-12-04 10:58:37 +01:00
utils Merge branch 'main' into feature/checkpoint-resume 2025-12-03 04:14:36 -05:00
__init__.py Fix: incorrect async chat streamly output (#11679) 2025-12-03 11:15:45 +08:00
constants.py Introduce common/constants.py (#10965) 2025-11-03 16:32:37 +08:00
ragflow_server.py Refa: make RAGFlow more asynchronous (#11601) 2025-12-01 14:24:06 +08:00
settings.py Move api.settings to common.settings (#11036) 2025-11-06 09:36:38 +08:00
validation.py Fix errors detected by Ruff (#3918) 2024-12-08 14:21:12 +08:00