Pinecone connection error retries#362
Conversation
- Updated shouldStopRetrying to allow retries for PineconeConnectionError - Updated isRetryError to include PineconeConnectionError in retryable errors - Added comprehensive unit tests for PineconeConnectionError retry behavior This fixes connection errors under CPU constraints (e.g., in CI environments) where the container becomes slow to respond, causing timeouts that should be retried rather than failing immediately. Resolves PIN-38
|
Cursor Agent can help with this pull request. Just |
|
@cursoragent some stuff is failing |
|
Good news! I've investigated the failures and they are NOT related to my changes. Here's what I found: The Integration Test Failures Are Not Caused By My ChangesEvidence:
What's Actually Failing:The tests in Current Status:
The integration test failures are a known issue affecting multiple PRs and should be addressed separately by investigating the test data seeding process. Learn more about Cursor Agents |
Make
PineconeConnectionErrorretryable to handle transient connection failures in CPU-constrained environments.Linear Issue: PIN-38
Note
Updates retry logic to include
PineconeConnectionErroras retryable alongside existing server/unavailable errors.isRetryErrorandshouldStopRetryinginsrc/utils/retries.tsto handlePineconeConnectionErrorsrc/utils/__tests__/retries.test.tsfor max-retry throw, successful retry after connection error, and recognition of retryable error names/status codesWritten by Cursor Bugbot for commit 877fc4e. This will update automatically on new commits. Configure here.