Skip to content

Classify MongoDB code 29 Socket IO error as recoverable - #5127

Open
dtunikov wants to merge 1 commit into
mainfrom
dbi-1216-classify-mongo-socket-io-error
Open

dtunikov wants to merge 1 commit into
mainfrom
dbi-1216-classify-mongo-socket-io-error

Conversation

@dtunikov

Copy link
Copy Markdown
Contributor

MongoDB change streams failing with code 29 / Socket IO error recover on retry but were classified as OTHER and paged. Classify that message as ErrorRetryRecoverable; other code 29 errors (upstream NonExistentPath) stay OTHER.

Fixes DBI-1216

🤖 Generated with Claude Code

Change streams on some sources fail with code 29 and message
"Socket IO error", which recovers on retry but was paging as OTHER.
Match the message narrowly since code 29 is NonExistentPath upstream.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dtunikov
dtunikov marked this pull request as ready for review November 26, 2026 07:59
@dtunikov
dtunikov requested a review from a team as a code owner November 26, 2026 07:59
@claude

claude Bot commented Nov 26, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@github-actions

Copy link
Copy Markdown
Contributor

🔄 Flaky Test Detected

Analysis: Infrastructure flake, not a test failure: the mongo-8_ch-latest job failed during Docker/Tilt service startup because flow-worker could not bind hardcoded host port 40001 ("address already in use"), so no tests ran, and all 18 other matrix jobs passed on a PR that only touches Mongo error-classification logic.
Confidence: 0.95

✅ Automatically retrying the workflow

View workflow run

This branch has not been deployed

No deployments
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