Steven L

Results 47 issues of Steven L

Client-side counterpart to uber/cadence/issues/3987 . This essentially has to be merged and released before the server can be upgraded. In a nutshell: `go` hasn't liked `.gen` since some time in...

`RegisterActivityWithOptions` registers an inferred func name into a map containing `{inferred-name: registered-name}`, I assume to allow you to execute activities with either their registered-name or their function, for simplicity. Unfortunately...

The golang race detector is handy, but can't really be taken advantage of without parallelized tests. Most of the client lib tests are not parallelized, so race conditions that would...

https://github.com/golang/mock/blob/112dfb85f71efc679eef2a9763162fa83fbee449/gomock/call.go#L184 If someone uses Return with an interface slice, like `.Return(rets...)`, this line mutates the caller's slice. **How** it mutates it is semi-harmless, usually, but rather importantly this means tests...

type: feature request
status: backlog

The basics are covered in `common/quotas/global/doc.go` and I intend to keep updating it as more code is added. At a very high level though, this is an isolated piece of...

# What changed Cadence-server proto type X now no longer conflicts with cadence-client proto type X, because the server package name is implicitly rewritten to a different namespace. This intentionally...

Pretty minor how-to-use changes

This is to address an explosion of GetWorkflowExecutionHistory requests in one of our internal domains. "Explosion" to the tune of: normally a couple hundred per second, but during this issue...

In a nutshell: this test passes, despite the second call panicking. ```go package main import ( "testing" "time" "github.com/stretchr/testify/assert" "go.uber.org/cadence/activity" "go.uber.org/cadence/testsuite" "go.uber.org/cadence/workflow" ) func init() { workflow.Register(work) activity.Register(act) } func...

When converting to some zaptest loggers in some internal tests, I started getting occasional test panics like: ``` panic: Log in goroutine after TestName has completed: 2024-01-02T19:16:29.853Z DEBUG peer status...