From 15303d5f24f0375039bfb7ee78248c5bad8472cd Mon Sep 17 00:00:00 2001 From: Spencer Judge Date: Fri, 10 Oct 2025 11:24:31 -0700 Subject: [PATCH 1/2] Remove experimental notices from worker tuners --- src/Temporalio/Worker/TemporalWorkerOptions.cs | 3 --- src/Temporalio/Worker/Tuning/ResourceBasedSlotSupplier.cs | 3 --- .../Worker/Tuning/ResourceBasedSlotSupplierOptions.cs | 3 --- src/Temporalio/Worker/Tuning/ResourceBasedTunerOptions.cs | 3 --- src/Temporalio/Worker/Tuning/WorkerTuner.cs | 3 --- 5 files changed, 15 deletions(-) diff --git a/src/Temporalio/Worker/TemporalWorkerOptions.cs b/src/Temporalio/Worker/TemporalWorkerOptions.cs index 67821629..8c802720 100644 --- a/src/Temporalio/Worker/TemporalWorkerOptions.cs +++ b/src/Temporalio/Worker/TemporalWorkerOptions.cs @@ -342,9 +342,6 @@ public TemporalWorkerOptions() /// cref="MaxConcurrentActivities"/>, and . /// - /// - /// WARNING: WorkerTuners are experimental. - /// public WorkerTuner? Tuner { get; set; } /// diff --git a/src/Temporalio/Worker/Tuning/ResourceBasedSlotSupplier.cs b/src/Temporalio/Worker/Tuning/ResourceBasedSlotSupplier.cs index 9cb71a15..79da49b6 100644 --- a/src/Temporalio/Worker/Tuning/ResourceBasedSlotSupplier.cs +++ b/src/Temporalio/Worker/Tuning/ResourceBasedSlotSupplier.cs @@ -3,9 +3,6 @@ namespace Temporalio.Worker.Tuning /// /// A slot supplier that will dynamically adjust the number of slots based on resource usage. /// - /// - /// WARNING: Resource based tuning is currently experimental. - /// public sealed class ResourceBasedSlotSupplier : SlotSupplier { /// diff --git a/src/Temporalio/Worker/Tuning/ResourceBasedSlotSupplierOptions.cs b/src/Temporalio/Worker/Tuning/ResourceBasedSlotSupplierOptions.cs index 61e67e36..353d402d 100644 --- a/src/Temporalio/Worker/Tuning/ResourceBasedSlotSupplierOptions.cs +++ b/src/Temporalio/Worker/Tuning/ResourceBasedSlotSupplierOptions.cs @@ -16,9 +16,6 @@ namespace Temporalio.Worker.Tuning /// time, and thus the system should wait to see how much resources are used before issuing more /// slots. /// - /// - /// WARNING: Resource based tuning is currently experimental. - /// public sealed record ResourceBasedSlotSupplierOptions( int? MinimumSlots = null, int? MaximumSlots = null, diff --git a/src/Temporalio/Worker/Tuning/ResourceBasedTunerOptions.cs b/src/Temporalio/Worker/Tuning/ResourceBasedTunerOptions.cs index e56b5df1..fc306f60 100644 --- a/src/Temporalio/Worker/Tuning/ResourceBasedTunerOptions.cs +++ b/src/Temporalio/Worker/Tuning/ResourceBasedTunerOptions.cs @@ -10,9 +10,6 @@ namespace Temporalio.Worker.Tuning /// A value between 0 and 1 that represents the target (system) /// CPU usage. This can be set to 1.0 if desired, but it's recommended to leave some /// headroom for other processes. - /// - /// WARNING: Resource based tuning is currently experimental. - /// public sealed record ResourceBasedTunerOptions( double TargetMemoryUsage, double TargetCpuUsage); diff --git a/src/Temporalio/Worker/Tuning/WorkerTuner.cs b/src/Temporalio/Worker/Tuning/WorkerTuner.cs index 3dc715d3..fb0339fa 100644 --- a/src/Temporalio/Worker/Tuning/WorkerTuner.cs +++ b/src/Temporalio/Worker/Tuning/WorkerTuner.cs @@ -66,9 +66,6 @@ public WorkerTuner( /// Options for the local activity slot supplier. /// Options for the Nexus operation slot supplier. /// The tuner. - /// - /// WARNING: Resource based tuning is currently experimental. - /// /// WARNING: Nexus support is experimental. public static WorkerTuner CreateResourceBased( double targetMemoryUsage, From f007458d5fb49e634d3f6463e525c9577337e3ba Mon Sep 17 00:00:00 2001 From: Spencer Judge Date: Mon, 13 Oct 2025 09:02:08 -0700 Subject: [PATCH 2/2] Remove from custom slot suppliers too --- src/Temporalio/Worker/Tuning/CustomSlotSupplier.cs | 3 --- src/Temporalio/Worker/Tuning/SlotInfo.cs | 3 --- src/Temporalio/Worker/Tuning/SlotMarkUsedContext.cs | 3 --- src/Temporalio/Worker/Tuning/SlotPermit.cs | 3 --- src/Temporalio/Worker/Tuning/SlotReleaseContext.cs | 3 --- src/Temporalio/Worker/Tuning/SlotReserveContext.cs | 3 --- 6 files changed, 18 deletions(-) diff --git a/src/Temporalio/Worker/Tuning/CustomSlotSupplier.cs b/src/Temporalio/Worker/Tuning/CustomSlotSupplier.cs index 8ff8cf48..dbe43277 100644 --- a/src/Temporalio/Worker/Tuning/CustomSlotSupplier.cs +++ b/src/Temporalio/Worker/Tuning/CustomSlotSupplier.cs @@ -7,9 +7,6 @@ namespace Temporalio.Worker.Tuning /// /// This class can be implemented to provide custom slot supplier behavior. /// - /// - /// WARNING: Custom slot suppliers are currently experimental. - /// public abstract class CustomSlotSupplier : SlotSupplier { /// diff --git a/src/Temporalio/Worker/Tuning/SlotInfo.cs b/src/Temporalio/Worker/Tuning/SlotInfo.cs index 7a0848b5..3f5d4c7d 100644 --- a/src/Temporalio/Worker/Tuning/SlotInfo.cs +++ b/src/Temporalio/Worker/Tuning/SlotInfo.cs @@ -3,9 +3,6 @@ namespace Temporalio.Worker.Tuning /// /// Info about a task slot usage. /// - /// - /// WARNING: Custom slot suppliers are currently experimental. - /// public record SlotInfo { private SlotInfo() diff --git a/src/Temporalio/Worker/Tuning/SlotMarkUsedContext.cs b/src/Temporalio/Worker/Tuning/SlotMarkUsedContext.cs index 59f134fc..7042a86f 100644 --- a/src/Temporalio/Worker/Tuning/SlotMarkUsedContext.cs +++ b/src/Temporalio/Worker/Tuning/SlotMarkUsedContext.cs @@ -6,9 +6,6 @@ namespace Temporalio.Worker.Tuning /// Info about the task that will be using the slot. /// The permit that was issued when the slot was reserved. /// - /// WARNING: Custom slot suppliers are currently experimental. - /// - /// /// WARNING: This constructor may have required properties added. Do not rely on the exact /// constructor, only use "with" clauses. /// diff --git a/src/Temporalio/Worker/Tuning/SlotPermit.cs b/src/Temporalio/Worker/Tuning/SlotPermit.cs index 28462f4a..96cd40a1 100644 --- a/src/Temporalio/Worker/Tuning/SlotPermit.cs +++ b/src/Temporalio/Worker/Tuning/SlotPermit.cs @@ -4,9 +4,6 @@ namespace Temporalio.Worker.Tuning /// A permit to use a slot for a workflow/activity/local activity task. This class can be /// extended if desired. /// - /// - /// WARNING: Custom slot suppliers are currently experimental. - /// public class SlotPermit { /// diff --git a/src/Temporalio/Worker/Tuning/SlotReleaseContext.cs b/src/Temporalio/Worker/Tuning/SlotReleaseContext.cs index 029f1b31..931e4fac 100644 --- a/src/Temporalio/Worker/Tuning/SlotReleaseContext.cs +++ b/src/Temporalio/Worker/Tuning/SlotReleaseContext.cs @@ -6,9 +6,6 @@ namespace Temporalio.Worker.Tuning /// Info about the task that will be using the slot. May be null if the slot was never used. /// The permit that was issued when the slot was reserved. /// - /// WARNING: Custom slot suppliers are currently experimental. - /// - /// /// WARNING: This constructor may have required properties added. Do not rely on the exact /// constructor, only use "with" clauses. /// diff --git a/src/Temporalio/Worker/Tuning/SlotReserveContext.cs b/src/Temporalio/Worker/Tuning/SlotReserveContext.cs index f476e76c..a1d7e484 100644 --- a/src/Temporalio/Worker/Tuning/SlotReserveContext.cs +++ b/src/Temporalio/Worker/Tuning/SlotReserveContext.cs @@ -9,9 +9,6 @@ namespace Temporalio.Worker.Tuning /// The build id of the worker that is requesting the reservation. /// True iff this is a reservation for a sticky poll for a workflow task. /// - /// WARNING: Custom slot suppliers are currently experimental. - /// - /// /// WARNING: This constructor may have required properties added. Do not rely on the exact /// constructor, only use "with" clauses. ///