diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 0b643ceb7..c6039e1ab 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -14545,7 +14545,7 @@ }, "resetAttempts": { "type": "boolean", - "description": "Setting this flag will also reset the number of attempts." + "description": "Deprecated. Not supported: a reset always resets the number of attempts, and\ntemporal.api.workflowservice.v1.ResetActivityRequest has no equivalent field to carry this\none, so it is ignored." }, "resetHeartbeat": { "type": "boolean", diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 2aa7c45bf..9c02a3c6d 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -10565,7 +10565,10 @@ components: type: boolean resetAttempts: type: boolean - description: Setting this flag will also reset the number of attempts. + description: |- + Deprecated. Not supported: a reset always resets the number of attempts, and + temporal.api.workflowservice.v1.ResetActivityRequest has no equivalent field to carry this + one, so it is ignored. resetHeartbeat: type: boolean description: Setting this flag will also reset the heartbeat details. diff --git a/temporal/api/batch/v1/message.proto b/temporal/api/batch/v1/message.proto index 63d3fafdb..85842fe0b 100644 --- a/temporal/api/batch/v1/message.proto +++ b/temporal/api/batch/v1/message.proto @@ -176,8 +176,10 @@ message BatchOperationResetActivities { bool match_all = 3; } - // Setting this flag will also reset the number of attempts. - bool reset_attempts = 4; + // Deprecated. Not supported: a reset always resets the number of attempts, and + // temporal.api.workflowservice.v1.ResetActivityRequest has no equivalent field to carry this + // one, so it is ignored. + bool reset_attempts = 4 [deprecated = true]; // Setting this flag will also reset the heartbeat details. bool reset_heartbeat = 5;