Skip to content

Conversation

@wyh
Copy link

@wyh wyh commented Jul 23, 2025

This commit introduces a production-ready architecture based on Celery.

  • Adds Celery and Redis dependencies.
  • Creates a new to define a Celery application and a class-based task for efficient model loading.
  • The core code is now treated as a library and remains untouched, ensuring easy updates.
  • Updates to build a production image that runs the Celery worker.
  • Adds a comprehensive .gitignore file.

IvyScience and others added 9 commits July 23, 2025 16:33
This commit introduces a production-ready architecture based on Celery.

- Adds Celery and Redis dependencies.
- Creates a new  to define a Celery application and a class-based task for efficient model loading.
- The core  code is now treated as a library and remains untouched, ensuring easy updates.
- Updates  to build a production image that runs the Celery worker.
- Adds a comprehensive .gitignore file.
- Centralize Celery, Sentry, and OSS configurations in .
- Extract common OSS download/upload logic into  for reusability.
- Update  to utilize the new centralized configurations and OSS utility functions.
- Introduce a new Celery task  for extracting PDF header information and uploading it to OSS.
- Remove outdated  and add  for testing the new metadata task.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant