From 7a62e3abbc57e5019c2ccafb7972c45d86f02bd8 Mon Sep 17 00:00:00 2001 From: PratikDhanave Date: Wed, 16 Sep 2026 13:14:05 +0530 Subject: [PATCH] Fix dangling [Reset] godoc links in workflow binding ExecutorBinding has no Reset method; reset is exposed via TryReset (backed by the ResetFunc field). Point the two doc links at [ExecutorBinding.TryReset] so they resolve. --- workflow/binding.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/binding.go b/workflow/binding.go index 3c918098..decf6279 100644 --- a/workflow/binding.go +++ b/workflow/binding.go @@ -34,7 +34,7 @@ type ExecutorBinding struct { // SharedInstance reports whether [NewExecutorFunc] returns a shared executor // instance rather than creating an independent instance for each session. - // Shared instances participate in workflow reset checks through [Reset]. Keep + // Shared instances participate in workflow reset checks through [ExecutorBinding.TryReset]. Keep // this value consistent with [NewExecutorFunc]; setting it to false for a // shared executor opts out of reset checks. SharedInstance bool @@ -84,7 +84,7 @@ func (eb ExecutorBinding) isPlaceholder() bool { // TryReset resets this binding if it wraps a shared executor instance. // Non-shared bindings are already isolated per session and therefore report -// success without invoking [ExecutorBinding.Reset]. +// success without invoking [ExecutorBinding.TryReset]. func (eb ExecutorBinding) TryReset() bool { if !eb.SharedInstance { // Non-shared instances do not need resetting