Skip to content

refactor(progress): generic progress tracking #5015

refactor(progress): generic progress tracking

refactor(progress): generic progress tracking #5015

Triggered via pull request December 30, 2024 07:21
Status Success
Total duration 1m 37s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Analyze (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)
Analyze (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)
Analyze (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)
Analyze (1.23): cmd/oras/internal/display/status/progress/manager_test.go#L44
m.Add undefined (type *manager has no field or method Add)
Analyze (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)
Analyze (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)
Analyze (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)
Analyze (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)
Analyze (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)
Analyze (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)
Analyze (1.23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636