Skip to content

refactor: queue pr part 1 #3606

refactor: queue pr part 1

refactor: queue pr part 1 #3606

Triggered via pull request January 5, 2025 08:07
@devhaozidevhaozi
synchronize #808
haozi/queue1
Status Failure
Total duration 6m 57s
Artifacts

test.yml

on: pull_request
Matrix: test / ubuntu
Matrix: test / windows
Fit to window
Zoom out
Zoom in

Annotations

38 errors and 1 warning
test / ubuntu (1.23): event/application_test.go#L65
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewApplication: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / ubuntu (1.23): event/task_test.go#L9
"github.com/goravel/framework/contracts/queue" imported as queuecontract and not used
test / ubuntu (1.23): event/task_test.go#L38
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / ubuntu (1.23): event/task_test.go#L55
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / ubuntu (1.23): event/task_test.go#L66
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / ubuntu (1.23): event/task_test.go#L75
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / ubuntu (1.23): mail/application.go#L73
undefined: queuecontract.Arg
test / ubuntu (1.23): queue/driver_async_test.go#L68
cannot use nil as "github.com/goravel/framework/contracts/queue".Args value in argument to s.app.Worker
test / ubuntu (1.23)
Process completed with exit code 1.
test / ubuntu (1.22)
The job was canceled because "_1_23" failed.
test / ubuntu (1.22): event/application_test.go#L65
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewApplication: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / ubuntu (1.22): event/task_test.go#L9
"github.com/goravel/framework/contracts/queue" imported as queuecontract and not used
test / ubuntu (1.22): event/task_test.go#L38
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / ubuntu (1.22): event/task_test.go#L55
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / ubuntu (1.22): event/task_test.go#L66
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / ubuntu (1.22): event/task_test.go#L75
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / ubuntu (1.22): mail/application.go#L73
undefined: queuecontract.Arg
test / ubuntu (1.22): queue/driver_async_test.go#L68
cannot use nil as "github.com/goravel/framework/contracts/queue".Args value in argument to s.app.Worker
test / ubuntu (1.22)
The operation was canceled.
test / windows (1.22): event/application_test.go#L65
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewApplication: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / windows (1.22): event/task_test.go#L9
"github.com/goravel/framework/contracts/queue" imported as queuecontract and not used
test / windows (1.22): event/task_test.go#L38
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / windows (1.22): event/task_test.go#L55
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / windows (1.22): event/task_test.go#L66
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / windows (1.22): event/task_test.go#L75
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / windows (1.22): mail/application.go#L73
undefined: queuecontract.Arg
test / windows (1.22): queue/driver_async_test.go#L68
cannot use nil as "github.com/goravel/framework/contracts/queue".Args value in argument to s.app.Worker
test / windows (1.22)
Process completed with exit code 1.
test / windows (1.23)
The job was canceled because "_1_22" failed.
test / windows (1.23): event/application_test.go#L65
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewApplication: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / windows (1.23): event/task_test.go#L9
"github.com/goravel/framework/contracts/queue" imported as queuecontract and not used
test / windows (1.23): event/task_test.go#L38
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / windows (1.23): event/task_test.go#L55
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / windows (1.23): event/task_test.go#L66
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / windows (1.23): event/task_test.go#L75
cannot use mockQueue (variable of type *"github.com/goravel/framework/mocks/queue".Queue) as "github.com/goravel/framework/contracts/queue".Queue value in argument to NewTask: *"github.com/goravel/framework/mocks/queue".Queue does not implement "github.com/goravel/framework/contracts/queue".Queue (wrong type for method Worker)
test / windows (1.23): mail/application.go#L73
undefined: queuecontract.Arg
test / windows (1.23): queue/driver_async_test.go#L68
cannot use nil as "github.com/goravel/framework/contracts/queue".Args value in argument to s.app.Worker
test / windows (1.23)
The operation was canceled.
test / ubuntu (1.23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636