-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Developer Experience] Missing/invalid signal/query makes the CLI simply return context canceld #83
Comments
This should already be handled, and I haven't been able to replicate this issue, when I try: Failure: plugin protoc-gen-go_temporal: workflow "mycompany.simple.Simple.SomeWorkflow1" references undefined signal: "mycompany.simple.Simple.UndefinedSignal" Can you provide any more details about your configuration (e.g. versions of buf, protoc-gen-go, protoc-gen-go-temporal) |
Buf version: 1.48.0
buf.lock
buf.gen.yml
|
I'm wondering if you need to update your dependency versions? It's hard to say, since the test/issue-83/proto/test/issue83/issue83.proto syntax = "proto3";
package test.issue83;
import "google/protobuf/empty.proto";
import "temporal/v1/temporal.proto";
service ContextCanceldExample {
rpc DoSomething(google.protobuf.Empty) returns (google.protobuf.Empty) {
option (temporal.v1.workflow) = {
id: 'context-canceled-example',
signal: {ref: "CancelWorkflow"},
};
}
} protoc-gen-go $ protoc-gen-go --version
protoc-gen-go v1.36.0 protoc-gen-go_temporal $ protoc-gen-go_temporal --version
protoc-gen-go-temporal: 1.14.4
go: go1.21.13 $ buf generate
Failure: plugin protoc-gen-go_temporal: workflow "test.issue83.ContextCanceldExample.DoSomething" references undefined signal: "test.issue83.ContextCanceldExample.CancelWorkflow"
plugin protoc-gen-go-patch: context canceled |
Sample Proto
Current developer experience
Expected experience
The text was updated successfully, but these errors were encountered: