Skip to content

Fixed SCA export API when minio is disabled (AST-112743) #11

Fixed SCA export API when minio is disabled (AST-112743)

Fixed SCA export API when minio is disabled (AST-112743) #11

Triggered via pull request September 9, 2025 05:32
Status Failure
Total duration 3h 24m 29s
Artifacts

ci-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 16 warnings
unit-tests
Process completed with exit code 1.
unit-tests: internal/services/export_test.go#L51
cannot use &mock.ExportMockWrapper{} (value of type *mock.ExportMockWrapper) as wrappers.ExportWrapper value in struct literal: *mock.ExportMockWrapper does not implement wrappers.ExportWrapper (wrong type for method GetScaPackageCollectionExport)
unit-tests: internal/services/export_test.go#L39
cannot use &mock.ExportMockWrapper{} (value of type *mock.ExportMockWrapper) as wrappers.ExportWrapper value in struct literal: *mock.ExportMockWrapper does not implement wrappers.ExportWrapper (wrong type for method GetScaPackageCollectionExport)
unit-tests: internal/services/export_test.go#L27
cannot use &mock.ExportMockWrapper{} (value of type *mock.ExportMockWrapper) as wrappers.ExportWrapper value in struct literal: *mock.ExportMockWrapper does not implement wrappers.ExportWrapper (wrong type for method GetScaPackageCollectionExport)
unit-tests: internal/commands/root_test.go#L79
cannot use exportWrapper (variable of type *mock.ExportMockWrapper) as wrappers.ExportWrapper value in argument to NewAstCLI: *mock.ExportMockWrapper does not implement wrappers.ExportWrapper (wrong type for method GetScaPackageCollectionExport)
lint
issues found
lint: internal/services/export_test.go#L51
cannot use &mock.ExportMockWrapper{} (value of type *mock.ExportMockWrapper) as wrappers.ExportWrapper value in struct literal: *mock.ExportMockWrapper does not implement wrappers.ExportWrapper (wrong type for method GetScaPackageCollectionExport)
lint: internal/services/export_test.go#L39
cannot use &mock.ExportMockWrapper{} (value of type *mock.ExportMockWrapper) as wrappers.ExportWrapper value in struct literal: *mock.ExportMockWrapper does not implement wrappers.ExportWrapper (wrong type for method GetScaPackageCollectionExport)
lint: internal/services/export_test.go#L27
cannot use &mock.ExportMockWrapper{} (value of type *mock.ExportMockWrapper) as wrappers.ExportWrapper value in struct literal: *mock.ExportMockWrapper does not implement wrappers.ExportWrapper (wrong type for method GetScaPackageCollectionExport)
lint: internal/services/applications.go#L1
: # github.com/checkmarx/ast-cli/internal/services [github.com/checkmarx/ast-cli/internal/services.test]
lint: internal/commands/root_test.go#L79
cannot use exportWrapper (variable of type *mock.ExportMockWrapper) as wrappers.ExportWrapper value in argument to NewAstCLI: *mock.ExportMockWrapper does not implement wrappers.ExportWrapper (wrong type for method GetScaPackageCollectionExport)
lint: internal/commands/auth.go#L1
: # github.com/checkmarx/ast-cli/internal/commands [github.com/checkmarx/ast-cli/internal/commands.test]
integration-tests
Process completed with exit code ***.
govulncheck
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>0i7y/aAAAAAD+F/Thjk5iRoZdOpe4eK+1REVOMzAxMDAwMTAxMDA5AEVkZ2U=
govulncheck
Failed to restore: Cache service responded with 400
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
unit-tests
Failed to restore: Cache service responded with 400
lint
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>02by/aAAAAAA3ZE/HWMxhR7lNgkMJJUJpUEhYMzFFREdFMDYyMQBFZGdl
lint
Failed to restore: Cache service responded with 400
lint
Failed to restore: Cache service responded with 400
integration-tests
Failed to restore: Cache service responded with 400