Skip to content

Add interceptor to aggregate CCFB reports #806

Add interceptor to aggregate CCFB reports

Add interceptor to aggregate CCFB reports #806

Triggered via pull request January 16, 2025 15:51
Status Failure
Total duration 27s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint / Go: pkg/ccfb/interceptor.go#L58
Error return value of `(*github.com/pion/interceptor/pkg/ccfb.history).add` is not checked (errcheck)
lint / Go: pkg/ccfb/interceptor.go#L103
use of `panic` forbidden by pattern `^panic$` (forbidigo)
lint / Go: pkg/ccfb/interceptor.go#L108
use of `panic` forbidden by pattern `^panic$` (forbidigo)
lint / Go: pkg/ccfb/ccfb_receiver.go#L41
commentFormatting: put a space between `//` and comment text (gocritic)
lint / Go: pkg/ccfb/interceptor.go#L83
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint / Go: pkg/ccfb/ccfb_receiver.go#L1
package-comments: should have a package comment (revive)
lint / Go: pkg/ccfb/history.go#L12
exported: exported type PacketReportList should have comment or be unexported (revive)
lint / Go: pkg/ccfb/history.go#L17
exported: exported type PacketReport should have comment or be unexported (revive)
lint / Go: pkg/ccfb/interceptor.go#L107
unused-parameter: parameter 'info' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: pkg/ccfb/interceptor.go#L14
exported: exported const CCFBAttributesKey should have comment or be unexported (revive)
lint / Metadata
Restore cache failed: Dependencies file is not found in /home/runner/work/interceptor/interceptor. Supported file pattern: go.sum
lint / Go
Restore cache failed: Dependencies file is not found in /home/runner/work/interceptor/interceptor. Supported file pattern: go.sum