Skip to content

Add ReadableStream support to k6 #3218

Add ReadableStream support to k6

Add ReadableStream support to k6 #3218

Triggered via pull request April 19, 2024 13:12
Status Failure
Total duration 3m 34s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: js/modules/k6/experimental/streams/readable_streams.go#L142
Function 'setupReadableStreamDefaultControllerFromUnderlyingSource' is too long (96 > 80) (funlen)
lint: js/modules/k6/experimental/streams/readable_streams.go#L244
Function 'setupDefaultController' is too long (88 > 80) (funlen)
lint: js/modules/k6/experimental/streams/readable_stream_reader.go#L137
commentFormatting: put a space between `//` and comment text (gocritic)
lint: js/modules/k6/experimental/streams/readable_stream_reader.go#L126
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint: js/modules/k6/experimental/streams/readable_streams.go#L548
File is not `gofumpt`-ed (gofumpt)
lint: js/modules/k6/experimental/streams/module.go#L102
line is 153 characters (lll)
lint: js/modules/k6/experimental/streams/module.go#L103
line is 135 characters (lll)
lint: js/modules/k6/experimental/streams/module.go#L174
line is 126 characters (lll)
lint: js/modules/k6/experimental/streams/module.go#L219
line is 146 characters (lll)
lint: js/modules/k6/experimental/streams/readable_stream_reader.go#L136
empty-block: this block is empty, you can remove it (revive)
lint: js/modules/k6/experimental/streams/readable_stream_default_controller.go#L405
unused-parameter: parameter 'value' seems to be unused, consider removing or renaming it as _ (revive)
lint: js/modules/k6/experimental/streams/module.go#L53
var-declaration: should drop = nil from declaration of var underlyingSource; it is the zero value (revive)