fix: resolve pixi environment configuration warnings #207
pr-checks.yml
on: pull_request
PR Quality Gate
36s
Coverage Check
4m 34s
Documentation Check
10s
PR Summary
3s
Annotations
12 errors and 7 warnings
|
PR Quality Gate
Process completed with exit code 1.
|
|
Ruff (F401):
src/uckn/api/main.py#L14
src/uckn/api/main.py:14:50: F401 `.dependencies.get_knowledge_manager` imported but unused
|
|
Coverage Check:
tests/unit/molecules/test_error_solution_manager.py#L119
test_update_error_solution_success
AssertionError: assert <MagicMock name='mock.update_error_solution()' id='140401837378592'> is True
|
|
Coverage Check:
tests/unit/molecules/test_error_solution_manager.py#L89
test_search_error_solutions_success
AssertionError: assert <MagicMock na...401837427264'> == [{'id': 'sol-1'}]
Full diff:
+ <MagicMock name='mock.search_error_solutions()' id='140401837427264'>
- [
- {
- 'id': 'sol-1',
- },
- ]
|
|
Coverage Check:
tests/unit/molecules/test_error_solution_manager.py#L71
test_get_error_solution_success
AssertionError: assert <MagicMock na...401838105488'> == {'id': 'sol-1'}
Full diff:
+ <MagicMock name='mock.get_error_solution()' id='140401838105488'>
- {
- 'id': 'sol-1',
- }
|
|
Coverage Check:
tests/unit/molecules/test_error_solution_manager.py#L39
test_add_error_solution_success
AssertionError: Expected 'add_document' to have been called once. Called 0 times.
|
|
Coverage Check:
tests/unit/molecules/test_error_solution_manager.py#L29
test_initialization
AttributeError: 'ErrorSolutionManager' object has no attribute 'chroma_connector'
|
|
Coverage Check:
tests/integration/test_centralized_architecture.py#L149
test_knowledge_manager_full_lifecycle_pattern
AssertionError: assert 'This is a te...n for Python.' == 'This is an u...n for Python.'
- This is an updated test code pattern for Python.
? ---------
+ This is a test code pattern for Python.
|
|
Coverage Check:
tests/e2e/test_e2e_knowledge_lifecycle.py#L164
test_concurrent_operations
assert 0 >= 3
+ where 0 = len([])
|
|
Coverage Check:
tests/e2e/test_e2e_knowledge_lifecycle.py#L92
test_complete_knowledge_lifecycle
KeyError: 'chromadb_available'
|
|
Coverage Check:
tests/e2e/test_e2e_basic_workflow.py#L124
test_tech_stack_analysis_workflow
AssertionError: assert ('python' in '[]' or 'python' in '')
+ where '[]' = <built-in method lower of str object at 0x7fb1e007ab50>()
+ where <built-in method lower of str object at 0x7fb1e007ab50> = '[]'.lower
+ where '[]' = str([])
+ and '' = <built-in method lower of str object at 0x562a79a1b7f0>()
+ where <built-in method lower of str object at 0x562a79a1b7f0> = ''.lower
|
|
Coverage Check:
tests/e2e/test_e2e_basic_workflow.py#L81
test_basic_end_to_end_workflow
KeyError: 'chromadb_available'
|
|
PR Quality Gate
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0ZAqFaAAAAAAYxrjcDi77SKt2FHXWABLjUEFPRURHRTA2MTYARWRnZQ==
|
|
PR Quality Gate
Failed to restore: Cache service responded with 400
|
|
Coverage Check:
.pixi/envs/quality/lib/python3.12/site-packages/pydantic/main.py#L463
Pydantic serializer warnings:
PydanticSerializationUnexpectedValue(Expected `enum` - serialized value may not be as expected [input_value=<WorkflowState.PUBLISHED: 'published'>, input_type=WorkflowState])
|
|
Coverage Check:
.pixi/envs/quality/lib/python3.12/site-packages/pydantic/main.py#L463
Pydantic serializer warnings:
PydanticSerializationUnexpectedValue(Expected `enum` - serialized value may not be as expected [input_value=<WorkflowState.IN_TESTING: 'in_testing'>, input_type=WorkflowState])
|
|
Coverage Check:
.pixi/envs/quality/lib/python3.12/site-packages/pydantic/main.py#L463
Pydantic serializer warnings:
PydanticSerializationUnexpectedValue(Expected `enum` - serialized value may not be as expected [input_value=<WorkflowState.IN_REVIEW: 'in_review'>, input_type=WorkflowState])
|
|
Coverage Check
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0ZAqFaAAAAAAJASvvVU03S7isVtw/A8qfUEFPRURHRTA1MTMARWRnZQ==
|
|
Coverage Check
Failed to restore: Cache service responded with 400
|