Skip to content

feat: inject topics/subscriptions in go #9107

feat: inject topics/subscriptions in go

feat: inject topics/subscriptions in go #9107

Triggered via pull request November 19, 2024 23:58
Status Failure
Total duration 14m 23s
Artifacts

ci.yml

on: pull_request
Shard Infrastructure Tests
0s
Shard Infrastructure Tests
Shard Integration Tests
8s
Shard Integration Tests
Test Go
4m 47s
Test Go
Test README
2m 23s
Test README
Test Scripts
6s
Test Scripts
SQL
1m 17s
SQL
Ensure Frozen Migrations
7s
Ensure Frozen Migrations
Lint
2m 42s
Lint
Proto Breaking Change Check
9s
Proto Breaking Change Check
Console
1m 23s
Console
VSCode Extension
53s
VSCode Extension
Intellij Plugin
3m 19s
Intellij Plugin
Rebuild All
2m 57s
Rebuild All
Build Docs
5s
Build Docs
Lint Architecture
11s
Lint Architecture
Build Controller Docker Image
4m 13s
Build Controller Docker Image
Build Provisioner Docker Image
4m 10s
Build Provisioner Docker Image
Build Runner Docker Images
4m 20s
Build Runner Docker Images
Build Box Docker Image
3m 1s
Build Box Docker Image
Console e2e
5m 27s
Console e2e
Matrix: Infrastructure Test
Matrix: Integration Test
Integration Success
0s
Integration Success
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 79 warnings
Lint: go-runtime/ftl/ftltest/fake.go#L79
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: go-runtime/ftl/ftltest/ftltest.go#L455
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: go-runtime/ftl/ftltest/pubsub.go#L72
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: go-runtime/ftl/ftltest/pubsub.go#L116
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: go-runtime/schema/subscription/analyzer.go#L55
`getSubscribingVerbName` - `pass` is unused (unparam)
Lint
Process completed with exit code 1.
Rebuild All
Process completed with exit code 1.
Integration Test (TestExternalPublishRuntimeCheck)
Process completed with exit code 1.
Integration Test (TestModuleUnitTests)
Process completed with exit code 1.
Integration Test (TestIdlePerformance)
Process completed with exit code 1.
Test Go: go-runtime/compile/stubs_test.go#L216
=== RUN TestGenerateGoStubs debug: go: found github.com/TBD54566975/ftl/go-runtime/ftl in github.com/TBD54566975/ftl v0.0.0-00010101000000-000000000000 debug: go: downloading github.com/stretchr/testify v1.9.0 debug: go: downloading github.com/bool64/dev v0.2.35 debug: go: downloading github.com/swaggest/assertjson v1.9.0 debug: go: downloading github.com/yudai/gojsondiff v1.0.0 debug: go: downloading github.com/pmezard/go-difflib v1.0.0 debug: go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 debug: go: downloading github.com/stretchr/objx v0.5.2 debug: go: downloading github.com/sergi/go-diff v1.3.1 debug: go: downloading github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 debug: go: downloading github.com/bool64/shared v0.1.5 debug: go: downloading github.com/iancoleman/orderedmap v0.3.0 debug: go: found github.com/TBD54566975/ftl/go-runtime/ftl in github.com/TBD54566975/ftl v0.0.0-00010101000000-000000000000 debug: go: found github.com/TBD54566975/ftl/go-runtime/ftl/reflection in github.com/TBD54566975/ftl v0.0.0-00010101000000-000000000000 go-runtime/compile/stubs_test.go:216: Expected values to be equal: import ( "context" + "github.com/TBD54566975/ftl/go-runtime/ftl" "github.com/TBD54566975/ftl/go-runtime/ftl/reflection" ) @@ -52,7 +53,7 @@ } //ftl:verb -type EchoClient func(context.Context, EchoRequest) (EchoResponse, error) +type EchoClient = ftl.Verb[EchoRequest, EchoResponse] type SinkReq struct { } @@ -62,16 +63,16 @@ // Here is another line for this comment! // //ftl:verb -type SinkClient func(context.Context, SinkReq) +type SinkClient = ftl.Sink[SinkReq] type SourceResp struct { } //ftl:verb -type SourceClient func(context.Context) (SourceResp, error) +type SourceClient = ftl.Source[SourceResp] //ftl:verb -type NothingClient func(context.Context) error +type NothingClient = ftl.Empty func init() { reflection.Register( --- FAIL: TestGenerateGoStubs (1.05s)
Test Go: go-runtime/compile/stubs_test.go#L287
=== RUN TestMetadataImportsExcluded debug: go: found github.com/TBD54566975/ftl/go-runtime/ftl in github.com/TBD54566975/ftl v0.0.0-00010101000000-000000000000 debug: go: found github.com/TBD54566975/ftl/go-runtime/ftl in github.com/TBD54566975/ftl v0.0.0-00010101000000-000000000000 go-runtime/compile/stubs_test.go:287: Expected values to be equal: import ( "context" + "github.com/TBD54566975/ftl/go-runtime/ftl" ) var _ = context.Background @@ -19,5 +20,5 @@ // This is a verb. // //ftl:verb -type CallClient func(context.Context, Req) (Resp, error) +type CallClient = ftl.Verb[Req, Resp] --- FAIL: TestMetadataImportsExcluded (0.43s)
Test Go
Process completed with exit code 1.
Integration Test (TestDatabase)
Process completed with exit code 1.
Integration Test (TestRetry)
Process completed with exit code 1.
Integration Test (TestPubSub)
Process completed with exit code 1.
Integration Test (TestConsumptionDelay)
Process completed with exit code 1.
Console e2e
Process completed with exit code 1.
Integration Test (TestExemplarIntegration)
Process completed with exit code 1.
Integration Test (TestNonExportedDecls)
Process completed with exit code 1.
Integration Test (TestUndefinedExportedDecls)
Process completed with exit code 1.
Integration Test (TestNonStructRequestResponse)
Process completed with exit code 1.
Integration Test (TestResetSubscription)
Process completed with exit code 1.
Integration Success
Process completed with exit code 1.
VSCode Extension
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
SQL
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Console
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestASMPagination)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestFollowerSync)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestLeaderSync)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test README
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestASMWorkflow)
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
Integration Test (TestAdminNoValidationWithNoSchema)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Rebuild All
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Build Box Docker Image
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestLeaseFailure)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Intellij Plugin
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestExtractSchema)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestBox)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestConfigCmdWithoutController)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestDiskSchemaRetrieverWithNoSchema)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestCycleDetection)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestWatchWithBuildAndUserModifyingFiles)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestHttpEncodeOmitempty)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestMigrate)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestWatchWithBuildModifyingFiles)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestInt64BuildError)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestRuntimeReflection)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestGeneratedTypeRegistry)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestDependenciesUpdate)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestExternalPublishRuntimeCheck)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestGoBuildClearsBuildDir)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestDiskSchemaRetrieverWithBuildArtefact)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestFindConfig)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestConsoleGetModules)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestLocalScaling)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestModuleUnitTests)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestConsoleStreamModules)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestEncryptionForPubSub)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestIdlePerformance)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestEncryptionForLogs)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestRealMap)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestHttpIngressWithCors)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestDefaultToRootWhenModuleDirsMissing)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestExternalType)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestWatch)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestNonFTLTypes)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestDeploymentThrougDevProvisionerCreatePostgresDB)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Build Provisioner Docker Image
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Build Controller Docker Image
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestBuildLock)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestSecretsWithoutController)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestConfigValidation)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestFTLMap)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestDeploy)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestVerbCalls)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Build Runner Docker Images
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestSecretsWithController)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestKMSEncryptorLocalstack)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestConfigsWithController)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestSecretImportExport)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestLocalSchemaDiff)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestConfigImportExport)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestConfigsWithoutController)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestLifecycleJVM)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test Go
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestJVMCoreFunctionality)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestHttpIngress)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestDatabase)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestRetry)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestGradle)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestPubSub)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestBuilds)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestConsumptionDelay)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestLease)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Console e2e
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestBuildsWhenAlreadyLocked)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestExemplarIntegration)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestNonExportedDecls)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestUndefinedExportedDecls)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestNonStructRequestResponse)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Integration Test (TestResetSubscription)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2