Skip to content

feat: ES-198 enhance performance when loading big projects #171

feat: ES-198 enhance performance when loading big projects

feat: ES-198 enhance performance when loading big projects #171

Triggered via pull request February 18, 2025 21:09
Status Failure
Total duration 2m 40s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 5 warnings
unit_tests: backend/service/component_service_test.go#L26
not enough arguments in call to repository.NewJSONComponentRepository
unit_tests: backend/service/component_service_test.go#L106
cannot use resultRepo (variable of type *"github.com/scanoss/scanoss.cc/backend/repository/mocks".MockResultRepository) as repository.ResultRepository value in argument to service.NewComponentServiceImpl: *"github.com/scanoss/scanoss.cc/backend/repository/mocks".MockResultRepository does not implement repository.ResultRepository (missing method GetResultByPath)
unit_tests: backend/service/component_service_test.go#L159
cannot use resultRepo (variable of type *"github.com/scanoss/scanoss.cc/backend/repository/mocks".MockResultRepository) as repository.ResultRepository value in argument to service.NewComponentServiceImpl: *"github.com/scanoss/scanoss.cc/backend/repository/mocks".MockResultRepository does not implement repository.ResultRepository (missing method GetResultByPath)
unit_tests: backend/service/component_service_test.go#L218
cannot use resultRepo (variable of type *"github.com/scanoss/scanoss.cc/backend/repository/mocks".MockResultRepository) as repository.ResultRepository value in argument to service.NewComponentServiceImpl: *"github.com/scanoss/scanoss.cc/backend/repository/mocks".MockResultRepository does not implement repository.ResultRepository (missing method GetResultByPath)
unit_tests: backend/service/result_service_impl_test.go#L70
cannot use mockRepo (variable of type *"github.com/scanoss/scanoss.cc/backend/repository/mocks".MockResultRepository) as repository.ResultRepository value in argument to service.NewResultServiceImpl: *"github.com/scanoss/scanoss.cc/backend/repository/mocks".MockResultRepository does not implement repository.ResultRepository (missing method GetResultByPath)
unit_tests
Process completed with exit code 1.
build
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
build
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
unit_tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
integration-tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2

Artifacts

Produced during runtime
Name Size
build-artifacts
1.64 MB