Skip to content

v30.0.0

v30.0.0 #259

Triggered via pull request May 20, 2025 23:54
@truemagic-codertruemagic-coder
synchronize #109
graph
Status Failure
Total duration 1m 22s
Artifacts 2

ci.yml

on: pull_request
Lint and Format Check
43s
Lint and Format Check
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 4 warnings
Python 3.12 Test: tests/unit/factories/test_agent_factory.py#L427
TestSolanaAgentFactory.test_create_from_config_with_zep_and_mongo AssertionError: expected call not found. Expected: MemoryRepository(mongo_adapter=<MagicMock name='MongoDBAdapter()' id='140508658198784'>, zep_api_key='test-zep-key') Actual: MemoryRepository(mongo_adapter=<MagicMock name='MongoDBAdapter()' id='140508658198784'>) pytest introspection follows: Kwargs: assert {'mongo_adapt...08658198784'>} == {'mongo_adapt...test-zep-key'} Omitting 1 identical items, use -vv to show Right contains 1 more item: {'zep_api_key': 'test-zep-key'} Full diff: { 'mongo_adapter': <MagicMock name='MongoDBAdapter()' id='140508658198784'>, - 'zep_api_key': 'test-zep-key', }
Python 3.12 Test: tests/unit/factories/test_agent_factory.py#L469
TestSolanaAgentFactory.test_create_from_config_with_zep_only AssertionError: expected call not found. Expected: MemoryRepository(zep_api_key='test-zep-key') Actual: MemoryRepository(mongo_adapter=None) pytest introspection follows: Kwargs: assert {'mongo_adapter': None} == {'zep_api_key...test-zep-key'} Left contains 1 more item: {'mongo_adapter': None} Right contains 1 more item: {'zep_api_key': 'test-zep-key'} Full diff: { - 'zep_api_key': 'test-zep-key', + 'mongo_adapter': None, }
Python 3.12 Test: tests/unit/factories/test_agent_factory.py#L501
TestSolanaAgentFactory.test_create_from_config_with_invalid_zep Failed: DID NOT RAISE <class 'ValueError'>
Python 3.12 Test: tests/unit/factories/test_agent_factory.py#L684
TestSolanaAgentFactory.test_create_from_config_with_knowledge_base AssertionError: expected call not found. Expected: PineconeAdapter(api_key='test-pinecone-key', index_name='test-index', embedding_dimensions=3072, create_index_if_not_exists=True, use_reranking=True, rerank_model='cohere-rerank-3.5', cloud_provider='aws', region='us-east-1', metric='cosine', rerank_top_k=3, initial_query_top_k_multiplier=5, rerank_text_field='content') Actual: PineconeAdapter(api_key='test-pinecone-key', index_name='test-index', embedding_dimensions=1536, cloud_provider='aws', region='us-east-1', metric='cosine', create_index_if_not_exists=True, use_reranking=True, rerank_model='cohere-rerank-3.5', rerank_top_k=3, initial_query_top_k_multiplier=5, rerank_text_field='content') pytest introspection follows: Kwargs: assert {'api_key': '...s': 1536, ...} == {'api_key': '...s': 3072, ...} Omitting 11 identical items, use -vv to show Differing items: {'embedding_dimensions': 1536} != {'embedding_dimensions': 3072} Full diff: { 'api_key': 'test-pinecone-key', 'cloud_provider': 'aws', 'create_index_if_not_exists': True, - 'embedding_dimensions': 3072, ? ^^^ + 'embedding_dimensions': 1536, ? ++ ^ 'index_name': 'test-index', 'initial_query_top_k_multiplier': 5, 'metric': 'cosine', 'region': 'us-east-1', 'rerank_model': 'cohere-rerank-3.5', 'rerank_text_field': 'content', 'rerank_top_k': 3, 'use_reranking': True, }
Python 3.12 Test: tests/unit/factories/test_agent_factory.py#L790
TestSolanaAgentFactory.test_create_from_config_with_kb_error_case_1 AssertionError: expected call not found. Expected: QueryService(agent_service=<MagicMock name='AgentService()' id='140508658950240'>, routing_service=<MagicMock name='RoutingService()' id='140508658722832'>, memory_provider=<MagicMock name='MemoryRepository()' id='140508658956912'>, knowledge_base=None, kb_results_count=5, input_guardrails=[]) Actual: QueryService(agent_service=<MagicMock name='AgentService()' id='140508658950240'>, routing_service=<MagicMock name='RoutingService()' id='140508658722832'>, memory_provider=<MagicMock name='MemoryRepository()' id='140508658956912'>, knowledge_base=None, kb_results_count=5, input_guardrails=[], graph_memory=None) pytest introspection follows: Kwargs: assert {'agent_servi...ount': 5, ...} == {'agent_servi...e': None, ...} Omitting 6 identical items, use -vv to show Left contains 1 more item: {'graph_memory': None} Full diff: { 'agent_service': <MagicMock name='AgentService()' id='140508658950240'>, + 'graph_memory': None, 'input_guardrails': [], 'kb_results_count': 5, 'knowledge_base': None, 'memory_provider': <MagicMock name='MemoryRepository()' id='140508658956912'>, 'routing_service': <MagicMock name='RoutingService()' id='140508658722832'>, }
Python 3.12 Test: tests/unit/repositories/test_memory_repo.py#L244
TestMemoryRepository.test_retrieve_mongo_only_returns_formatted_memory AssertionError: assert '\nUser: Hello\nAssistant: Hi there' in 'User: Hello\nAssistant: Hi there\n'
Python 3.12 Test: tests/unit/repositories/test_memory_repo.py#L261
TestMemoryRepository.test_retrieve_mongo_only_handles_missing_fields AssertionError: assert 'User: Hello\...stant: None\n' == '' + User: Hello + Assistant: None
Python 3.12 Test
Process completed with exit code 1.
Python 3.13 Test: tests/unit/factories/test_agent_factory.py#L427
TestSolanaAgentFactory.test_create_from_config_with_zep_and_mongo AssertionError: expected call not found. Expected: MemoryRepository(mongo_adapter=<MagicMock name='MongoDBAdapter()' id='140285523022176'>, zep_api_key='test-zep-key') Actual: MemoryRepository(mongo_adapter=<MagicMock name='MongoDBAdapter()' id='140285523022176'>) pytest introspection follows: Kwargs: assert {'mongo_adapt...85523022176'>} == {'mongo_adapt...test-zep-key'} Omitting 1 identical items, use -vv to show Right contains 1 more item: {'zep_api_key': 'test-zep-key'} Full diff: { 'mongo_adapter': <MagicMock name='MongoDBAdapter()' id='140285523022176'>, - 'zep_api_key': 'test-zep-key', }
Python 3.13 Test: tests/unit/factories/test_agent_factory.py#L469
TestSolanaAgentFactory.test_create_from_config_with_zep_only AssertionError: expected call not found. Expected: MemoryRepository(zep_api_key='test-zep-key') Actual: MemoryRepository(mongo_adapter=None) pytest introspection follows: Kwargs: assert {'mongo_adapter': None} == {'zep_api_key...test-zep-key'} Left contains 1 more item: {'mongo_adapter': None} Right contains 1 more item: {'zep_api_key': 'test-zep-key'} Full diff: { - 'zep_api_key': 'test-zep-key', + 'mongo_adapter': None, }
Python 3.13 Test: tests/unit/factories/test_agent_factory.py#L501
TestSolanaAgentFactory.test_create_from_config_with_invalid_zep Failed: DID NOT RAISE <class 'ValueError'>
Python 3.13 Test: tests/unit/factories/test_agent_factory.py#L684
TestSolanaAgentFactory.test_create_from_config_with_knowledge_base AssertionError: expected call not found. Expected: PineconeAdapter(api_key='test-pinecone-key', index_name='test-index', embedding_dimensions=3072, create_index_if_not_exists=True, use_reranking=True, rerank_model='cohere-rerank-3.5', cloud_provider='aws', region='us-east-1', metric='cosine', rerank_top_k=3, initial_query_top_k_multiplier=5, rerank_text_field='content') Actual: PineconeAdapter(api_key='test-pinecone-key', index_name='test-index', embedding_dimensions=1536, cloud_provider='aws', region='us-east-1', metric='cosine', create_index_if_not_exists=True, use_reranking=True, rerank_model='cohere-rerank-3.5', rerank_top_k=3, initial_query_top_k_multiplier=5, rerank_text_field='content') pytest introspection follows: Kwargs: assert {'api_key': '...s': 1536, ...} == {'api_key': '...s': 3072, ...} Omitting 11 identical items, use -vv to show Differing items: {'embedding_dimensions': 1536} != {'embedding_dimensions': 3072} Full diff: { 'api_key': 'test-pinecone-key', 'cloud_provider': 'aws', 'create_index_if_not_exists': True, - 'embedding_dimensions': 3072, ? ^^^ + 'embedding_dimensions': 1536, ? ++ ^ 'index_name': 'test-index', 'initial_query_top_k_multiplier': 5, 'metric': 'cosine', 'region': 'us-east-1', 'rerank_model': 'cohere-rerank-3.5', 'rerank_text_field': 'content', 'rerank_top_k': 3, 'use_reranking': True, }
Python 3.13 Test: tests/unit/factories/test_agent_factory.py#L790
TestSolanaAgentFactory.test_create_from_config_with_kb_error_case_1 AssertionError: expected call not found. Expected: QueryService(agent_service=<MagicMock name='AgentService()' id='140285523029232'>, routing_service=<MagicMock name='RoutingService()' id='140285523030240'>, memory_provider=<MagicMock name='MemoryRepository()' id='140285523020832'>, knowledge_base=None, kb_results_count=5, input_guardrails=[]) Actual: QueryService(agent_service=<MagicMock name='AgentService()' id='140285523029232'>, routing_service=<MagicMock name='RoutingService()' id='140285523030240'>, memory_provider=<MagicMock name='MemoryRepository()' id='140285523020832'>, knowledge_base=None, kb_results_count=5, input_guardrails=[], graph_memory=None) pytest introspection follows: Kwargs: assert {'agent_servi...ount': 5, ...} == {'agent_servi...e': None, ...} Omitting 6 identical items, use -vv to show Left contains 1 more item: {'graph_memory': None} Full diff: { 'agent_service': <MagicMock name='AgentService()' id='140285523029232'>, + 'graph_memory': None, 'input_guardrails': [], 'kb_results_count': 5, 'knowledge_base': None, 'memory_provider': <MagicMock name='MemoryRepository()' id='140285523020832'>, 'routing_service': <MagicMock name='RoutingService()' id='140285523030240'>, }
Python 3.13 Test: tests/unit/repositories/test_memory_repo.py#L244
TestMemoryRepository.test_retrieve_mongo_only_returns_formatted_memory AssertionError: assert '\nUser: Hello\nAssistant: Hi there' in 'User: Hello\nAssistant: Hi there\n'
Python 3.13 Test: tests/unit/repositories/test_memory_repo.py#L261
TestMemoryRepository.test_retrieve_mongo_only_handles_missing_fields AssertionError: assert 'User: Hello\...stant: None\n' == '' + User: Hello + Assistant: None
Python 3.13 Test
Process completed with exit code 1.
Python 3.12 Test: solana_agent/services/query.py#L329
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Python 3.12 Test: solana_agent/services/query.py#L329
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Python 3.13 Test: solana_agent/services/query.py#L329
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Python 3.13 Test: solana_agent/services/query.py#L329
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited

Artifacts

Produced during runtime
Name Size Digest
test-results-3.12
6.54 KB
sha256:909096169ce33f991d03a6bb98bbcd9c23c956ddaf0376550596d4ae87030ca5
test-results-3.13
6.55 KB
sha256:4ab8b5afdc2ce3f79b124e75b58cf1d70ccf20bb20e83959ba562c6a0e92757a