Fix LLM::CompletionWorker failures
We have a few failures from our CompletionWorker that contributes to our error budget:https://new-sentry.gitlab.net/organizations/gitlab/issues/?groupStatsPeriod=auto&page=0&query=is%3Aunresolved+Sidekiq%2FLlm%3A%3ACompletionWorker&referrer=issue-list&statsPeriod=14d
- (
🚧 WIP - will be handled in separate issues)ActiveRecord::RecordInvalid
- We fixed the main contributor already with !133231 (merged). However there are still other errors where it failed to create the MR summary
- Reducing amount of characters fix !134550 (merged) - need to check if it fixes the issue.
- Will be covered by the team with #430221 (closed) - encoding #430222 (closed) - summary length
- (
✅ )Net::ReadTimeout
- We no longer raise an exception but respond to the user with a proper error. We also increased the timeout. We still receive and track Timeout issues and likely need to increase the timeouts even further.
- (
✅ Fixed)NoMethodError
Edited by Nicolas Dular