Skip to content

Conversation

@dluc
Copy link
Collaborator

@dluc dluc commented Nov 17, 2024

  • In case of fatal non retriable errors, stop retrying and immediately move queue msgs to poison queue.
  • New KernelMemoryException.IsTransient optional property to explicit if an error is transient or not.
  • Use KernelMemoryException.IsTransient in Azure AI Doc Intelligence when an image cannot be processed, for instance when the image is too big (note: max size depends on SKU, see service public docs).
  • Use KernelMemoryException.IsTransient in AI clients, don't retry if the HTTP error cannot be recovered without code/config changes
  • Use KernelMemoryException.IsTransient in AI Mime type detection, don't retry processing unsupported files.
  • Change IQueue and IPipelineStepHandler signatures to support failure types, as opposed to just a boolean false.

@dluc dluc changed the title Optimize pipeline for non-retriable errors Optimize pipeline for fatal/non-retriable errors Nov 18, 2024
@dluc dluc merged commit 0d2a09c into microsoft:main Nov 18, 2024
6 checks passed
@dluc dluc deleted the nonrterrs branch November 18, 2024 22:06
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