Skip to content

Add new release notes for v0.56.0 #4077

Add new release notes for v0.56.0

Add new release notes for v0.56.0 #4077

Triggered via pull request January 6, 2025 15:11
Status Failure
Total duration 43s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: js/modules/k6/browser/tests/test_browser_proxy.go#L84
Non-inherited new context, use function like `context.WithXXX` or `r.Context` instead (contextcheck)
lint: js/modules/k6/browser/tests/test_browser_proxy.go#L85
Non-inherited new context, use function like `context.WithXXX` or `r.Context` instead (contextcheck)
lint: js/modules/k6/browser/browser/browser_context_mapping.go#L149
Function `WaitForEvent->waitForEvent` should pass the context parameter (contextcheck)
lint: js/modules/k6/browser/browser/browser_context_mapping.go#L159
Function `mapPage->mapPage$1->mapPage$1$1->BringToFront` should pass the context parameter (contextcheck)
lint: js/modules/k6/browser/browser/registry.go#L250
Function `handleExitEvent->clear->Close` should pass the context parameter (contextcheck)
lint: js/modules/k6/browser/browser/registry.go#L272
Function `isBrowserIter` should pass the context parameter (contextcheck)
lint: js/modules/k6/browser/browser/registry.go#L287
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
lint: js/modules/k6/browser/browser/registry.go#L320
Function `deleteBrowser->Close` should pass the context parameter (contextcheck)
lint: js/modules/k6/browser/browser/registry.go#L312
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
lint: js/modules/k6/browser/browser/sync_browser_context_mapping.go#L73
Function `syncMapBrowserContext$3$1$1` should pass the context parameter (contextcheck)
lint: js/modules/k6/browser/log/logger.go#L15
exported: exported type Logger should have comment or be unexported (revive)
lint: js/modules/k6/browser/keyboardlayout/layout.go#L9
exported: exported type KeyInput should have comment or be unexported (revive)
lint: js/modules/k6/browser/keyboardlayout/layout.go#L11
exported: exported type KeyDefinition should have comment or be unexported (revive)
lint: js/modules/k6/browser/keyboardlayout/layout.go#L22
exported: exported type KeyboardLayout should have comment or be unexported (revive)
lint: js/modules/k6/browser/tests/tracing_test.go#L69
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint: js/modules/k6/browser/tests/tracing_test.go#L186
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint: js/modules/k6/browser/tests/tracing_test.go#L363
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
lint: js/modules/k6/browser/tests/browser_context_test.go#L797
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
lint: js/modules/k6/browser/tests/network_manager_test.go#L171
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint: js/modules/k6/browser/tests/page_test.go#L1925
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
deps
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636