Skip to content

feat: make eager activity reservation limit configurable - #789

Open
xepozz wants to merge 2 commits into
masterfrom
feature/eager-activity-reservation-limit
Open

feat: make eager activity reservation limit configurable#789
xepozz wants to merge 2 commits into
masterfrom
feature/eager-activity-reservation-limit

Conversation

@xepozz

@xepozz xepozz commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

What was changed

Added WorkerOptions::$maxEagerActivityReservationsPerWorkflowTask (marshalled MaxEagerActivityReservationsPerWorkflowTask), nullable → SDK default of 3.

Why?

Port of temporalio/sdk-go#2493 — the hardcoded per-workflow-task eager-activity limit of 3 is now configurable.

Checklist

  1. Relates to Make eager activity reservation limit configurable sdk-go#2493. Needs roadrunner-temporal on sdk-go >= v1.47.0 (RR 2025.1.16), else no-op.

  2. How was this tested:

WorkerOptionsTestCase — marshalling, builder, non-positive guard. Unit green.

  1. Any docs updates needed?

No.

Add WorkerOptions::$maxEagerActivityReservationsPerWorkflowTask
(marshalled as MaxEagerActivityReservationsPerWorkflowTask) exposing
sdk-go's per-workflow-task eager-activity reservation cap. Nullable:
unset marshals to null so the Go worker.Options *int stays nil and
falls back to the default of 3; the builder rejects non-positive values
(use withDisableEagerActivities() to disable).
@xepozz
xepozz requested review from a team, roxblnfk and wolfy-j as code owners August 11, 2026 09:09
@xepozz

xepozz commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator Author

Awaits a new RR release, because it requires sdk-go 1.47

@xepozz xepozz linked an issue Aug 17, 2026 that may be closed by this pull request
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.

[Feature Request] Make eager activity reservation limit configurable

1 participant