Skip to content

fix panic when importing an invalid environment #767

fix panic when importing an invalid environment

fix panic when importing an invalid environment #767

Triggered via pull request February 26, 2025 22:54
Status Failure
Total duration 3m 26s
Artifacts

pr-tests.yaml

on: pull_request
Matrix: test / Test
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 1 warning
test / Test (1.21.x, true)
assignment mismatch: 3 variables but eval.LoadYAMLBytes returns 2 values
test / Test (1.21.x, true)
Process completed with exit code 2.
lint / lint
Cannot open: File exists
lint / lint
Cannot open: File exists
lint / lint
Cannot open: File exists
lint / lint
Cannot open: File exists
lint / lint
Cannot open: File exists
lint / lint
Cannot open: File exists
lint / lint
Cannot open: File exists
lint / lint
Cannot open: File exists
lint / lint
Cannot open: File exists
lint / lint
Cannot open: File exists
lint / lint: cmd/esc/cli/workspace/credentials.go#L26
could not import github.com/pulumi/pulumi/sdk/v3/go/common/workspace (-: # github.com/pulumi/pulumi/sdk/v3/go/common/workspace
lint / lint
assignment mismatch: 3 variables but eval.LoadYAMLBytes returns 2 values) (typecheck)
lint / lint: cmd/esc/cli/cli_test.go#L38
could not import github.com/pulumi/pulumi/sdk/v3/go/common/workspace (-: # github.com/pulumi/pulumi/sdk/v3/go/common/workspace
lint / lint
assignment mismatch: 3 variables but eval.LoadYAMLBytes returns 2 values) (typecheck)
lint / lint: cmd/esc/cli/env_get.go#L265
cannot infer T (value.go:52:1) (typecheck)
lint / lint: cmd/esc/cli/env_get.go#L314
cannot infer T (value.go:52:1) (typecheck)
lint / lint: cmd/esc/cli/client/client.go#L39
could not import github.com/pulumi/pulumi/sdk/v3/go/common/workspace (-: # github.com/pulumi/pulumi/sdk/v3/go/common/workspace
lint / lint
assignment mismatch: 3 variables but eval.LoadYAMLBytes returns 2 values) (typecheck)
lint / lint
Process completed with exit code 2.
lint / lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2