Skip to content

Commit d99cea3

Browse files
committed
move comment to where it matters
1 parent 1e570f8 commit d99cea3

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

temporal/api/enums/v1/nexus.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ enum NexusHandlerErrorRetryBehavior {
2121
}
2222

2323
// Status of a standalone Nexus operation.
24-
// The status is updated once, when the operation is originally scheduled, and again when the operation reaches a
25-
// terminal status.
2624
// (-- api-linter: core::0216::synonyms=disabled
2725
// aip.dev/not-precedent: Named consistently with WorkflowExecutionStatus. --)
2826
enum NexusOperationStatus {

temporal/api/nexus/v1/message.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ message NexusOperationCancellationInfo {
242242
string reason = 8;
243243
}
244244

245-
// Information about a standalone Nexus operation.
245+
// Full current state of a standalone Nexus operation, as of the time of the request.
246246
message NexusOperationInfo {
247247
// Unique identifier of this Nexus operation within its namespace along with run ID (below).
248248
string operation_id = 1;
@@ -334,8 +334,8 @@ message NexusOperationListInfo {
334334
google.protobuf.Timestamp schedule_time = 6;
335335
// If the operation is in a terminal status, this field represents the time the operation transitioned to that status.
336336
google.protobuf.Timestamp close_time = 7;
337-
// Only scheduled and terminal statuses appear here. More detailed information in PendingNexusOperationInfo but not
338-
// available in the list response.
337+
// Set once when the operation is scheduled and updated once when it reaches a terminal status.
338+
// Use DescribeNexusOperation for full current state.
339339
temporal.api.enums.v1.NexusOperationStatus status = 8;
340340

341341
// Search attributes from the start request.

0 commit comments

Comments
 (0)