Skip to content

fix(replication): parse structured error messages - #2209

Open
AryanRG wants to merge 2 commits into
weaviate:mainfrom
AryanRG:fix/replication-error-messages
Open

AryanRG wants to merge 2 commits into
weaviate:mainfrom
AryanRG:fix/replication-error-messages

Conversation

@AryanRG

@AryanRG AryanRG commented Oct 16, 2026

Copy link
Copy Markdown

Summary

  • normalize structured replication errors from current Weaviate responses to message strings
  • preserve compatibility with legacy string error payloads
  • add focused regression coverage for both response shapes

Tests

  • pytest -q test/test_cluster_models.py
  • pytest -q --disable-warnings --maxfail=1 test mock_tests (612 passed, 1 skipped)
  • ruff format --check and ruff check on changed files
  • flake8 on changed files
  • pyright on changed files

@orca-security-eu orca-security-eu Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@weaviate-git-bot

Copy link
Copy Markdown

To avoid any confusion in the future about your contribution to Weaviate, we work with a Contributor License Agreement. If you agree, you can simply add a comment to this PR that you agree with the CLA so that we can merge.

beep boop - the Weaviate bot 👋🤖

PS:
Are you already a member of the Weaviate Forum?

@AryanRG

AryanRG commented Oct 16, 2026

Copy link
Copy Markdown
Author

I have read and agree to the Weaviate Contributor License Agreement.

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.

2 participants