Skip to content

add preflight compilation check #3251

add preflight compilation check

add preflight compilation check #3251

Triggered via pull request February 24, 2026 21:39
@amalavetamalavet
synchronize #1266
ale/compile
Status Failure
Total duration 2m 8s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 5 warnings
lint
issues found
lint: codegen/preflight/tempmod_strategy.go#L61
collectGeneratedFilesForTempModule - result 1 (error) is always nil (unparam)
lint: codegen/preflight/tempmod_strategy.go#L137
confusing-results: unnamed results of the same type may be confusing, consider using named results (revive)
lint: codegen/preflight/tempmod_strategy.go#L66
string `.go` has 3 occurrences, make it a constant (goconst)
test / integration-test
no required module provides package k8s.io/kube-openapi/pkg/validation/spec; to add it:
test / integration-test
no required module provides package k8s.io/kube-openapi/pkg/spec3; to add it:
test / integration-test
no required module provides package github.com/grafana/grafana-app-sdk/app; to add it:
test / integration-test
package codegen-tests/pkg/generated/customkind/v1_0 is not in std (/opt/hostedtoolcache/go/1.25.0/x64/src/codegen-tests/pkg/generated/customkind/v1_0)
test / integration-test
package codegen-tests/pkg/generated/customkind/v0_0 is not in std (/opt/hostedtoolcache/go/1.25.0/x64/src/codegen-tests/pkg/generated/customkind/v0_0)
test / integration-test
no required module provides package k8s.io/apimachinery/pkg/types; to add it:
test / integration-test
no required module provides package k8s.io/apimachinery/pkg/runtime/schema; to add it:
test / integration-test
no required module provides package k8s.io/apimachinery/pkg/runtime; to add it:
test / integration-test
no required module provides package k8s.io/apimachinery/pkg/apis/meta/v1; to add it:
test / integration-test
no required module provides package github.com/grafana/grafana-app-sdk/resource; to add it:
test / build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Go Workspace Check
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test / integration-test
Restore cache failed: Dependencies file is not found in /home/runner/work/grafana-app-sdk/grafana-app-sdk. Supported file pattern: go.sum
test / unit-test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2