Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attempt at using temporalserver #2905

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

attempt at using temporalserver #2905

wants to merge 1 commit into from

Conversation

nickzelei
Copy link
Member

@nickzelei nickzelei commented Nov 4, 2024

Getting this error though

# go.temporal.io/server/client/frontend
/Users/nick/go/pkg/mod/go.temporal.io/[email protected]/client/frontend/client.go:46:47: cannot use (*clientImpl)(nil) (value of type *clientImpl) as workflowservice.WorkflowServiceClient value in variable declaration: *clientImpl does not implement workflowservice.WorkflowServiceClient (missing method PauseActivityById)
/Users/nick/go/pkg/mod/go.temporal.io/[email protected]/client/frontend/client.go:60:9: cannot use &clientImpl{…} (value of type *clientImpl) as workflowservice.WorkflowServiceClient value in return statement: *clientImpl does not implement workflowservice.WorkflowServiceClient (missing method PauseActivityById)
/Users/nick/go/pkg/mod/go.temporal.io/[email protected]/client/frontend/metric_client.go:40:47: cannot use (*metricClient)(nil) (value of type *metricClient) as workflowservice.WorkflowServiceClient value in variable declaration: *metricClient does not implement workflowservice.WorkflowServiceClient (missing method PauseActivityById)
/Users/nick/go/pkg/mod/go.temporal.io/[email protected]/client/frontend/metric_client.go:54:9: cannot use &metricClient{…} (value of type *metricClient) as workflowservice.WorkflowServiceClient value in return statement: *metricClient does not implement workflowservice.WorkflowServiceClient (missing method PauseActivityById)
/Users/nick/go/pkg/mod/go.temporal.io/[email protected]/client/frontend/retryable_client.go:33:47: cannot use (*retryableClient)(nil) (value of type *retryableClient) as workflowservice.WorkflowServiceClient value in variable declaration: *retryableClient does not implement workflowservice.WorkflowServiceClient (missing method PauseActivityById)
/Users/nick/go/pkg/mod/go.temporal.io/[email protected]/client/frontend/retryable_client.go:43:9: cannot use &retryableClient{…} (value of type *retryableClient) as workflowservice.WorkflowServiceClient value in return statement: *retryableClient does not implement workflowservice.WorkflowServiceClient (missing method PauseActivityById)
# go.temporal.io/server/common/nexus
/Users/nick/go/pkg/mod/go.temporal.io/[email protected]/common/nexus/failure.go:177:36: undefined: nexus.HandlerErrorTypeDownstreamTimeout
/Users/nick/go/pkg/mod/go.temporal.io/[email protected]/common/nexus/failure.go:215:13: undefined: nexus.StatusDownstreamTimeout
/Users/nick/go/pkg/mod/go.temporal.io/[email protected]/common/nexus/failure.go:216:16: undefined: nexus.HandlerErrorTypeDownstreamTimeout
FAIL	github.com/nucleuscloud/neosync/backend/services/mgmt/v1alpha1/integration_tests [build failed]

I tried using different versions of the server but it still resulted in another error of some other missing rpc method.

NOTE

When coming back to this, check out the existing devserver available in the SDK. This could work for us and won't require adding the temporal server as a dependency.
temporalio/temporal#6781

Copy link

vercel bot commented Nov 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
neosync-docs ⬜️ Ignored (Inspect) Nov 4, 2024 11:21pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant