Skip to content

Enhance audio job processing tests and handling#15

Merged
tenkus47 merged 1 commit into
developfrom
audio_sqs
Jul 20, 2026
Merged

Enhance audio job processing tests and handling#15
tenkus47 merged 1 commit into
developfrom
audio_sqs

Conversation

@tenkus47

Copy link
Copy Markdown
Member
  • Added new unit tests to cover scenarios for skipping audio jobs when claim conflicts occur and when a job returns a terminal status.
  • Updated the process_audio_job_message function to handle HTTP exceptions for job claims, ensuring proper logging and message deletion for already claimed jobs.
  • Improved the handling of job status updates to ensure that jobs are skipped if they are not in the PROCESSING state after claiming.

- Added new unit tests to cover scenarios for skipping audio jobs when claim conflicts occur and when a job returns a terminal status.
- Updated the `process_audio_job_message` function to handle HTTP exceptions for job claims, ensuring proper logging and message deletion for already claimed jobs.
- Improved the handling of job status updates to ensure that jobs are skipped if they are not in the PROCESSING state after claiming.
@tenkus47
tenkus47 merged commit c9bdaf6 into develop Jul 20, 2026
8 checks passed
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