Skip to content

Fix main build

Fix main build #1314

Triggered via pull request May 20, 2026 19:25
Status Failure
Total duration 3m 18s
Artifacts 9

go-tests.yml

on: pull_request
Matrix: go-tests
Fit to window
Zoom out
Zoom in

Annotations

34 errors and 9 warnings
test (flyteidl2)
Process completed with exit code 1.
test (flytecopilot)
Process completed with exit code 1.
test (flytecopilot): flytestdlib/config/viper/viper.go#L351
cannot use c (variable of type *"github.com/mitchellh/mapstructure".DecoderConfig) as *"github.com/go-viper/mapstructure/v2".DecoderConfig value in argument to opt
test (flytecopilot): flytestdlib/config/viper/viper.go#L325
cannot use func(config *mapstructure.DecoderConfig) {…} (value of type func(config *"github.com/mitchellh/mapstructure".DecoderConfig)) as "github.com/spf13/viper".DecoderConfigOption value in array or slice literal
test (dataproxy)
Process completed with exit code 1.
test (dataproxy): flytestdlib/config/viper/viper.go#L351
cannot use c (variable of type *"github.com/mitchellh/mapstructure".DecoderConfig) as *"github.com/go-viper/mapstructure/v2".DecoderConfig value in argument to opt
test (dataproxy): flytestdlib/config/viper/viper.go#L325
cannot use func(config *mapstructure.DecoderConfig) {…} (value of type func(config *"github.com/mitchellh/mapstructure".DecoderConfig)) as "github.com/spf13/viper".DecoderConfigOption value in array or slice literal
test (actions)
Process completed with exit code 1.
test (actions): flytestdlib/config/viper/viper.go#L351
cannot use c (variable of type *"github.com/mitchellh/mapstructure".DecoderConfig) as *"github.com/go-viper/mapstructure/v2".DecoderConfig value in argument to opt
test (actions): flytestdlib/config/viper/viper.go#L325
cannot use func(config *mapstructure.DecoderConfig) {…} (value of type func(config *"github.com/mitchellh/mapstructure".DecoderConfig)) as "github.com/spf13/viper".DecoderConfigOption value in array or slice literal
test (flytestdlib)
Process completed with exit code 1.
test (flytestdlib): flytestdlib/storage/protobuf_store_test.go#L169
cannot use m (variable of type *mockProtoMessage) as "google.golang.org/protobuf/proto".Message value in argument to pbErroneousStore.ReadProtobuf: *mockProtoMessage does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
test (flytestdlib): flytestdlib/storage/protobuf_store_test.go#L162
cannot use &mockProtoMessage{…} (value of type *mockProtoMessage) as "google.golang.org/protobuf/proto".Message value in argument to pbErroneousStore.WriteProtobuf: *mockProtoMessage does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
test (flytestdlib): flytestdlib/storage/protobuf_store_test.go#L136
cannot use m (variable of type *mockBigDataProtoMessage) as "google.golang.org/protobuf/proto".Message value in argument to s.ReadProtobuf: *mockBigDataProtoMessage does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
test (flytestdlib): flytestdlib/storage/protobuf_store_test.go#L132
cannot use mockMessage (variable of type *mockBigDataProtoMessage) as "google.golang.org/protobuf/proto".Message value in argument to s.WriteProtobuf: *mockBigDataProtoMessage does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
test (flytestdlib): flytestdlib/storage/protobuf_store_test.go#L59
cannot use m (variable of type *mockProtoMessage) as "google.golang.org/protobuf/proto".Message value in argument to s.ReadProtobuf: *mockProtoMessage does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
test (flytestdlib): flytestdlib/storage/protobuf_store_test.go#L55
cannot use &mockProtoMessage{…} (value of type *mockProtoMessage) as "google.golang.org/protobuf/proto".Message value in argument to s.WriteProtobuf: *mockProtoMessage does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
test (flytestdlib): flytestdlib/config/viper/viper.go#L351
cannot use c (variable of type *"github.com/mitchellh/mapstructure".DecoderConfig) as *"github.com/go-viper/mapstructure/v2".DecoderConfig value in argument to opt
test (flytestdlib): flytestdlib/config/viper/viper.go#L325
cannot use func(config *mapstructure.DecoderConfig) {…} (value of type func(config *"github.com/mitchellh/mapstructure".DecoderConfig)) as "github.com/spf13/viper".DecoderConfigOption value in array or slice literal
test (runs)
Process completed with exit code 1.
test (runs): flytestdlib/config/viper/viper.go#L351
cannot use c (variable of type *"github.com/mitchellh/mapstructure".DecoderConfig) as *"github.com/go-viper/mapstructure/v2".DecoderConfig value in argument to opt
test (runs): flytestdlib/config/viper/viper.go#L325
cannot use func(config *mapstructure.DecoderConfig) {…} (value of type func(config *"github.com/mitchellh/mapstructure".DecoderConfig)) as "github.com/spf13/viper".DecoderConfigOption value in array or slice literal
test (manager)
Process completed with exit code 1.
test (manager): flytestdlib/config/viper/viper.go#L351
cannot use c (variable of type *"github.com/mitchellh/mapstructure".DecoderConfig) as *"github.com/go-viper/mapstructure/v2".DecoderConfig value in argument to opt
test (manager): flytestdlib/config/viper/viper.go#L325
cannot use func(config *mapstructure.DecoderConfig) {…} (value of type func(config *"github.com/mitchellh/mapstructure".DecoderConfig)) as "github.com/spf13/viper".DecoderConfigOption value in array or slice literal
test (executor)
Process completed with exit code 1.
test (executor): flytestdlib/config/viper/viper.go#L351
cannot use c (variable of type *"github.com/mitchellh/mapstructure".DecoderConfig) as *"github.com/go-viper/mapstructure/v2".DecoderConfig value in argument to opt
test (executor): flytestdlib/config/viper/viper.go#L325
cannot use func(config *mapstructure.DecoderConfig) {…} (value of type func(config *"github.com/mitchellh/mapstructure".DecoderConfig)) as "github.com/spf13/viper".DecoderConfigOption value in array or slice literal
test (flyteplugins)
Process completed with exit code 1.
test (flyteplugins): flyteplugins/go/tasks/pluginmachinery/ioutils/task_reader_test.go#L64
cannot use &failingProtoStore{} (value of type *failingProtoStore) as "github.com/flyteorg/flyte/v2/flytestdlib/storage".ProtobufStore value in argument to NewLazyUploadingTaskReader: *failingProtoStore does not implement "github.com/flyteorg/flyte/v2/flytestdlib/storage".ProtobufStore (wrong type for method WriteProtobuf)
test (flyteplugins): flyteplugins/go/tasks/pluginmachinery/ioutils/remote_file_output_reader_test.go#L92
cannot use func(ctx context.Context, ref storage.DataReference, msg protoiface.MessageV1) {…} (value of type func(ctx "context".Context, ref "github.com/flyteorg/flyte/v2/flytestdlib/storage".DataReference, msg protoiface.MessageV1)) as func(ctx "context".Context, reference "github.com/flyteorg/flyte/v2/flytestdlib/storage".DataReference, msg "google.golang.org/protobuf/proto".Message) value in argument to store.EXPECT().ReadProtobuf(mock.Anything, mock.Anything, mock.Anything).Run
test (flyteplugins): flyteplugins/go/tasks/pluginmachinery/ioutils/remote_file_output_reader_test.go#L57
cannot use func(ctx context.Context, ref storage.DataReference, msg protoiface.MessageV1) {…} (value of type func(ctx "context".Context, ref "github.com/flyteorg/flyte/v2/flytestdlib/storage".DataReference, msg protoiface.MessageV1)) as func(ctx "context".Context, reference "github.com/flyteorg/flyte/v2/flytestdlib/storage".DataReference, msg "google.golang.org/protobuf/proto".Message) value in argument to store.EXPECT().ReadProtobuf(mock.Anything, mock.Anything, mock.Anything).Run
test (flyteplugins): flytestdlib/config/viper/viper.go#L351
cannot use c (variable of type *"github.com/mitchellh/mapstructure".DecoderConfig) as *"github.com/go-viper/mapstructure/v2".DecoderConfig value in argument to opt
test (flyteplugins): flytestdlib/config/viper/viper.go#L325
cannot use func(config *mapstructure.DecoderConfig) {…} (value of type func(config *"github.com/mitchellh/mapstructure".DecoderConfig)) as "github.com/spf13/viper".DecoderConfigOption value in array or slice literal
test (flyteidl2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (flytecopilot)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (dataproxy)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (actions)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (flytestdlib)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (runs)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (manager)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (executor)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (flyteplugins)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
coverage-actions Expired
3.94 KB
sha256:76e5f2aaacee87c9a0b7a51572ae39d6438e9ff04d9973274f7f36d5092ca608
coverage-dataproxy Expired
6.18 KB
sha256:57be2eeb8e895d7e96043a231f97e0f756557898e2f426ce595b7de068d9d7e6
coverage-executor Expired
7.1 KB
sha256:f51c7fd8f9b90ee57af6cded3ab548bd0504dc81545c1f38ed557436e9e727ed
coverage-flytecopilot Expired
2.34 KB
sha256:1e49d337144fa02402739f984ca247373fb2e6e94c4a8f4523c1356b23393b22
coverage-flyteidl2 Expired
1.88 KB
sha256:d14259a73463fe4488dbb6a58a4b9b382ffff13de74ed3fb0527a8b2bdc319ce
coverage-flyteplugins Expired
48.4 KB
sha256:c6a42c4d6827ad884fdaaba50b55c6d20429a17a91d08fb3ee5577ea5e9ffa79
coverage-flytestdlib Expired
81.5 KB
sha256:dc219a35a79009b6dc4880bcba5031c002d5742ca1cccc330715f5d8fa6b1fe0
coverage-manager Expired
710 Bytes
sha256:5d60114c9149d5373f8639d29f6717de790543f37a2f2edff7a35d3fc147a549
coverage-runs Expired
23.4 KB
sha256:eb3913f0f6e8c19a73e38379d7d3127713451ffde8ee842564a2f5c3196135e1