Aleksei Gagarin

Results 153 issues of Aleksei Gagarin

| Q | A | ------------- | --- | Bugfix? | ✔️ | Breaks BC? | ❌ | New feature? | ✔️

## What was changed - Added a new class Mutex. The Mutex class has a `lock()` method that returns a Promise. This means `yield $mutex->lock()` will wait for the lock...

Feature

Add docs “Message handler patterns” like in Python: - Add sample [like this](https://github.com/temporalio/samples-python/tree/message-passing/message_passing/safe_message_handlers) - Add documentation [like this](https://docs.temporal.io/develop/python/message-passing#message-handler-patterns) - cover `HandlerUnfinishedPolicy`

Documentation

### Is your feature request related to a problem? Please describe. Right now we declare handlers dynamically using only known names. It would be nice to have the ability to...

Feature

We need to make the SDK stop throwing `DestructMemorizedInstanceException`. I think we can remove the Workflow context and promises without throwing this exception.

enhancement

Sometimes Acceptance and Functional tests in CI end with error code -1073741819. However, the tests themselves pass completely. It is necessary to identify the source of the problem. This may...

Tests

We need to figure out why the Harness test sometimes fails in CI. This may be related to how many tests were executed before it. https://github.com/temporalio/sdk-php/blob/28538c1a346df6273e882d235e417086ed9e19c7/tests/Acceptance/Harness/Schedule/BasicTest.php#L67-L75 ![image](https://github.com/user-attachments/assets/bec2756d-2489-4930-aaed-f03410e58967)

Tests

It seems that #442 is not fully resolved. It works fine with a Untyped Workflow Stub, but not with a regular Stub. > After some recent updates PHP SDK begin...

Bug

### What are you really trying to do? Registering two Workflows with the same name on different TaskQueues. ### Describe the bug The SDK does not use TaskQueue when searching...

Bug

I think it will be useful to have an ability to create lazy objects. It might look like: 1. New methods: ```php class Injector { // ... public function makeGhost(string...

type:feature