Skip to content

Enhance upload task status tracking and error handling with structured metadata#91

Open
Krushna-Pisal wants to merge 2 commits intoindictechcom:masterfrom
Krushna-Pisal:enhance_upload_task_1
Open

Enhance upload task status tracking and error handling with structured metadata#91
Krushna-Pisal wants to merge 2 commits intoindictechcom:masterfrom
Krushna-Pisal:enhance_upload_task_1

Conversation

@Krushna-Pisal
Copy link
Copy Markdown

@Krushna-Pisal Krushna-Pisal commented Mar 31, 2026

This PR improves the upload task handling by introducing structured task states, better error handling, and improved observability.

Changes:

  • Added meaningful task states (STARTED, PROGRESS, FAILURE)
  • Introduced structured metadata (stage, progress, timestamps)
  • Improved error handling using try/except
  • Ensured safe file handling using context managers
  • Enhanced API response with detailed task information

This improves debugging, reliability, and aligns with planned upload tracking features.
This change builds on my previous work on task status APIs and improves visibility into async uploads.

Happy to refine the approach based on feedback.

…d metadata

This PR improves the upload task handling by introducing structured task states, better error handling, and improved observability.

Changes:
- Added meaningful task states (STARTED, PROGRESS, FAILURE)
- Introduced structured metadata (stage, progress, timestamps)
- Improved error handling using try/except
- Ensured safe file handling using context managers
- Enhanced API response with detailed task information

This improves debugging, reliability, and aligns with planned upload tracking features.
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