fix: Resolve all CI failures (ruff linting + MCP test failures)
Fixed 7 ruff linting errors: - SIM102: Simplified nested if statements in rag_chunker.py - SIM113: Use enumerate() in streaming_ingest.py - ARG001: Prefix unused signal handler args with underscore - SIM105: Replace try-except-pass with contextlib.suppress (3 instances) Fixed 7 MCP server test failures: - Updated generate_config_tool to output unified format (not legacy) - Updated test_validate_valid_config to use unified format - Renamed test_submit_config_accepts_legacy_format to test_submit_config_rejects_legacy_format (tests rejection, not acceptance) - Updated all submit_config tests to use unified format: - test_submit_config_requires_token - test_submit_config_from_file_path - test_submit_config_detects_category - test_submit_config_validates_name_format - test_submit_config_validates_url_format Added v3.0.0 release planning documents: - RELEASE_EXECUTIVE_SUMMARY_v3.0.0.md (one-page overview) - RELEASE_PLAN_v3.0.0.md (complete 4-week campaign) - RELEASE_CONTENT_CHECKLIST_v3.0.0.md (content creation guide) All tests should now pass. Ready for v3.0.0 release. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -208,10 +208,8 @@ class TestWeaviateIntegration:
|
||||
|
||||
finally:
|
||||
# Cleanup - Delete collection
|
||||
try:
|
||||
with contextlib.suppress(Exception):
|
||||
client.schema.delete_class(class_name)
|
||||
except Exception:
|
||||
pass # Best effort cleanup
|
||||
|
||||
def test_weaviate_metadata_preservation(self, sample_skill_dir, tmp_path):
|
||||
"""Test that metadata is correctly stored and retrieved."""
|
||||
@@ -357,10 +355,8 @@ class TestChromaIntegration:
|
||||
|
||||
finally:
|
||||
# Cleanup - Delete collection
|
||||
try:
|
||||
with contextlib.suppress(Exception):
|
||||
client.delete_collection(name=collection_name)
|
||||
except Exception:
|
||||
pass # Best effort cleanup
|
||||
|
||||
def test_chroma_query_filtering(self, sample_skill_dir, tmp_path):
|
||||
"""Test metadata filtering in ChromaDB queries."""
|
||||
@@ -523,10 +519,8 @@ class TestQdrantIntegration:
|
||||
|
||||
finally:
|
||||
# Cleanup - Delete collection
|
||||
try:
|
||||
with contextlib.suppress(Exception):
|
||||
client.delete_collection(collection_name)
|
||||
except Exception:
|
||||
pass # Best effort cleanup
|
||||
|
||||
def test_qdrant_payload_filtering(self, sample_skill_dir, tmp_path):
|
||||
"""Test payload filtering in Qdrant."""
|
||||
|
||||
Reference in New Issue
Block a user