Skip to content

Remove @Experimental notice from Update-with-start #2599

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.temporal.client;

import io.temporal.common.Experimental;
import io.temporal.workflow.Functions;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicBoolean;
Expand All @@ -13,7 +12,6 @@
*
* @param <R> type of the workflow result
*/
@Experimental
public final class WithStartWorkflowOperation<R> {

private final AtomicBoolean invoked = new AtomicBoolean(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,6 @@ static <R, A1, A2, A3, A4, A5, A6> WorkflowUpdateHandle<R> startUpdate(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <R> WorkflowUpdateHandle<R> startUpdateWithStart(
Proc updateMethod,
@Nonnull UpdateOptions<R> options,
Expand All @@ -866,7 +865,6 @@ static <R> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <R, A1> WorkflowUpdateHandle<R> startUpdateWithStart(
Proc1<A1> updateMethod,
A1 arg1,
Expand All @@ -887,7 +885,6 @@ static <R, A1> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <R, A1, A2> WorkflowUpdateHandle<R> startUpdateWithStart(
Proc2<A1, A2> updateMethod,
A1 arg1,
Expand All @@ -910,7 +907,6 @@ static <R, A1, A2> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <R, A1, A2, A3> WorkflowUpdateHandle<R> startUpdateWithStart(
Proc3<A1, A2, A3> updateMethod,
A1 arg1,
Expand All @@ -935,7 +931,6 @@ static <R, A1, A2, A3> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <R, A1, A2, A3, A4> WorkflowUpdateHandle<R> startUpdateWithStart(
Proc4<A1, A2, A3, A4> updateMethod,
A1 arg1,
Expand All @@ -962,7 +957,6 @@ static <R, A1, A2, A3, A4> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <R, A1, A2, A3, A4, A5> WorkflowUpdateHandle<R> startUpdateWithStart(
Proc5<A1, A2, A3, A4, A5> updateMethod,
A1 arg1,
Expand Down Expand Up @@ -991,7 +985,6 @@ static <R, A1, A2, A3, A4, A5> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <R, A1, A2, A3, A4, A5, A6> WorkflowUpdateHandle<R> startUpdateWithStart(
Proc6<A1, A2, A3, A4, A5, A6> updateMethod,
A1 arg1,
Expand All @@ -1015,7 +1008,6 @@ static <R, A1, A2, A3, A4, A5, A6> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <R> WorkflowUpdateHandle<R> startUpdateWithStart(
Func<R> updateMethod,
@Nonnull UpdateOptions<R> options,
Expand All @@ -1034,7 +1026,6 @@ static <R> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <A1, R> WorkflowUpdateHandle<R> startUpdateWithStart(
Func1<A1, R> updateMethod,
A1 arg1,
Expand All @@ -1055,7 +1046,6 @@ static <A1, R> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <A1, A2, R> WorkflowUpdateHandle<R> startUpdateWithStart(
Functions.Func2<A1, A2, R> updateMethod,
A1 arg1,
Expand All @@ -1078,7 +1068,6 @@ static <A1, A2, R> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <A1, A2, A3, R> WorkflowUpdateHandle<R> startUpdateWithStart(
Functions.Func3<A1, A2, A3, R> updateMethod,
A1 arg1,
Expand All @@ -1103,7 +1092,6 @@ static <A1, A2, A3, R> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <A1, A2, A3, A4, R> WorkflowUpdateHandle<R> startUpdateWithStart(
Functions.Func4<A1, A2, A3, A4, R> updateMethod,
A1 arg1,
Expand All @@ -1130,7 +1118,6 @@ static <A1, A2, A3, A4, R> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <A1, A2, A3, A4, A5, R> WorkflowUpdateHandle<R> startUpdateWithStart(
Functions.Func5<A1, A2, A3, A4, A5, R> updateMethod,
A1 arg1,
Expand Down Expand Up @@ -1159,7 +1146,6 @@ static <A1, A2, A3, A4, A5, R> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <A1, A2, A3, A4, A5, A6, R> WorkflowUpdateHandle<R> startUpdateWithStart(
Functions.Func6<A1, A2, A3, A4, A5, A6, R> updateMethod,
A1 arg1,
Expand All @@ -1183,7 +1169,6 @@ static <A1, A2, A3, A4, A5, A6, R> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param startOperation start workflow operation
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
static <R> R executeUpdateWithStart(
Functions.Proc updateMethod,
@Nonnull UpdateOptions<R> options,
Expand All @@ -1201,7 +1186,6 @@ static <R> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <R, A1> R executeUpdateWithStart(
Proc1<A1> updateMethod,
A1 arg1,
Expand All @@ -1222,7 +1206,6 @@ static <R, A1> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <R, A1, A2> R executeUpdateWithStart(
Proc2<A1, A2> updateMethod,
A1 arg1,
Expand All @@ -1245,7 +1228,6 @@ static <R, A1, A2> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <R, A1, A2, A3> R executeUpdateWithStart(
Proc3<A1, A2, A3> updateMethod,
A1 arg1,
Expand All @@ -1270,7 +1252,6 @@ static <R, A1, A2, A3> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <R, A1, A2, A3, A4> R executeUpdateWithStart(
Proc4<A1, A2, A3, A4> updateMethod,
A1 arg1,
Expand All @@ -1297,7 +1278,6 @@ static <R, A1, A2, A3, A4> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <R, A1, A2, A3, A4, A5> R executeUpdateWithStart(
Proc5<A1, A2, A3, A4, A5> updateMethod,
A1 arg1,
Expand Down Expand Up @@ -1326,7 +1306,6 @@ static <R, A1, A2, A3, A4, A5> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <R, A1, A2, A3, A4, A5, A6> R executeUpdateWithStart(
Proc6<A1, A2, A3, A4, A5, A6> updateMethod,
A1 arg1,
Expand All @@ -1349,7 +1328,6 @@ static <R, A1, A2, A3, A4, A5, A6> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <R> R executeUpdateWithStart(
Func<R> updateMethod,
@Nonnull UpdateOptions<R> options,
Expand All @@ -1367,7 +1345,6 @@ static <R> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <A1, R> R executeUpdateWithStart(
Func1<A1, R> updateMethod,
A1 arg1,
Expand All @@ -1387,7 +1364,6 @@ static <A1, R> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <A1, A2, R> R executeUpdateWithStart(
Functions.Func2<A1, A2, R> updateMethod,
A1 arg1,
Expand All @@ -1409,7 +1385,6 @@ static <A1, A2, R> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <A1, A2, A3, R> R executeUpdateWithStart(
Functions.Func3<A1, A2, A3, R> updateMethod,
A1 arg1,
Expand All @@ -1433,7 +1408,6 @@ static <A1, A2, A3, R> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <A1, A2, A3, A4, R> R executeUpdateWithStart(
Functions.Func4<A1, A2, A3, A4, R> updateMethod,
A1 arg1,
Expand All @@ -1459,7 +1433,6 @@ static <A1, A2, A3, A4, R> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <A1, A2, A3, A4, A5, R> R executeUpdateWithStart(
Functions.Func5<A1, A2, A3, A4, A5, R> updateMethod,
A1 arg1,
Expand Down Expand Up @@ -1487,7 +1460,6 @@ static <A1, A2, A3, A4, A5, R> R executeUpdateWithStart(
* @param startOperation start workflow operation
* @return update result
*/
@Experimental
static <A1, A2, A3, A4, A5, A6, R> R executeUpdateWithStart(
Functions.Func6<A1, A2, A3, A4, A5, A6, R> updateMethod,
A1 arg1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import io.temporal.api.common.v1.WorkflowExecution;
import io.temporal.api.enums.v1.QueryRejectCondition;
import io.temporal.api.enums.v1.WorkflowIdConflictPolicy;
import io.temporal.common.Experimental;
import io.temporal.failure.CanceledFailure;
import io.temporal.failure.TerminatedFailure;
import io.temporal.failure.TimeoutFailure;
Expand Down Expand Up @@ -144,7 +143,6 @@ <R> WorkflowUpdateHandle<R> getUpdateHandle(
* @param <R> type of the update workflow result
* @return WorkflowUpdateHandle that can be used to get the result of the update
*/
@Experimental
<R> WorkflowUpdateHandle<R> startUpdateWithStart(
UpdateOptions<R> updateOptions, Object[] updateArgs, Object[] startArgs);

Expand All @@ -159,7 +157,6 @@ <R> WorkflowUpdateHandle<R> startUpdateWithStart(
* @param <R> type of the update workflow result
* @return update result
*/
@Experimental
<R> R executeUpdateWithStart(
UpdateOptions<R> updateOptions, Object[] updateArgs, Object[] startArgs);

Expand Down
Loading