Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jan 13, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

stephanos and others added 5 commits January 13, 2026 08:19
## What changed?
Add RateLimitedScheduler to the outbound task processor.

## Why?
Add task processing queues, except the outbound task queue uses
RateLimitedScheduler. Adding this helps to make sure that the rate limit
is applied on the caller namespace.

## How did you test it?
- [x] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
## What changed?
- There is a chance that the errors slice of a
*serviceerror.MultiOperationExecution pointer contains nil errors. Right
now, in the workerdeployment code, we were not handling that.

## Why?
- To fix things.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)

## Potential risks
- None

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Prevents nil error entries from breaking retry logic during
multi-operation updates.
> 
> - In `service/worker/workerdeployment/util.go`,
`isRetryableUpdateError` now skips `nil` items in
`errMultiOps.OperationErrors()` before checking for `ResourceExhausted`,
`ErrWorkflowClosing`, or `AbortedByServerErr` conditions
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
4f8f94f. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
## Overview

This commit implements two new granular timeout types for Nexus
operations, allowing callers to have fine-grained control over different
phases of operation execution:

- **Schedule-to-Start Timeout**: Maximum time to wait for an operation
to be started (or completed if synchronous) by the handler
- **Start-to-Close Timeout**: Maximum time to wait for an asynchronous
operation to complete after it has been started

These timeouts complement the existing **Schedule-to-Close Timeout** to
provide better control and diagnostics for Nexus operation execution.

See the corresponding API PR:
temporalio/api#695.
@pull pull bot locked and limited conversation to collaborators Jan 13, 2026
@pull pull bot added the ⤵️ pull label Jan 13, 2026
@pull pull bot merged commit 8f4d4ba into erickirt:main Jan 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants