Skip to content

lsp/completions: Implement a minimal completions provider #1427

lsp/completions: Implement a minimal completions provider

lsp/completions: Implement a minimal completions provider #1427

Triggered via pull request May 9, 2024 17:35
Status Failure
Total duration 2m 29s
Artifacts 1

build.yaml

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

Annotations

14 errors
Matrix (ubuntu-latest, linux, true): internal/lsp/completions/providers/builtins_test.go#L17
string `file:///foo/bar/file.rego` has 9 occurrences, make it a constant (goconst)
Matrix (ubuntu-latest, linux, true): internal/lsp/completions/providers/regov1.go#L40
argOrder: "rego.v1" and lastWord arguments order looks reversed (gocritic)
Matrix (ubuntu-latest, linux, true): internal/lsp/completions/providers/regov1.go#L12
unused-receiver: method receiver 'p' is not referenced in method's body, consider removing or renaming it to match ^_ (revive)
Matrix (ubuntu-latest, linux, true): internal/lsp/completions/providers/builtins.go#L14
unnecessary leading newline (whitespace)
Matrix (ubuntu-latest, linux, true): internal/lsp/server.go#L676
ineffectual assignment to err (ineffassign)
Matrix (ubuntu-latest, linux, true): internal/lsp/server.go#L684
ineffectual assignment to err (ineffassign)
Matrix (ubuntu-latest, linux, true): internal/lsp/completions/providers/package.go#L39
return with no blank line before (nlreturn)
Matrix (ubuntu-latest, linux, true): internal/lsp/completions/providers/builtins_test.go#L125
return with no blank line before (nlreturn)
Matrix (ubuntu-latest, linux, true): internal/lsp/completions/manager_test.go#L11
Function TestManager missing the call to method parallel (paralleltest)
Matrix (ubuntu-latest, linux, true): internal/lsp/completions/providers/builtins_test.go#L84
Function TestBuiltIns_inRuleBody missing the call to method parallel (paralleltest)
Matrix (macos-14, macos-arm64, true)
The job was canceled because "ubuntu-latest_linux_true" failed.
Matrix (macos-14, macos-arm64, true)
The operation was canceled.
Matrix (macos-13, macos-intel, false)
The job was canceled because "ubuntu-latest_linux_true" failed.
Matrix (macos-13, macos-intel, false)
The operation was canceled.

Artifacts

Produced during runtime
Name Size
regal-macos-arm64
12.9 MB