• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

temporalio / sdk-java / #349

03 Aug 2026 05:42AM UTC coverage: 68.221% (+0.08%) from 68.143%
#349

push

github

web-flow
Add Standalone Activities to Temporal Nexus Operation Handler (#2918)

* Enable Nexus activity operations without regressing workflow updates

Compose standalone activity support with the workflow-update Nexus model already present on master. Shared token, callback, link, client, and cancellation paths retain both operation families.

Constraint: Preserve the workflow-update token and API contracts from master
Rejected: Choose one conflict side | each side would drop a supported Nexus operation family
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep activity execution at token type 2 and workflow update at token type 3
Tested: Focused temporal-sdk token, link, invoker, client, async activity, and cancellation tests
Not-tested: Full repository suite and real-server-only standalone activity cases

* Make sure we test attaching

* Make sure to handle ActivityAlreadyStartedException

* Add test with SANO

* Bump test server

7220 of 12610 branches covered (57.26%)

Branch coverage included in aggregate %.

182 of 283 new or added lines in 15 files covered. (64.31%)

13 existing lines in 3 files now uncovered.

29918 of 41828 relevant lines covered (71.53%)

0.72 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

33.33
/temporal-sdk/src/main/java/io/temporal/client/ActivityNotExistsException.java
1
package io.temporal.client;
2

3
import io.temporal.activity.ActivityInfo;
4

5
/**
6
 * Usually indicates that activity was already completed (duplicated request to complete) or timed
7
 * out or workflow execution is closed (cancelled, terminated or timed out).
8
 */
9
public final class ActivityNotExistsException extends ActivityCompletionException {
10

11
  public ActivityNotExistsException(Throwable cause) {
12
    super(cause);
×
13
  }
×
14

15
  public ActivityNotExistsException(ActivityInfo info, Throwable cause) {
16
    super(info, cause);
1✔
17
  }
1✔
18

19
  public ActivityNotExistsException(String activityId, Throwable cause) {
UNCOV
20
    super(activityId, cause);
×
UNCOV
21
  }
×
22
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc