Skip to content

Conversation

@earayu
Copy link
Collaborator

@earayu earayu commented Dec 30, 2025

Note

Adds a new Chinese design spec docs/design/document_export_design_zh.md describing the document export module.

  • Defines architecture: backend-proxied downloads, single-document streaming vs. collection async export, FastAPI StreamingResponse, Celery+Redis, object storage paths
  • Specifies API contracts and flows (/documents/{id}/download, /collections/{id}/export, /export-tasks/.../download) and ZIP packaging lifecycle
  • Introduces export_task table schema, status transitions, progress tracking, limits/timeouts, and 7-day cleanup
  • Details security, permissions, rate limiting, monitoring/auditing, and error handling
  • Cross-references planned code locations: aperag/views/export.py, aperag/service/export_service.py, aperag/tasks/export.py, and object store drivers

Written by Cursor Bugbot for commit 52f9f15. This will update automatically on new commits. Configure here.

@earayu earayu merged commit 6cd95fe into main Dec 30, 2025
8 of 9 checks passed
@earayu earayu deleted the feature/file_download_design branch December 30, 2025 07:13
@apecloud-bot apecloud-bot added the size/XL Denotes a PR that changes 500-999 lines. label Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL Denotes a PR that changes 500-999 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants