Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
34a1350
wip
GregoryTravis Jun 18, 2026
c9114e4
Merge branch 'master' into gmt/operator-commands
GregoryTravis Jun 18, 2026
0e3094c
wip
GregoryTravis Jun 18, 2026
d5a73ee
wip
GregoryTravis Jun 24, 2026
3b4d6ce
Merge branch 'master' into gmt/operator-commands
GregoryTravis Jun 24, 2026
9d99a8e
wip
GregoryTravis Jun 24, 2026
68d48ca
wip
GregoryTravis Jun 24, 2026
8c4e9ac
Consistent test naming
GregoryTravis Jun 25, 2026
fde3769
Extra assertions
GregoryTravis Jun 25, 2026
bf9526f
Redundant test
GregoryTravis Jun 25, 2026
c80837b
Merge tag 'master' into gmt/operator-commands
GregoryTravis Jun 25, 2026
8b1fbf9
Task queue update fix
GregoryTravis Jun 26, 2026
cfb1828
Update server deps
GregoryTravis Jul 31, 2026
ba78468
Fix heartbeat tests
GregoryTravis Jul 31, 2026
6fc294d
Confirm UpdateOptions surface handles start_delay
GregoryTravis Jul 31, 2026
b7d94ec
upstream update
GregoryTravis Jul 31, 2026
a4e6483
upstream update
GregoryTravis Aug 11, 2026
57482d9
Merge branch 'main' into gmt/operator-commands
GregoryTravis Aug 13, 2026
fd866af
Use CancellationToken
GregoryTravis Aug 13, 2026
d6d6155
Merge branch 'main' into gmt/operator-commands
GregoryTravis Aug 13, 2026
c5ddde1
test: update options requires at least one option
GregoryTravis Aug 14, 2026
67677cd
test_update_options_on_paused_activity
GregoryTravis Aug 14, 2026
d2eccb2
Round out implementation of four payload details fields, default false.
GregoryTravis Aug 17, 2026
ea3efac
getInput/Result
GregoryTravis Aug 17, 2026
a5e67d7
Experimental
GregoryTravis Aug 18, 2026
cdc0587
Merge branch 'main' into gmt/operator-commands
GregoryTravis Aug 18, 2026
37d6d1a
Revert scheduleTime change
GregoryTravis Aug 18, 2026
7c690fc
DescribeActivityOptions
GregoryTravis Aug 18, 2026
8ed0212
- ActivityExecutionDescription: drop the redundant `info` field and r…
GregoryTravis Aug 19, 2026
eec348c
Fix DescribeActivityInput call site in temporal-opentracing tests
GregoryTravis Aug 20, 2026
550edb3
Add a describe paused-status test
GregoryTravis Aug 21, 2026
135c6a3
Reject an updateOptions call that sets no options
GregoryTravis Aug 21, 2026
eb3e02c
Remove reset/heartbeat tests
GregoryTravis Aug 25, 2026
972ed0f
Merge branch 'main' into gmt/operator-commands
GregoryTravis Aug 26, 2026
8f4b443
Add total_heartbeat_count and test
GregoryTravis Aug 26, 2026
b251674
Update server release version
GregoryTravis Aug 26, 2026
628b866
fix docstring
GregoryTravis Aug 26, 2026
092461c
Assert every reset flag reaches the request
GregoryTravis Aug 26, 2026
3a20112
Replace three describe tests with one describePayloads
GregoryTravis Aug 26, 2026
baef99a
Unit-test that the describe opt-ins reach the request
GregoryTravis Aug 26, 2026
743ef90
Unit-test that unrequested payloads are stripped client-side
GregoryTravis Aug 26, 2026
c69c9a4
Remove updateOptionsAcceptsASingleOption as redundant
GregoryTravis Aug 26, 2026
f24d4e6
Test that restore-original routes through the update interceptor
GregoryTravis Aug 26, 2026
c3831d0
remove non-pr files
GregoryTravis Aug 27, 2026
b499934
cleanup
GregoryTravis Aug 27, 2026
e3404b3
remove describeOptInsReachTheRequest tests
GregoryTravis Aug 27, 2026
2f29374
cleanup
GregoryTravis Aug 27, 2026
6de983c
remove test_restore_original_options_routes_through_update
GregoryTravis Aug 27, 2026
9f0b153
Test clearing an option with a zero duration
GregoryTravis Aug 27, 2026
f208804
Model update activity options on sdk precedent
GregoryTravis Aug 28, 2026
5a476ea
cleanup
GregoryTravis Aug 28, 2026
d429cef
Remove mocked id checks
GregoryTravis Sep 1, 2026
1a2ba38
Remove long start delay wait
GregoryTravis Sep 1, 2026
4007277
start delayed in restore test
GregoryTravis Sep 1, 2026
98f668f
missing files
GregoryTravis Sep 1, 2026
d864113
cleanup
GregoryTravis Sep 1, 2026
998e430
Merge branch 'main' into gmt/operator-commands
GregoryTravis Sep 1, 2026
dfaf027
Add CHANGELOG.md
GregoryTravis Sep 2, 2026
776709b
Merge branch 'main' into gmt/operator-commands
GregoryTravis Sep 2, 2026
451153e
Fix javadoc
GregoryTravis Sep 2, 2026
e13ba47
Do not remove unrequested optional describe payloads
GregoryTravis Sep 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!--
High-level release notes.
Loosely based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

When your PR includes a user-facing change, add an entry below under the
appropriate heading (create the heading if it does not yet exist). Within
each heading content can be free-form. Feel free to include examples, links
to docs, or any other relevant information.

### Added — new features
### Changed — changes in existing functionality
### Deprecated — soon-to-be-removed features
### :boom: Breaking Changes — removed or backwards-incompatible features
### Fixed — notable bug fixes
### Security — notable security fixes
-->

# Changelog

## [Unreleased]

### Added

#### Standalone Activity operator commands

- `UntypedActivityHandle` and `ActivityHandle` now support operator commands for standalone
activities: `pause()`, `unpause()`, `reset()`, `updateOptions()` and `restoreOriginalOptions()`.
`updateOptions()` takes `ActivityOptionsUpdate` values built from the keys on
`ActivityOptionsKeys`, via `ActivityOptionsKey.valueSet()` to set an option or
`ActivityOptionsKey.valueUnset()` to clear it, and returns the server's resolved
`ActivityExecutionOptions`.
- Added opt-in payload flags to `DescribeActivityOptions`: `setIncludeInput()`,
`setIncludeOutcome()`, `setIncludeHeartbeatDetails()` and `setIncludeLastFailure()`, all
defaulting to `false`.
- Added missing `ActivityExecutionDescription` fields: `getExecutionTime()`, `getStartDelay()`
and `getTotalHeartbeatCount()`.

### :boom: Breaking Changes

- `ActivityExecutionDescription` payload fields are now opt-in and must be requested via
`DescribeActivityOptions`: `getInput()`, `getResult()`, `getHeartbeatDetails()` and
`getLastFailure()`. Each has a matching `hasInput()` / `hasResult()` /
`hasHeartbeatDetails()` / `hasLastFailure()` predicate.

### Changed

### Deprecated

### Fixed

### Security
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import io.opentracing.util.ThreadLocalScopeManager;
import io.temporal.api.workflowservice.v1.CountActivityExecutionsResponse;
import io.temporal.client.ActivityExecutionCount;
import io.temporal.client.DescribeActivityOptions;
import io.temporal.client.StartActivityOptions;
import io.temporal.common.interceptors.ActivityClientCallsInterceptor;
import io.temporal.common.interceptors.ActivityClientCallsInterceptorBase;
Expand Down Expand Up @@ -108,7 +109,8 @@ public void testManagementCallsDoNotCreateSpans() throws TimeoutException {
new ActivityClientCallsInterceptor.GetActivityResultInput<>(
"act-result-async", null, String.class));
interceptor.describeActivity(
new ActivityClientCallsInterceptor.DescribeActivityInput("act-desc", null));
new ActivityClientCallsInterceptor.DescribeActivityInput(
"act-desc", null, DescribeActivityOptions.getDefaultInstance()));
interceptor.cancelActivity(
new ActivityClientCallsInterceptor.CancelActivityInput("act-cancel", null, "reason"));
interceptor.terminateActivity(
Expand Down
Loading
Loading