refactor(progress): generic progress tracking #2031
Annotations
10 errors and 1 warning
lint (1.23):
cmd/oras/internal/display/status/tty_test.go#L75
cannot use &testutils.PromptDiscarder{} (value of type *testutils.PromptDiscarder) as track.GraphTarget value in struct literal: *testutils.PromptDiscarder does not implement track.GraphTarget (missing method Report)
|
lint (1.23):
cmd/oras/internal/display/status/tty_test.go#L101
cannot use testutils.NewErrorPrompt(wantedError) (value of type *testutils.ErrorPrompt) as track.GraphTarget value in struct literal: *testutils.ErrorPrompt does not implement track.GraphTarget (missing method Report)
|
lint (1.23):
cmd/oras/internal/display/status/tty_test.go#L112
cannot use &testutils.PromptDiscarder{} (value of type *testutils.PromptDiscarder) as track.GraphTarget value in struct literal: *testutils.PromptDiscarder does not implement track.GraphTarget (missing method Report) (typecheck)
|
lint (1.23):
cmd/oras/internal/display/status/progress/manager_test.go#L44
m.Add undefined (type *manager has no field or method Add)
|
lint (1.23):
cmd/oras/internal/display/status/progress/messenger_test.go#L28
messenger.Start undefined (type *Messenger has no field or method Start, but does have method start)
|
lint (1.23):
cmd/oras/internal/display/status/progress/messenger_test.go#L43
messenger.Send undefined (type *Messenger has no field or method Send, but does have method send)
|
lint (1.23):
cmd/oras/internal/display/status/progress/messenger_test.go#L56
messenger.Send undefined (type *Messenger has no field or method Send, but does have method send)
|
lint (1.23):
cmd/oras/internal/display/status/progress/messenger_test.go#L57
messenger.Send undefined (type *Messenger has no field or method Send, but does have method send)
|
lint (1.23):
cmd/oras/internal/display/status/progress/messenger_test.go#L76
messenger.Stop undefined (type *Messenger has no field or method Stop, but does have method stop)
|
lint (1.23):
cmd/oras/internal/display/status/progress/messenger_test.go#L86
messenger.Stop undefined (type *Messenger has no field or method Stop, but does have method stop) (typecheck)
|
lint (1.23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|