Skip to content

Commit 718a795

Browse files
Use standard DEPRECATED:
1 parent 599af4d commit 718a795

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

internal/worker.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ type (
268268
Host string
269269

270270
// Optional: See WorkerBugPorts for more details
271+
//
272+
// Deprecated: This field is deprecated and will be removed in the future.
271273
WorkerBugPorts WorkerBugPorts
272274
}
273275

@@ -279,13 +281,16 @@ type (
279281
// Bugports are always deprecated and may be removed in future versions.
280282
// Generally speaking they will *likely* remain in place for one minor version, and then they may be removed to
281283
// allow cleaning up the additional code complexity that they cause.
284+
// Deprecated: This is deprecated and will be removed in the future.
285+
//
282286
WorkerBugPorts struct {
283287
// Optional: Enable strict non-determinism checks for workflow.
284288
// There are some non-determinism cases which are missed by original implementation and a fix is on the way.
285289
// The fix will be activated by this option which basicakky accuracy of the non-determinism checks.
286290
// Exposing this as bugport for now to avoid breaking existing workflows which are actually non-deterministic but users depend on this.
287291
// Once we identify such cases and notify users, we can enable this by default.
288-
// default: false
292+
//
293+
// Deprecated: This field is deprecated and will be removed in the future.
289294
EnableStrictNonDeterminismCheck bool
290295
}
291296
)

internal/workflow.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ type (
481481
// Generally speaking they will *likely* remain in place for one minor version, and then they may be removed to
482482
// allow cleaning up the additional code complexity that they cause.
483483
//
484-
// deprecated
484+
// Deprecated: This field is deprecated and will be removed in the future.
485485
Bugports Bugports
486486
}
487487

@@ -500,7 +500,7 @@ type (
500500
// Generally speaking they will *likely* remain in place for one minor version, and then they may be removed to
501501
// allow cleaning up the additional code complexity that they cause.
502502
//
503-
// deprecated
503+
// DEPRECATED: This is deprecated and will be removed in the future.
504504
Bugports struct {
505505
// StartChildWorkflowsOnCanceledContext allows emulating older, buggy behavior that existed prior to v0.18.4.
506506
//
@@ -530,7 +530,7 @@ type (
530530
//
531531
// Added in 0.18.4, this may be removed in or after v0.19.0, so please migrate off of it ASAP.
532532
//
533-
// deprecated
533+
// Deprecated: This field is deprecated and will be removed in the future.
534534
StartChildWorkflowsOnCanceledContext bool
535535
}
536536
)

0 commit comments

Comments
 (0)