Skip to content

Commit 1232c18

Browse files
author
Alex Wang
committed
Merge branch 'main' into feat/plugin-operation-end-result
Resolves the OperationEndInfo conflict against the preview-marking change in #620, which replaced the record-level '@deprecated This is a preview API' javadoc with @experimental on the individual record components. The new result component now carries @experimental, matching error on the same record and executionInput/executionResult on the invocation records added in #622.
2 parents 5a1f48a + 4c290bd commit 1232c18

54 files changed

Lines changed: 433 additions & 143 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎AGENTS.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ sdk/ # Core SDK module
6767
│ ├── serde/ # JSON serialization
6868
│ ├── client/ # AWS Lambda Durable Functions client integration
6969
│ ├── logging/ # DurableLogger and logger configuration
70-
│ ├── plugin/ # Preview lifecycle plugin API
70+
│ ├── plugin/ # Lifecycle plugin API
7171
│ └── exception/ # Domain exceptions
7272
7373
sdk-testing/ # LocalDurableTestRunner, CloudDurableTestRunner, test helpers
7474
sdk-integration-tests/ # Integration tests using sdk-testing
75-
otel-plugin/ # Preview OpenTelemetry plugin implementation
75+
otel-plugin/ # OpenTelemetry plugin implementation
7676
examples/ # Customer-facing examples with local and cloud tests
7777
coverage-report/ # Aggregated JaCoCo coverage report module
7878
docs/ # User docs, design notes, ADRs, migration guide
@@ -277,7 +277,7 @@ Do NOT add conformance tests — conformance tests live in a separate repository
277277
| `MapOperation` | Applies a function across items concurrently via child contexts |
278278
| `ParallelOperation` | Runs named child-context branches concurrently |
279279
| `ConcurrencyOperation` | Shared base for map/parallel concurrency limiting and completion evaluation |
280-
| `DurableExecutionPlugin` | Preview lifecycle hook interface |
280+
| `DurableExecutionPlugin` | Lifecycle hook interface |
281281
| `InvocationOtelPlugin` | OpenTelemetry plugin implementation in `otel-plugin` |
282282

283283
### Serialization

‎conformance-tests/src/main/java/plugin/ConformanceLoggingPlugin.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
* filtered to step-type operations to match the requirement vocabulary. All lines are emitted from the real SDK plugin
1919
* hooks; nothing is hand-rolled.
2020
*/
21-
@SuppressWarnings("deprecation")
2221
public class ConformanceLoggingPlugin implements DurableExecutionPlugin {
2322

2423
private final String prefix;

‎conformance-tests/src/main/java/plugin/FaultyConformancePlugin.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
* thrown exception must be swallowed by the SDK so the execution result and history are identical to running without
1818
* the plugin. Operation- and attempt-level hooks are filtered to step-type operations.
1919
*/
20-
@SuppressWarnings("deprecation")
2120
public class FaultyConformancePlugin implements DurableExecutionPlugin {
2221

2322
private static boolean isStep(String type) {

‎conformance-tests/src/main/java/plugin/PluginAttemptHooksRetry.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
* {@code attempt-start n=<n>} / {@code attempt-end n=<n> outcome=<SUCCEEDED|FAILED>} from the user-function hooks,
1818
* which run on the same thread as the step body so their order is deterministic.
1919
*/
20-
@SuppressWarnings("deprecation")
2120
public class PluginAttemptHooksRetry extends DurableHandler<Object, String> {
2221

2322
@Override

‎conformance-tests/src/main/java/plugin/PluginErrorIsolation.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
* throws. The SDK must catch and ignore every plugin exception so the execution result and history are identical to
1414
* running without the plugin.
1515
*/
16-
@SuppressWarnings("deprecation")
1716
public class PluginErrorIsolation extends DurableHandler<String, String> {
1817

1918
@Override

‎conformance-tests/src/main/java/plugin/PluginExternalUpdateOnInvoke.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
* invocation-start hook and emits the "updated-on-invoke" record only for wait-type operations observed with
2020
* {@code isReplay() == true}; on the first invocation the wait has only started (never ends), so nothing is emitted.
2121
*/
22-
@SuppressWarnings("deprecation")
2322
public class PluginExternalUpdateOnInvoke extends DurableHandler<Object, String> {
2423

2524
@Override

‎conformance-tests/src/main/java/plugin/PluginFaultyAndHealthy.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
* plugin. Attempt boundaries are the real user-function hooks ({@code onUserFunctionStart}/{@code onUserFunctionEnd},
2525
* filtered to step attempts); the healthy attempt-end reports the SDK's real success/failure outcome.
2626
*/
27-
@SuppressWarnings("deprecation")
2827
public class PluginFaultyAndHealthy extends DurableHandler<String, String> {
2928

3029
@Override

‎conformance-tests/src/main/java/plugin/PluginFirstInvocationFlag.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* {@code first=true} (then suspends), and the replay invocation reports {@code first=false} and finalizes with
1515
* {@code status=SUCCEEDED}.
1616
*/
17-
@SuppressWarnings("deprecation")
1817
public class PluginFirstInvocationFlag extends DurableHandler<Object, String> {
1918

2019
@Override

‎conformance-tests/src/main/java/plugin/PluginInvocationLifecycle.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
* {@code first=true} before the handler runs and its invocation-end hook logs {@code status=SUCCEEDED} after the result
1414
* is finalized. The step body logs its running line via the context logger.
1515
*/
16-
@SuppressWarnings("deprecation")
1716
public class PluginInvocationLifecycle extends DurableHandler<String, String> {
1817

1918
@Override

‎conformance-tests/src/main/java/plugin/PluginMultiplePlugins.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
* logs with prefix {@code CONFPLUGIN-A}, plugin B with prefix {@code CONFPLUGIN-B}, emitting exactly the lines the
1717
* requirement documents: {@code <prefix> invocation-start} and {@code <prefix> invocation-end status=<status>}.
1818
*/
19-
@SuppressWarnings("deprecation")
2019
public class PluginMultiplePlugins extends DurableHandler<String, String> {
2120

2221
/** Minimal plugin emitting exactly the 10-5 documented invocation lines. */

0 commit comments

Comments
 (0)