Skip to content

fix: replace custom test aggregation with proven GitHub Action

d231e94
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat: CI/CD pipeline optimization and health monitoring #101

fix: replace custom test aggregation with proven GitHub Action
d231e94
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results Summary succeeded Jan 7, 2026 in 0s

18 errors, 322 fail, 98 skipped, 781 pass in 53s

1 219 tests  ±0   781 ✅  - 1   53s ⏱️ ±0s
    1 suites ±0    98 💤 ±0 
    1 files   ±0   322 ❌ +1   18 🔥 ±0 

Results for commit d231e94. ± Comparison against earlier commit d0e634f.

Annotations

Check warning on line 0 in tests.unit.application.test_cqrs_patterns.TestCQRSIntegration

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_cqrs_supports_saga_patterns (tests.unit.application.test_cqrs_patterns.TestCQRSIntegration) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
RuntimeError: no running event loop
tests/unit/application/test_cqrs_patterns.py:902: in test_cqrs_supports_saga_patterns
    asyncio.create_task(command_bus.execute(command))
/usr/lib/python3.12/asyncio/tasks.py:417: in create_task
    loop = events.get_running_loop()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
E   RuntimeError: no running event loop

Check warning on line 0 in tests.unit.cli.test_storage_commands.TestStorageCommandHandlers

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_handle_list_storage_strategies (tests.unit.cli.test_storage_commands.TestStorageCommandHandlers) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
domain.base.exceptions.ValidationError: Type error: object Mock can't be used in 'await' expression
src/infrastructure/error/decorators.py:56: in async_wrapper
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/interface/storage_command_handlers.py:23: in handle_list_storage_strategies
    strategies = await query_bus.execute(query)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: object Mock can't be used in 'await' expression

During handling of the above exception, another exception occurred:
tests/unit/cli/test_storage_commands.py:75: in test_handle_list_storage_strategies
    result = await handle_list_storage_strategies(args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/error/decorators.py:76: in async_wrapper
    raise handled_exception
E   domain.base.exceptions.ValidationError: Type error: object Mock can't be used in 'await' expression

Check warning on line 0 in tests.unit.cli.test_storage_commands.TestStorageCommandHandlers

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_handle_show_storage_config (tests.unit.cli.test_storage_commands.TestStorageCommandHandlers) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
domain.base.exceptions.InfrastructureError: Unexpected error: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'
src/infrastructure/di/components/dependency_resolver.py:146: in _create_direct_instance
    instance = cls(**constructor_params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

During handling of the above exception, another exception occurred:
src/infrastructure/error/decorators.py:56: in async_wrapper
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/interface/storage_command_handlers.py:45: in handle_show_storage_config
    query_bus = container.get(QueryBus)
                ^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/container.py:159: in get
    return self._dependency_resolver.resolve(cls, parent_type, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:77: in resolve
    instance = self._create_instance(cls, new_chain)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:101: in _create_instance
    return self._create_direct_instance(cls, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:143: in _create_direct_instance
    constructor_params = self._resolve_constructor_parameters(cls, dependency_chain)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:235: in _resolve_constructor_parameters
    parameters[param_name] = self.resolve(param_type, cls, dependency_chain)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:77: in resolve
    instance = self._create_instance(cls, new_chain)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:101: in _create_instance
    return self._create_direct_instance(cls, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:155: in _create_direct_instance
    raise InstantiationError(cls, f"Failed to instantiate {cls.__name__}: {e!s}")
E   infrastructure.di.exceptions.InstantiationError: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

During handling of the above exception, another exception occurred:
tests/unit/cli/test_storage_commands.py:95: in test_handle_show_storage_config
    result = await handle_show_storage_config(args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/error/decorators.py:76: in async_wrapper
    raise handled_exception
E   domain.base.exceptions.InfrastructureError: Unexpected error: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

Check warning on line 0 in tests.unit.cli.test_storage_commands.TestStorageCommandHandlers

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_handle_validate_storage_config (tests.unit.cli.test_storage_commands.TestStorageCommandHandlers) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
domain.base.exceptions.InfrastructureError: Unexpected error: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'
src/infrastructure/di/components/dependency_resolver.py:146: in _create_direct_instance
    instance = cls(**constructor_params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

During handling of the above exception, another exception occurred:
src/infrastructure/error/decorators.py:56: in async_wrapper
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/interface/storage_command_handlers.py:67: in handle_validate_storage_config
    query_bus = container.get(QueryBus)
                ^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/container.py:159: in get
    return self._dependency_resolver.resolve(cls, parent_type, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:77: in resolve
    instance = self._create_instance(cls, new_chain)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:101: in _create_instance
    return self._create_direct_instance(cls, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:143: in _create_direct_instance
    constructor_params = self._resolve_constructor_parameters(cls, dependency_chain)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:235: in _resolve_constructor_parameters
    parameters[param_name] = self.resolve(param_type, cls, dependency_chain)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:77: in resolve
    instance = self._create_instance(cls, new_chain)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:101: in _create_instance
    return self._create_direct_instance(cls, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:155: in _create_direct_instance
    raise InstantiationError(cls, f"Failed to instantiate {cls.__name__}: {e!s}")
E   infrastructure.di.exceptions.InstantiationError: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

During handling of the above exception, another exception occurred:
tests/unit/cli/test_storage_commands.py:114: in test_handle_validate_storage_config
    result = await handle_validate_storage_config(args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/error/decorators.py:76: in async_wrapper
    raise handled_exception
E   domain.base.exceptions.InfrastructureError: Unexpected error: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

Check warning on line 0 in tests.unit.cli.test_storage_commands.TestStorageCommandHandlers

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_handle_test_storage (tests.unit.cli.test_storage_commands.TestStorageCommandHandlers) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
domain.base.exceptions.InfrastructureError: Unexpected error: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'
src/infrastructure/di/components/dependency_resolver.py:146: in _create_direct_instance
    instance = cls(**constructor_params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

During handling of the above exception, another exception occurred:
src/infrastructure/error/decorators.py:56: in async_wrapper
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/interface/storage_command_handlers.py:92: in handle_test_storage
    command_bus = container.get(CommandBus)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/container.py:159: in get
    return self._dependency_resolver.resolve(cls, parent_type, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:77: in resolve
    instance = self._create_instance(cls, new_chain)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:101: in _create_instance
    return self._create_direct_instance(cls, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:143: in _create_direct_instance
    constructor_params = self._resolve_constructor_parameters(cls, dependency_chain)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:235: in _resolve_constructor_parameters
    parameters[param_name] = self.resolve(param_type, cls, dependency_chain)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:77: in resolve
    instance = self._create_instance(cls, new_chain)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:101: in _create_instance
    return self._create_direct_instance(cls, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:155: in _create_direct_instance
    raise InstantiationError(cls, f"Failed to instantiate {cls.__name__}: {e!s}")
E   infrastructure.di.exceptions.InstantiationError: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

During handling of the above exception, another exception occurred:
tests/unit/cli/test_storage_commands.py:135: in test_handle_test_storage
    result = await handle_test_storage(args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/error/decorators.py:76: in async_wrapper
    raise handled_exception
E   domain.base.exceptions.InfrastructureError: Unexpected error: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

Check warning on line 0 in tests.unit.cli.test_storage_commands.TestStorageCommandHandlers

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_handle_storage_health (tests.unit.cli.test_storage_commands.TestStorageCommandHandlers) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
domain.base.exceptions.InfrastructureError: Unexpected error: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'
src/infrastructure/di/components/dependency_resolver.py:146: in _create_direct_instance
    instance = cls(**constructor_params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

During handling of the above exception, another exception occurred:
src/infrastructure/error/decorators.py:56: in async_wrapper
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/interface/storage_command_handlers.py:114: in handle_storage_health
    query_bus = container.get(QueryBus)
                ^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/container.py:159: in get
    return self._dependency_resolver.resolve(cls, parent_type, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:77: in resolve
    instance = self._create_instance(cls, new_chain)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:101: in _create_instance
    return self._create_direct_instance(cls, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:143: in _create_direct_instance
    constructor_params = self._resolve_constructor_parameters(cls, dependency_chain)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:235: in _resolve_constructor_parameters
    parameters[param_name] = self.resolve(param_type, cls, dependency_chain)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:77: in resolve
    instance = self._create_instance(cls, new_chain)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:101: in _create_instance
    return self._create_direct_instance(cls, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:155: in _create_direct_instance
    raise InstantiationError(cls, f"Failed to instantiate {cls.__name__}: {e!s}")
E   infrastructure.di.exceptions.InstantiationError: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

During handling of the above exception, another exception occurred:
tests/unit/cli/test_storage_commands.py:156: in test_handle_storage_health
    result = await handle_storage_health(args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/error/decorators.py:76: in async_wrapper
    raise handled_exception
E   domain.base.exceptions.InfrastructureError: Unexpected error: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

Check warning on line 0 in tests.unit.cli.test_storage_commands.TestStorageCommandHandlers

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_handle_storage_metrics (tests.unit.cli.test_storage_commands.TestStorageCommandHandlers) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
domain.base.exceptions.InfrastructureError: Unexpected error: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'
src/infrastructure/di/components/dependency_resolver.py:146: in _create_direct_instance
    instance = cls(**constructor_params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

During handling of the above exception, another exception occurred:
src/infrastructure/error/decorators.py:56: in async_wrapper
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/interface/storage_command_handlers.py:136: in handle_storage_metrics
    query_bus = container.get(QueryBus)
                ^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/container.py:159: in get
    return self._dependency_resolver.resolve(cls, parent_type, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:77: in resolve
    instance = self._create_instance(cls, new_chain)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:101: in _create_instance
    return self._create_direct_instance(cls, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:143: in _create_direct_instance
    constructor_params = self._resolve_constructor_parameters(cls, dependency_chain)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:235: in _resolve_constructor_parameters
    parameters[param_name] = self.resolve(param_type, cls, dependency_chain)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:77: in resolve
    instance = self._create_instance(cls, new_chain)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:101: in _create_instance
    return self._create_direct_instance(cls, dependency_chain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/di/components/dependency_resolver.py:155: in _create_direct_instance
    raise InstantiationError(cls, f"Failed to instantiate {cls.__name__}: {e!s}")
E   infrastructure.di.exceptions.InstantiationError: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

During handling of the above exception, another exception occurred:
tests/unit/cli/test_storage_commands.py:177: in test_handle_storage_metrics
    result = await handle_storage_metrics(args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/infrastructure/error/decorators.py:76: in async_wrapper
    raise handled_exception
E   domain.base.exceptions.InfrastructureError: Unexpected error: Failed to resolve dependency LoggingPort: Failed to instantiate LoggingPort: Can't instantiate abstract class LoggingPort without an implementation for abstract methods 'critical', 'debug', 'error', 'exception', 'info', 'log', 'warning'

Check warning on line 0 in tests.unit.domain.test_base_entities.TestBaseEntity

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_entity_none_id (tests.unit.domain.test_base_entities.TestBaseEntity) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
AssertionError: assert MockEntity(id=None, created_at=None, updated_at=None, name='No ID Entity', value=0) != MockEntity(id=None, created_at=None, updated_at=None, name='Another No ID Entity', value=0)
tests/unit/domain/test_base_entities.py:95: in test_entity_none_id
    assert entity != entity2
E   AssertionError: assert MockEntity(id=None, created_at=None, updated_at=None, name='No ID Entity', value=0) != MockEntity(id=None, created_at=None, updated_at=None, name='Another No ID Entity', value=0)

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_machine_count_must_be_positive (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'
tests/unit/domain/test_business_rules.py:32: in test_machine_count_must_be_positive
    Request.create_new_request(
E   TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_machine_count_maximum_limit (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'
tests/unit/domain/test_business_rules.py:45: in test_machine_count_maximum_limit
    Request.create_new_request(
E   TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_template_id_cannot_be_empty (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'
tests/unit/domain/test_business_rules.py:54: in test_template_id_cannot_be_empty
    Request.create_new_request(template_id="", machine_count=1, requester_id="test-user")
E   TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_requester_id_cannot_be_empty (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'
tests/unit/domain/test_business_rules.py:62: in test_requester_id_cannot_be_empty
    Request.create_new_request(
E   TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_priority_must_be_valid_range (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'
tests/unit/domain/test_business_rules.py:74: in test_priority_must_be_valid_range
    request = Request.create_new_request(
E   TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_timeout_must_be_positive (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'
tests/unit/domain/test_business_rules.py:102: in test_timeout_must_be_positive
    request = Request.create_new_request(
E   TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_return_request_must_have_machine_ids (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_return_request() got an unexpected keyword argument 'machine_ids'
tests/unit/domain/test_business_rules.py:122: in test_return_request_must_have_machine_ids
    Request.create_return_request(machine_ids=[], requester_id="test-user")
E   TypeError: Request.create_return_request() got an unexpected keyword argument 'machine_ids'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_return_request_machine_ids_must_be_valid (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_return_request() got an unexpected keyword argument 'machine_ids'
tests/unit/domain/test_business_rules.py:130: in test_return_request_machine_ids_must_be_valid
    request = Request.create_return_request(
E   TypeError: Request.create_return_request() got an unexpected keyword argument 'machine_ids'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_request_status_transitions_are_valid (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'
tests/unit/domain/test_business_rules.py:144: in test_request_status_transitions_are_valid
    request = Request.create_new_request(
E   TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_request_cannot_be_completed_without_processing (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'
tests/unit/domain/test_business_rules.py:163: in test_request_cannot_be_completed_without_processing
    request = Request.create_new_request(
E   TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_completed_request_cannot_be_modified (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'
tests/unit/domain/test_business_rules.py:173: in test_completed_request_cannot_be_modified
    request = Request.create_new_request(
E   TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestRequestBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_request_timeout_enforcement (tests.unit.domain.test_business_rules.TestRequestBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'
tests/unit/domain/test_business_rules.py:186: in test_request_timeout_enforcement
    request = Request.create_new_request(
E   TypeError: Request.create_new_request() got an unexpected keyword argument 'requester_id'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestTemplateBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_provider_api_must_be_valid (tests.unit.domain.test_business_rules.TestTemplateBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
Failed: DID NOT RAISE <class 'domain.template.exceptions.TemplateValidationError'>
tests/unit/domain/test_business_rules.py:238: in test_provider_api_must_be_valid
    with pytest.raises(TemplateValidationError):
E   Failed: DID NOT RAISE <class 'domain.template.exceptions.TemplateValidationError'>

Check warning on line 0 in tests.unit.domain.test_business_rules.TestTemplateBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_image_id_must_be_valid_format (tests.unit.domain.test_business_rules.TestTemplateBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
Failed: DID NOT RAISE <class 'domain.template.exceptions.TemplateValidationError'>
tests/unit/domain/test_business_rules.py:260: in test_image_id_must_be_valid_format
    with pytest.raises(TemplateValidationError):
E   Failed: DID NOT RAISE <class 'domain.template.exceptions.TemplateValidationError'>

Check warning on line 0 in tests.unit.domain.test_business_rules.TestTemplateBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_instance_type_must_be_valid (tests.unit.domain.test_business_rules.TestTemplateBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
Failed: DID NOT RAISE <class 'domain.template.exceptions.TemplateValidationError'>
tests/unit/domain/test_business_rules.py:285: in test_instance_type_must_be_valid
    with pytest.raises(TemplateValidationError):
E   Failed: DID NOT RAISE <class 'domain.template.exceptions.TemplateValidationError'>

Check warning on line 0 in tests.unit.domain.test_business_rules.TestTemplateBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_max_number_must_be_positive (tests.unit.domain.test_business_rules.TestTemplateBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
AttributeError: 'Template' object has no attribute 'max_number'
tests/unit/domain/test_business_rules.py:305: in test_max_number_must_be_positive
    assert template.max_number == 10
           ^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.12/site-packages/pydantic/main.py:1026: in __getattr__
    raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
E   AttributeError: 'Template' object has no attribute 'max_number'

Check warning on line 0 in tests.unit.domain.test_business_rules.TestTemplateBusinessRules

See this annotation in the file changed.

@github-actions github-actions / Test Results Summary

test_subnet_ids_must_be_valid_format (tests.unit.domain.test_business_rules.TestTemplateBusinessRules) failed

test-results/test-results-unit-ubuntu-latest-py3.14/junit-unit.xml [took 0s]
Raw output
Failed: DID NOT RAISE <class 'domain.template.exceptions.TemplateValidationError'>
tests/unit/domain/test_business_rules.py:332: in test_subnet_ids_must_be_valid_format
    with pytest.raises(TemplateValidationError):
E   Failed: DID NOT RAISE <class 'domain.template.exceptions.TemplateValidationError'>